Manuscript Offprint

arXiv:2610.34365

SEEK: Skill Extraction with Evolving Knowledge against Frontier Science Agents

Cheng Gui, Xiang Zheng, Xingjun Ma, Kaidi Xu, Cong Wang, Weiying Ma

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Cheng Gui

City University of Hong Kong

Hong Kong

Hong Kong Institute of AI for Science

Hong Kong

Kaidi Xu

City University of Hong Kong

Hong Kong

Hong Kong Institute of AI for Science

Hong Kong

Xiang Zheng ∗^{*}

xzheng235@cityu.edu.hk

City University of Hong Kong

Hong Kong

Hong Kong Institute of AI for Science

Hong Kong

Cong Wang ∗^{*}

cong.wang@cityu.edu.hk

City University of Hong Kong

Hong Kong

Xingjun Ma

Fudan University

China

Weiying Ma

City University of Hong Kong

Hong Kong

Hong Kong Institute of AI for Science

Hong Kong

Abstract

Science agents increasingly package domain expertise as reusable skills that plan analyses, select tools, and execute workflows. This modularity creates a confidentiality risk: the interactions that deliver a skill's capability can also reveal the skill itself. We build an extensible benchmark of 40 protected skills across eight open- and closed-source science-agent platforms, comparing direct, fixed-strategy, and bandit-guided iterative probing under reference-based and reference-free evaluation. Leakage is pervasive: all eight platforms (100%) leak at least one protected skill, and four reach 100% attack success under a single direct request. To stress-test platforms that resist simple probing, we propose SEEK (Skill Extraction with Evolving Knowledge), a black-box, self-evolving red-teaming agent that consolidates response-derived evidence in persistent memory and evolves reusable attack skills, using only user-visible responses. On 12 skills from SpatialAgent and Biomni, SEEK achieves 100% attack success while reducing the mean first-success round by 31.8% and 38.2% relative to bandit-guided probing. Against a confidentiality policy that blocks all three benchmark protocols, SEEK still extracts one of six protected skills. These findings show that current science agents do not reliably protect their skills and that defenses must be evaluated against adaptive, multi-turn attackers.

1 Introduction

LLM-driven agents are being increasingly used in many fields, from engineering to scientific inquiry. The performance of agents on specialized tasks is determined not only by their base language model, but also by their architectural design and domain knowledge [3, 8, 16]. Users' and agent developers' domain expertise and research methodologies are encoded as reusable skills to allow rapid augmentation of agent capabilities for new tasks [5]. However, this modularity also creates confidentiality threats: unintentional exposure of these skill sets through user-facing interactions could simultaneously reveal important proprietary information. This risk surfaced during routine use of a science agent: a request to reproduce its results unexpectedly led it to disclose three executable files and 2,768 characters of internal instructions. This observation raises a question: Can a carefully crafted agent protect the valuable knowledge assets from being extracted through user-visible interactions?

Prior research on leakage of agents’ internal knowledge assets has largely focused on system prompts. These studies show that hidden system instructions can be extracted through user interfaces with optimized queries and adaptive, multi-turn interactions [7, 15, 21]. Related work has extended the range of extraction targets to private knowledge bases in retrieval-augmented generation systems and historical interaction records saved in agent memory, revealing leakage risks when systems leverage internal information to complete tasks [14, 18]. Recent black-box skill stealing works further extend the extraction targets to the modular skills. This work evaluates attacks and defenses on publicly sourced skills installed in general-purpose agent frameworks, showing that skill content can be extracted through user interaction [17]. Other works infer skill instructions or reconstruct task-solving capabilities from observable execution trajectories, demonstrating that procedural knowledge encoded in skills may be recovered from the induced behaviors [6, 12]. We concentrate on the following question. Consider a deployed agent system that relies on its own private skills to offer specialized capabilities. Can its protections prevent the extraction of those skills? To answer this question, native skills and confidentiality mechanisms of the systems need to be assessed, to determine if this attack surface is sufficiently protected.

