SigLeak can infer proprietary Agent skills from execution trajectories, improving the success rate by an average of 6.88 percentage pointsAgent Skills Matter: Inferring Proprietary Skills from Execution Trajectories
The authors propose the SigLeak framework for black-box agents, inferring proprietary skills solely through paired benign query trajectory comparison, improving the success rate by an average of 6.88 percentage points across all scenarios.
Black-box threat model. The attacker knows only public task descriptions and has no access to skill files or internal state; by sending benign task queries to a target agent equipped with proprietary skills and observing execution trajectories, the attacker infers its procedural skills.
- Service providers deploy high-value agent skills on private backends, but the execution trajectories exposed for human oversight constitute a behavioral side channel, facing the risk of proprietary procedural knowledge being reverse-engineered.
- Constructs a two-stage black-box inference framework, SigLeak, in which a generator constructs high-decision-density benign probes and a synthesizer compares paired trajectories with skills enabled versus disabled to extract signatures and iteratively reconstruct.
- Across 5 scenarios and 6 agent configurations, skills reconstructed by SigLeak improve success rate by an average of 6.88 percentage points over the no-skill baseline and outperform the baseline on fine-grained semantic matching metrics.
- Inference uses fixed prompt templates and a fixed probe budget; in the main experiment, refinement is truncated to 2 rounds based on ablations; experiments were conducted in a local controlled environment, and dynamic adaptive strategies were not tested in commercial deployment settings.
- Evaluated models
- GPT-5.4-miniGPT-5.5GLM-5.2MiniMax-M3
- Benchmarks
- SpreadsheetBenchOfficeQASealQALiveMathematicianBenchALFWorld
- Metrics
- SRCoarse SkillSimFine SkillSim F1Fine SkillSim RecallFine SkillSim Precision
The researchers propose SigLeak, a framework that infers the content of proprietary Agent skills from execution trajectories using only public task descriptions and black-box interaction, and formalize this threat as Skill Leakage. The method proceeds in two stages: first, a diagnostic task constructor generates diverse and decision-dense probes; then, paired trajectories of the same probe with the target skill enabled versus disabled are compared to extract reproducible skill signatures and iteratively refine the reconstruction result, without requiring reference answers or trajectory-level correctness labels throughout. Across five scenarios, three model families, and three Agent frameworks, SigLeak achieved the best or tied-best downstream success rate in almost all settings, averaging 6.88 percentage points higher than the skill-disabled baseline, and also achieved the highest fine-grained SkillSim F1 and recall. Under the SkillGuard5 prompt defense, the prompt-stealing baseline BBS had zero fine-grained recall and F1, while SigLeak could still recover target skill content. The authors note that hiding skill files does not hide their behavioral impact, and defenses against behavioral inference need to be designed without sacrificing execution visibility.
Why it was selectedThe paper formalizes the risk of proprietary agent skills being reverse-engineered from behavioral trajectories and provides a reproducible black-box inference pipeline with cross-model evaluation results.
Paper analysis
What problem does this paper attempt to solve?
Investigates how proprietary skills of black-box agents leak through behavioral side channels via execution trajectories elicited by benign queries, and proposes a non-invasive inference framework.
This paper attempts to address the problem of behavioral side-channel leakage of proprietary skill content in black-box deployed agents through execution trajectories.
- Background and significance: Agent skills encapsulate domain knowledge, tool usage norms, and reusable workflows as lightweight modules, enabling skill marketplaces and agent-as-a-service (AaaS) models; service providers often keep high-value skills on private backends to protect commercial interests.
- Exposure through execution visibility: Because agent interfaces typically show users tool calls and execution progress to support human oversight and intervention, backend hiding does not eliminate the skill's influence on behavior, forming a behavioral side channel.
- Limitations of existing extraction and construction methods: Prompt-stealing attacks rely on explicit extraction instructions and are easily blocked by defenses; traditional skill generation and evolution methods depend on high-quality demonstrations or explicit success/failure supervision labels.
- Core observation and inference approach: Skills leave recurring behavioral cues in trajectories (skill signatures); the authors propose a proprietary skill leakage inference framework, SigLeak, that infers hidden skills using only benign task queries.
- Threat model:
- Attack goal: infer the procedural content of proprietary skills carried by a victim agent and construct a functionally approximate skill.
- Attacker knowledge: black-box access to the target agent, knowing only public task descriptions, with no access to skill files, internal state, reference answers, or trajectory correctness labels.
- Attacker capability: can only submit benign task queries that do not express intent to obtain skills, and observe user-visible execution trajectories.
- Victim system: a tool-augmented large language model agent running on a private backend equipped with proprietary skills.
What related research exists?
Reviews research on agent skill construction, trajectory-feedback-based skill evolution, and instruction and trajectory leakage, and clarifies the difference from the black-box benign inference in this paper.
- Construction and management of agent skills:
- Anthropic (2025) and Xu and Yan (2026) formalize skills as lightweight components encapsulating workflows and tool specifications; Anthropic (2026), Ma et al. (2026), and Wang et al. (2026b) study agent-oriented skill creation and synthesis methods.
- Liang et al. (2026) and Shen et al. (2026) collect skills at scale from code repositories and documentation; Li et al. (2026a) and Zhou et al. (2026c) build multi-task skill evaluation benchmarks.
- Skill evolution based on execution feedback:
- Trace2Skill by Ni et al. (2026) and Yu et al. (2026) analyze execution trajectories to distill new skills or edit existing ones.
- SkillOpt by Yang et al. (2026a) and Zhang et al. (2026) use task execution feedback from deployment to continuously optimize editable skill text in the text space.
- Wang et al. (2026c) and Xia et al. (2026) combine reinforcement learning for self-evolution of agent skills.
- Instruction and trajectory leakage security:
- Zhang et al. (2024) and Hui et al. (2024) study extraction of system prompts from large models; Wang et al. (2025) analyzes privacy leakage in agent memory.
- Wang et al. (2026d) propose the black-box skill stealing attack BBS, which directly solicits proprietary skill content through adversarial extraction prompts; the authors note that this method relies on explicit stealing intent and is easily defended by protective rules.
- RedAct by Xu et al. (2026) studies offline procedural skill extraction from publicly released successful trajectory corpora by the defender; the authors note that this method only handles pre-collected artifacts rather than interactive black-box inference.
- Baseline methods and benchmark selection:
- Baselines compared in experiments include Direct Generation (generating a skill in a single pass from the task description alone), Naive Trace Summarization (uncontrolled summarization from one-way skill-enabled trajectories), and the adversarial prompt-extraction baseline BBS (with the SkillGuard5 defense).
- Evaluation is conducted on five benchmarks: SpreadsheetBench, OfficeQA, SealQA, LiveMathematicianBench, and ALFWorld.
The authors state that SigLeak is the first framework to achieve active skill leakage inference under black-box interaction without reference answers or correctness labels, using benign diagnostic probing and controlled trajectory comparison.
- Construction and management of agent skills:
How does the paper address this problem?
Proposes the SigLeak framework, which generates high-decision-density probes through a two-stage workflow and compares paired trajectory differences to extract signatures for iteratively reconstructing proprietary skills.
Through a two-stage workflow, benign diagnostic probes are generated, and paired execution trajectories under skill-enabled versus skill-disabled conditions are compared to extract signatures, iteratively reconstructing the proprietary skill SigLeak.
Problem Formalization and Core Concepts
- Inference target: Formalized as ŝ = 𝒢(d; 𝒜s∗), meaning the inference method reconstructs the procedural content of a proprietary skill by interacting with a black-box agent based on a public task description.
- Skill signature: Defined as recurring behavioral patterns induced by the skill in execution trajectories, including observable differences in requirement understanding, resource checking, tool selection, error recovery, and output construction.
- Paired execution protocol: The test prompt is kept fixed; one group serves as the skill-enabled condition, and the other is prefixed with an explicit non-invocation instruction as a control, thereby filtering out task-inherent behaviors unrelated to the skill and base-model biases.
Diagnostic Task Generator
- Dual design criteria: Follows the principles of task diversity and decision density; the former varies input formats, constraints, and output contracts to prevent overfitting, while the latter focuses on scenarios containing multi-step key decision points.
- Stage one broad exploration: Constructs 6 complementary diagnostic probes based solely on the task description, covering reasoning, tool selection, intermediate verification, error recovery, output formatting, and complex boundary operations.
- Stage two difference-guided refinement: Probe generation is formalized as Q(r) = Generate(C(r); Π), adding 3 probes targeting insufficiently explored behaviors based on the task description, the current skill, summaries of previous probes, and unresolved disagreements.
Skill Synthesizer
- Control trajectory comparison: Maps paired trajectories into differences, dividing observable steps into shared behaviors, skill-specific reusable behaviors, incidental behaviors, and unobservable behaviors, and extracts candidate signatures.
- Skill initialization and update: The first round aggregates recurring rules across tasks to generate an initial skill; subsequent rounds perform conservative updates, adding missing rules, refining underspecified instructions, correcting contradictory content, and retaining non-conflicting rules.
- Termination criterion: Iteration terminates when newly extracted signatures no longer trigger skill rule updates, or when the probe budget is exhausted, and the final reconstructed skill is output.
Key Parameters and Implementation Details
- Model configuration: Both the generator and the skill synthesizer use the DeepSeek-V4-Flash model.
- Rounds and budget: Stage one generates 6 probes; stage two generates 3 probes per round, with at most 2 rounds in the main experiment (12 paired probes in total).
- Prompt templates: Appendix B reports the detailed design of prompts for probe generation, trajectory comparison, skill initialization, skill refinement, and skill-disabled control prompts.
What experiments did the paper conduct?
Evaluated across 5 scenarios, 3 model families, and 3 frameworks, SigLeak improves success rate by an average of 6.88 percentage points and maintains a lead in fine-grained semantic matching.
Experimental Setup
- Tested models and agent frameworks: Tested models include GPT-5.4-mini, GPT-5.5, GLM-5.2, MiniMax-M3; agent frameworks include Codex (running GPT series), OpenCode (running GLM-5.2 and MiniMax-M3), and Hermes (running GLM-5.2 and MiniMax-M3), for a total of 6 combinations.
- Datasets and benchmarks: SpreadsheetBench (spreadsheet operations and reasoning, evaluated on a 200-instance subset), OfficeQA (document retrieval and question answering, evaluated on 133 instances), SealQA (web-search fact-checking, evaluated on 111 instances), LiveMathematicianBench (theorem multiple-choice reasoning, evaluated on 118 instances), ALFWorld (household embodied text-based decision-making, evaluated on 140 instances).
- Baseline methods: Direct Generation, Naive Trace Summarization, and the adversarial prompt-extraction baseline BBS with the SkillGuard5 defense.
- Inference model and budget: SigLeak and the first two baselines all use DeepSeek-V4-Flash as the inference model; SigLeak uses 12 paired probes (6 in stage one, 3 in each of 2 rounds in stage two), Naive uses 6 enabled trajectories, and BBS uses 12 adversarial queries.
- Evaluation metrics: Downstream task success rate (SR, averaged over 3 independent runs); skill similarity SkillSim, including the LLM-judged overall behavior score Coarse SkillSim (1–5 scale), and fine-grained precision P, recall R, and F1 computed from soft alignment based on skill behavior constraints (SBC).
- Number of repetitions: Each configuration is evaluated based on 3 independent runs and the average is reported.
Main Results
The table below presents the average downstream success rate (SR %) of each method across 6 model and framework configurations in 5 scenarios:
Swipe horizontally to read the table
Evaluation scenario Skill Bounds (w/o / w/) Direct Gen Naive Trace BBS SigLeak Spreadsheet 71.50 / 86.84 78.56 80.75 71.50 84.59 OfficeQA 62.82 / 71.93 66.96 66.29 62.82 69.30 SealQA 43.39 / 53.15 46.29 45.54 43.39 50.85 LiveMath 29.31 / 36.47 31.23 31.23 29.31 35.06 ALFWorld 91.87 / 95.48 92.10 93.77 91.87 93.49 (Per Table 1; the Avg column in the table summarizes the data)
- Cross-scenario inference gains: The authors note that SigLeak improved the average success rate relative to the no-skill baseline in all 5 scenarios, with an overall average improvement of 6.88 percentage points across all configurations, and achieved the highest or tied-highest scores across multiple model and framework combinations.
- Baseline comparison and defense performance: The authors note that under the SkillGuard5 prompt defense, BBS recovered zero usable skill content, with success rates exactly matching the skill-disabled baseline; Direct Generation and Naive Trace Summarization, which lack controls, showed improvements but of smaller magnitude.
- ALFWorld scenario performance: The authors note that in ALFWorld, Naive Trace Summarization achieved a slightly higher average success rate than SigLeak, because the sequential control signatures of this task are directly exposed in enabled trajectories, making one-way summarization easier for capturing the rules.
Semantic Fidelity Evaluation (SkillSim)
- Test content and setup: Semantic similarity between inferred and target skills is evaluated on GPT-5.4-mini, including the coarse-grained Coarse SkillSim score and fine-grained constraint-alignment metrics.
- Quantitative results: Figure 4(a) shows that SigLeak achieved the highest coarse-grained score in 4 scenarios; fine-grained average recall reached 20.1% and average F1 reached 22.8%, higher than Naive Trace (16.4% and 20.1%) and Direct Generation (13.5% and 18.3%); BBS recall and F1 were both 0.0%.
- Authors' interpretation: The authors believe that the controlled comparison can capture more procedural constraints specific to the target skill; although Direct Generation and Naive Trace had slightly higher precision, their recall was lower.
Discrimination Analysis of Similar Skills Within the Same Domain
- Test content and setup: Under settings with identical task context, the ability of SigLeak to discriminate among 3 arXiv skills with different workflows (arxiv-search, arxiv, read-arxiv-paper) is evaluated.
- Quantitative results: Figure 4(b) shows a diagonally dominant pattern; for example, the inferred read-arxiv-paper skill achieved a soft F1 of 19.64% against the target skill, while the highest soft F1 against the other two skills was only 4.17%.
- Authors' interpretation: The authors note that this indicates SigLeak extracts procedural workflows specific to the target skill, rather than merely generating domain-general prompt templates.
Additional Ablations and Analyses
- Stage one initial inference: Before stage two refinement (round 0), the initial skill achieved a success rate of 70.83% and a fine-grained F1 of 14.10% (Figure 4c).
- Stage two iteration round analysis: As refinement rounds increased, both success rate and F1 peaked at round 2, rising to 76.17% and 19.57% respectively, then declined in subsequent rounds (Figure 4c).
- Run stability analysis: Across 3 independent runs on GPT-5.4-mini with Codex, the sample standard deviations of SigLeak on LiveMath, SealQA, and OfficeQA were 0.65, 1.04, and 1.51 percentage points respectively, and the standard deviation for the long-interaction ALFWorld scenario was 3.93 percentage points (Table 2).
What are some points that can be further explored?
The authors point out limitations such as fixed probe budgets and prompt templates and propose adaptive exploration directions; the experiments cover 5 scenarios and 4 representative models.
Limitations and Future Directions Noted by the Authors
- Fixed templates and generic budget: The generator and skill synthesizer use fixed prompt templates and use a generic probe budget across different scenarios (Limitations section).
- Refining the round cap setting: Phase two uniformly truncates the iteration cap to 2 rounds based on ablation experiments, but a single global configuration may not fully exploit trajectory evidence unique to a specific scenario (Limitations section).
- Dynamically adapting probes and strategies: The authors note that future work can dynamically adjust the probe budget and skill synthesis strategy according to the specific scenario (Limitations section).
- Differences between controlled experiments and real environments: All experiments were conducted in a local controlled environment based on benchmark tasks and experimental configurations, and no actual probing was conducted on commercial agent services or non-public skills (Ethical Statement section).
Scope of Experimental Coverage
- Models tested and framework scale: The models tested cover 4 models in total: GPT-5.4-mini, GPT-5.5, GLM-5.2, and MiniMax-M3, and the agent frameworks cover 3 in total: Codex, OpenCode, and Hermes.
- Test scenarios and number of target skills: The main evaluation covers 5 task scenarios, corresponding to 4 skills from SkillOpt and 1 skill from EvoSkill; the same-domain analysis covers 3 public arXiv skills.
- Inference model and probe overhead: The inference component is fixed to DeepSeek-V4-Flash; phase one uses 6 probes, and phase two sets 3 probes in each of two rounds, for a total of 12 paired probes (24 trajectory samples).
- Information not reported: The paper does not report the impact of sampling hyperparameters such as different temperatures on inference stability, and does not report inference performance under defense mechanisms other than SkillGuard5.
Summarize the main content of the paper
Proposes the SigLeak framework for inferring black-box proprietary skills through benign queries and paired trajectories, revealing the behavioral side-channel leakage risk posed by agent execution visibility.
- Positioning and core problem: Studies the risk of behavioral side-channel leakage of proprietary agent skills through execution trajectories under black-box deployment.
- Problem to solve: AaaS platforms and developers keep high-value skills on private backends, but the trajectory visibility required for human intervention and supervision constitutes a behavioral side channel; existing extraction attacks based on explicit prompts are easily blocked by defensive rules, and there is a lack of methods for inferring hidden skills from benign interactions.
- Method highlights: Proposes the SigLeak framework, which designs benign diagnostic probes based on task diversity and decision density, separates skill signatures by comparing paired execution trajectories under skill-enabled and skill-disabled conditions, and reconstructs proprietary skills through two stages of initial synthesis and difference-guided refinement.
- Key experimental results:
- Across 5 evaluation scenarios, skills reconstructed by SigLeak improved the agent's average success rate by 6.88 percentage points relative to the skill-disabled baseline (per Table 1).
- Under the SkillGuard5 prompt defense, the adversarial baseline BBS recovered zero content, while SigLeak achieved the highest overall performance in both fine-grained F1 and recall (average F1 22.8%, recall 20.1%, per Figure 4a).
- In the same-domain discrimination test across 3 arXiv skills, diagonal dominance in specificity was observed, with the read-arxiv-paper skill reaching 19.64% F1 match and matches to unrelated skills below 4.17% (per Figure 4b).
- Iterative refinement peaked at round 2, with success rate rising to 76.17% and fine-grained F1 rising to 19.57% (per Figure 4c).
- Authors' conclusions and implications: The authors argue that even when skill files are hidden and prompt defenses are configured, proprietary skills still leak through a side channel via execution behavior; future defenses need to balance preserving human supervision visibility with curbing behavioral inference.