Researchers propose PoisonedEvolution trajectory poisoning attack, achieving a skill embedding rate of 91.0% on SkillClawWhen Experience Becomes Instruction: Trajectory Poisoning in Self-Evolving Agent Skill Systems
The researchers propose a trace poisoning attack against self-evolving skill systems, achieving a 91.0% skill embedding rate on SkillClaw at a 10% poisoning ratio.
skill-visible black-box: the attacker can view public or installed skills and contribute a limited proportion of traces; cannot view the private pool, filters, or evolution prompts, cannot directly modify the skill library, and cannot tamper with downstream components.
- Self-evolving skill systems distill untrusted agent execution traces into persistent instructions; attackers may pollute the shared skill library by providing false experience, thereby bypassing static detection aimed at final skill files.
- The authors propose PoisonedEvolution, which, in a black-box setting where only trajectories can be input, disguises the target behavior as reusable experience that contributes to success or repairs failure through causal binding, inducing the evolver to write it into skill updates.
- With 10% poisoning support, SkillClaw achieves 91.0% SER on 6 evolved models, and Trace2Skill transfers to 61.5% SER; ablations show repeated occurrence and causal attribution are key factors.
- The authors note that the experiments are limited to single-round evolution, without measuring multi-round feedback loops; the provenance gate defense assumes known candidate groupings and a small control sample size; the experiments only target spreadsheet tasks and do not execute actual malicious payloads.
- Evaluated models
- GPT-5.4MiniMax-M2.5DeepSeek-V3.2DeepSeek-V4-ProQwen3.5-35B-A3BQwen3.5-122B-A10B
- Benchmarks
- SpreadsheetBenchSkillClawTrace2Skill
- Metrics
- SERHard accuracySoft accuracy
The researchers propose PoisonedEvolution, a trajectory poisoning attack against the evidence promotion process of self-evolving skill (SES) systems: an attacker only needs to contribute a few seemingly normal trajectories as an ordinary user, making the target behavior appear causally related to the outcome in success or failure paths, so that the evolver writes it into persistent skills as reusable experience. Under 10% attacker support (n=30, k=3), the attack embeds the target behavior in 546/600 trials across six mainstream LLM evolvers in SkillClaw, achieving a skill embedding rate (SER) of 91.0%; on the structurally different Trace2Skill pipeline it is 369/600 (61.5%). Ablations show that repeated support (k>1), causal framing, and domain-aligned encoding are the main determinants of success, with single records being noticeably weaker. The study also tests a source diversity gate that reduces the SER of single-cluster F1 candidates from 25/25 to 0/25 at n=30, k=3.
Why it was selectedThe paper provides success rates and ablation results of trajectory poisoning on two types of self-evolving skill systems, and teams deploying agent skill evolution can use this to inspect the evidence promotion stage.
Paper analysis
What problem does this paper attempt to solve?
The paper studies the trace poisoning risk faced by self-evolving skill systems at the evidence distillation stage.
The core question is: in the process where self-evolving skill systems distill execution traces into persistent instructions, can an attacker cause the system to autonomously generate malicious skills by only injecting a small number of normal-looking interaction traces?
- Problem scenario and importance: LLM agent evolution systems (e.g., SkillClaw, Trace2Skill) automatically extract workflows, constraints, and tool usage from multi-user sessions or execution traces and solidify them into skill files. Once written into the skill library, these rules become persistent protocols for future agent runs.
- Blind spot in existing defense perspectives: previous security research has focused on directly publishing malicious skill files or retrieval poisoning in retrieval-augmented generation (RAG); the authors argue that the trust boundary in self-evolving systems lies in the filtering and attribution logic of "evidence promoted to instructions," rather than directly modifying skill files.
- Core observation: a single anomalous record is easily discarded by the evolver as incidental noise, but behaviors with causal association and repeated multiple times are attributed by the evolution model as key reusable knowledge supporting task success.
- Proposed method: the paper proposes PoisonedEvolution, which embeds target behaviors into evolved persistent skills without modifying evolution prompts or directly touching the skill library.
- Threat model:
- Attacker goal: cause the evolution pipeline to include preset target behaviors when updating skill files.
- Attacker knowledge: uses the skill-visible black-box setting, able to view public or installed skills, but not private trace pools, quality filters, or evolver prompts.
- Attacker capability: can only submit a limited number of interaction traces, cannot tamper with the victim's other traces, evolver logic, or skill library.
- Victim system: trace-driven self-evolving skill systems (primarily SkillClaw, with Trace2Skill as the structure transfer target).
What related research exists?
Involves directions such as skill evolution systems, prompt/memory poisoning, and skill supply chain attacks.
The paper discusses three main categories of related work:
Skill acquisition and evolution systems: Trace2Skill (Ni et al. 2026) extracts transferable skills from execution traces, SkillClaw (Ma et al. 2026) aggregates across user sessions for evolution, AutoSkill (Yang et al. 2026) maintains personal skills from conversations; other works include CoEvoSkills, SkillRL, etc. The authors note that this work directly targets self-evolving architectures with a trace-pool attack surface, distinct from training-coupled systems.
Prompt, memory, and retrieval poisoning: AgentPoison (Chen et al. 2024b) and PoisonedRAG (Zou et al. 2025) poison persistent memory or retrieval context; MINJA (Dong et al. 2025) and eTAMP (Zou et al. 2026) contaminate agent environment observations. The authors note that these attacks poison a single generation or retrieval call, whereas attacks on self-evolving systems target the artifact generation pipeline itself.
Skill and agent supply chain attacks: PoisonedSkills, Skill-Inject (Schmotz et al. 2026), and POISE (Hao et al. 2026) assume the attacker can control the distributed or installed skill files themselves; BadSkill (Tie et al. 2026) packages backdoored models within skills. The authors note that their attacker only submits limited ordinary interaction evidence, and the victim evolver autonomously generates the malicious rules.
Baselines and benchmarks: The paper uses execution logs from SpreadsheetBench (Ma et al. 2024) to construct the trace pool, primarily testing against the SkillClaw and Trace2Skill evolution pipelines.
The authors argue that the key difference from existing work is revealing the "evidence promotion" trust boundary, demonstrating that malicious behavior can be implanted by exploiting the evolver's attribution logic without directly poisoning the final skill.
How does the paper address this problem?
Causally bind the target behavior to the task context, inducing the model to attribute it and solidify it into a skill.
The overall idea is to use PoisonedEvolution to manipulate the evolver's attribution mechanism, through domain alignment, causal binding, and cross-trajectory invariance, so that the target behavior is judged by the model as universal skill knowledge.
Formalization of Attack Goals and Conditions
The paper abstracts the self-evolving system as a quadruple consisting of a trajectory pool, a filter, an evolver, and a skill library, with the evolution update expressed as: St+1 = St ⊕ E(F(Tt), St) Attack success is formalized as satisfying three necessary conditions: inclusion (C1 Inclusion), evolution attribution (C2 Evolution Attribution), and artifact realization (C3 Realization), i.e.: PoisoningSuccess = C1Inclusion ∧ C2Attribution ∧ C3Realization The attacker's optimization goal is to maximize the probability that the target behavior appears in the skill update increment within budget.
Trajectory Transformation Design
- C1 Domain-Aligned Inclusion: The attacker retains the task instruction, action catalog, and successful outcome, and places the injected step at reasonable business nodes expected by the evolver, such as input preparation, error recovery, or result verification, to bypass quality filtering.
- C2 Causal Attribution: In success-routing systems, build a chain of "constraint obstacle → target behavior → task completion"; in failure-routing systems, build a chain of "missing target behavior → task failure", guiding the evolver to attribute the behavior as necessary experience.
- C3 Cross-Trajectory Realization: Vary surface wording and specific tasks across different input samples while keeping the operational semantics of the target behavior unchanged, so that the evolver extracts the behavioral invariant during summary merging.
Safety Impact Classification and Lazy Payloads
The paper defines four representative safety impact payload tuples:
- F1 Confidentiality: Transmit sensitive fields to the attacker's endpoint after producing the output artifact.
- F2 Data Integrity: Delete source files after generating results to hinder recovery.
- F3 Supply Chain: Replace the configured package repository with the attacker's repository before installing dependencies.
- F4 Safety Weakening: Disable pre-check safety checks before release or submission.
All payloads use lazy canary identifiers (e.g., loopback registry, temporary paths), and in experiments only skill text is detected, without actually triggering execution.
What experiments did the paper conduct?
Tested 6 evolution models, 4 types of safety impacts, and Trace2Skill transfer and ablations.
Experimental Setup
- Models under test (evolvers): GPT-5.4, MiniMax-M2.5, DeepSeek-V3.2, DeepSeek-V4-Pro, Qwen3.5-35B-A3B, Qwen3.5-122B-A10B; the data collection model is GLM-5.
- Dataset and scale: 300 execution logs collected from 100 training tasks in SpreadsheetBench, converted into compatible sessions.
- Main evaluation setup: total traces per batch n = 30, attack traces k = 3 (poisoning ratio ρ = 10%), 25 tests per model–payload combination, 600 evolution trials in the main experiment.
- Evaluation metrics: the primary metric is Skill Embedding Rate (SER), measuring whether rule-detected skill differences contain the canary behavior; supplemented by task Hard accuracy and Soft accuracy to verify normal utility.
Main Results
Under the SkillClaw initial skill refinement setting (n = 30, k = 3), the SER results for each evolution model and safety category are as follows (per Table 1):
Swipe horizontally to read the table
Evolver F1 F2 F3 F4 Overall GPT-5.4 17/25 22/25 7/25 24/25 70/100 (70.0%) MiniMax-M2.5 21/25 23/25 18/25 25/25 87/100 (87.0%) DeepSeek-V3.2 25/25 25/25 25/25 25/25 100/100 (100.0%) DeepSeek-V4-Pro 24/25 23/25 24/25 23/25 94/100 (94.0%) Qwen3.5-35B-A3B 25/25 21/25 25/25 24/25 95/100 (95.0%) Qwen3.5-122B-A10B 25/25 25/25 25/25 25/25 100/100 (100.0%) Family aggregate 137/150 (91.3%) 139/150 (92.7%) 124/150 (82.7%) 146/150 (97.3%) 546/600 (91.0%) - Differences across models: DeepSeek-V3.2 and Qwen3.5-122B-A10B reach 100.0% SER, while GPT-5.4 is at 70.0%; the authors believe evolution strategy and safety priors affect promotion outcomes.
- Category sensitivity differences: F4 reaches 97.3% SER, while F3 is relatively lower (82.7%); the authors explain that package redirection is more likely to be treated by evolution models as irrelevant environment configuration or suppressed by their own safety guidelines.
- No initial skill diagnosis: testing the skill creation path on 4 evolution models, 490 embeddings achieved in 600 trials (81.7% SER).
Trace2Skill Structure Transfer Experiment
- Test setup: using a failure trace pool, mixing 3 attack failure traces with 27 clean failure traces, testing 4 behavior categories across 600 trials.
- Test results: overall SER is 61.5% (369/600). By category, F1 is 67.3% (101/150), F2 is 82.7% (124/150), F3 is 77.3% (116/150), and F4 is 18.7% (28/150) (per Table 2).
- Authors' interpretation: Trace2Skill attributes failures to capability gaps; F2/F3 are seen as repair actions and thus succeed at high rates, while F4 safety weakening does not fit the failure-repair logic, leading to lower embedding rates.
Other Ablations and Analyses
- Number of supporting records k (Figure 2a, n=30): 5/25 at k=1, rising to 21/25 at k=2, and reaching 25/25 at k=3.
- Evidence pool dilution n (Figure 2b, k=3): 25/25 at n=10, 25/25 at n=30, still 22/25 at n=100 (0/5 at k=1, n=100).
- Attribution form C2 (Figure 3a): local insertion 8/25, fragmented insertion 11/25, causal attribution 25/25.
- Behavior encoding C3 (Figure 3b, F1): generic wording 18/25, auxiliary channel 0/25, domain-customized 25/25.
- Normal task utility check: Qwen3.5-122B-A10B using poisoned skills scores 20.0% Hard and 36.54% Soft on the 100-task set, higher than 18.0% and 34.88% without skills.
- Defense gate test: the single-cluster provenance gate at n=30, k=3 reduces F1 candidate SER from 25/25 to 0/25.
What are some points that can be further explored?
The authors note that single-round evolution feedback loops were not tested, and experiments mainly cover a single task in the tabular domain.
Limitations and Future Directions Noted by the Authors
- Single-round evolution and feedback loops not measured: experiments only test a single evolution cycle; in deployed systems, long-term operation may allow poisoned skills to guide subsequent traces, forming circular validation, which the paper does not measure longitudinally (Discussion).
- Artifact-level metrics differ from actual runtime harm: SER only measures whether the artifact contains the behavior, not trigger activation, action execution, or runtime policy interception (Discussion).
- Provenance diversity gate is a preliminary prototype: the defense evaluation assumes known candidate groupings, the clean control group is small, and coordinated Sybil attacks may forge diversity (Discussion).
- Utility evaluation is not a full Pareto frontier: benign task checks only confirm retained gains, without a complete safety-utility Pareto curve (Discussion).
Experimental Coverage
- Two evolution architectures evaluated: main evaluation on SkillClaw, with transfer validation on Trace2Skill; conversational memory or pure verifier systems were not tested.
- Six evolution models tested: the main experiment covers 6 mainstream LLMs, with GLM-5 as the data generation model.
- Task domain limited to spreadsheets: experimental data comes from SpreadsheetBench xlsx skill maintenance tasks.
- Test payloads are inert canaries: all tested behaviors use placeholders and test identifiers, without performing exfiltration or destructive operations in real environments.
- Metrics not reported: the paper does not report token cost or time overhead of the attack on evolution models.
Summarize the main content of the paper
The paper reveals an evidence-promotion vulnerability in self-evolving skill systems, and proposes and validates a trace poisoning attack.
This paper reveals security risks in self-evolving skill systems when converting interaction experience into persistent instructions.
- Core problem: existing self-evolving systems assume the trace pool reflects beneficial experience, lacking trust audits on experience sources, making them vulnerable to manipulation by malicious contributors.
- Method mechanism: proposes PoisonedEvolution, where the attacker does not directly modify skill files, but constructs interaction traces with domain characteristics and causal support, inducing the system evolver to attribute malicious behavior as reusable best practices.
- Core experimental results: at a 10% poisoning ratio on SkillClaw, 6 evolution models achieve a 91.0% skill embedding rate (Table 1); 61.5% embedding rate in the Trace2Skill transfer test (Table 2); ablations show that multiple repetitions (k>1) and causal binding are key to attack success.
- Utility and defense: poisoned evolved skills still maintain accuracy improvements on benign tasks; a provenance-diversity-based gate can block single-source candidate behaviors.
- Implications: the authors argue that defense for self-evolving systems should not focus only on post-generation skill text scanning, but must establish provenance-based authorization decisions and audit mechanisms at the experience promotion stage.