∗^{*}Corresponding authors.

Relevance Statement. This work addresses a critical security challenge in the emerging agentic Web: protecting private skills and procedural knowledge as specialized expertise becomes accessible through cloud-based assistants, domain-specific SaaS applications, and interactive research platforms. Natural-language interaction enables flexible access to these capabilities while exposing an attack surface for probing and extracting the knowledge that implements them. Our SEEK framework combines evidence accumulation across interactions with attack-skill evolution to strengthen adaptive assessment of knowledge-asset leakage across heterogeneous platforms. By characterizing the security boundary between capability access and knowledge disclosure in Web-delivered agent services, our work provides cross-platform assessment and adaptive testing methods that support trustworthy capability delivery and knowledge-asset protection across the Web ecosystem.

Our key observation is that private-skill confidentiality is about whether an agent can use its internal knowledge to provide a service while preventing users from recovering that knowledge from interaction. Even if the skill files are not accessible, the agent may reveal the steps of execution, rules for utilization of tools, and domain-specific constraints. We study this question on science agents, whose providers offer curated research expertise as paid services and therefore have strong incentives to protect it, and introduce a cross-platform evaluation framework that focuses on existing capabilities and confidentiality mechanisms. The key technical challenges are the heterogeneity of platforms and the limited access to closed-source systems. Platforms differ in their interaction interfaces, skill organization and defenses. Closed-source platforms usually do not provide their implementations and skill texts. We use platform adapters to normalize the user-level interactions and the attack budgets, and select evaluation procedures based on reference-text availability. These systems can thus be evaluated under a common threat model.

It also requires attacks that can exploit interaction feedback for a thorough evaluation of confidentiality mechanisms. A failed query, or repeated denials, does not prove that further probing will not reveal more information. Partial disclosures may help an attacker refine subsequent queries and recover protected content incrementally. To tackle this challenge, we propose SEEK (Skill Extraction with Evolving Knowledge), which integrates evolving probing strategies with knowledge accumulation on the target. SEEK incorporates clues from responses into long-term memory and converts reusable interaction patterns into attack skills for future retrieval, composition, and improvement. It lets the attacker adapt its probing while keeping accumulated evidence. This design offers an adaptive testing method for defense research.

We construct a working prototype of the evaluation framework and SEEK, and evaluate 40 protected skills on eight science-agent platforms, including open-source systems and closed-source services. Our benchmark shows that leakage is pervasive: all eight platforms (100%) leak at least one protected skill, four reach 100% attack success under a single direct request, and seven of the eight reach at least 83.3% under iterative probing. In experiments on SpatialAgent and Biomni, SEEK reaches the success threshold under the respective evaluation criteria on all twelve target skills. It reduces the mean first-success round by 31.8% and 38.2% against Bandit-Guided Iterative Probing (BGIP) respectively. In a controlled defense experiment on OpenScience, SEEK can extract one of six protected skills when a confidentiality policy prevents successful extraction under all three benchmark attack protocols.

Our contributions are:

• An extensible evaluation framework for agent skill confidentiality. We bring private instruction assets into cross-platform security evaluation through a shared threat model, integrating three types of attack protocols. A benchmark of 40 skills across eight science-agent platforms shows that all eight expose at least one protected skill through ordinary user access.

• Adaptive extraction through persistent knowledge evolution. We introduce SEEK, which couples evidence consolidation with attack-skill generation to update both the attacker's understanding of the target and its probing procedures. SEEK achieves 100% extraction success across 12 target skills on SpatialAgent and Biomni, reducing the mean first-success round by up to 38.2% relative to BGIP.

• Controlled defense evaluation. Our controlled study shows that a policy preventing successful extraction under all three benchmark protocols can still admit skill extraction by SEEK, motivating defenses and evaluations that account for knowledge accumulated across interactions.

References (12)