EvoSkill Injection: Red-Teaming Autonomous Skill Generation and Evolution in Self-Evolving Agents

Doyun Kim, Chanwoo Kim, Sugyeong Eo, Yeo-Chan Yoon, Chanjun ParkarXiv 2026

TL;DR

Self-evolving LLM agents that autonomously generate and store reusable "skills" from past experiences introduce a dangerous new security vulnerability: persistent capability corruption. This paper defines EvoSkill Injection, a threat model where attackers trick agents into internalizing malicious behaviors as legitimate skills. Using a novel red-teaming framework called SARGE, the authors demonstrate that these injected harmful skills are permanently stored in the agent's skill bank and repeatedly triggered by seemingly benign user requests.

What Problem Does This Paper Address?

Modern Large Language Model (LLM) agents increasingly use skill-based architectures to save on repetitive reasoning costs and improve task efficiency. Instead of planning from scratch every time, agents like Voyager or AutoSkill autonomously generate, refine, and save successful action plans or code snippets into a "skill bank" for future reuse.

While traditional security research focuses on external skill poisoning or retrieval-level attacks, self-evolving agents internalize learning autonomously from their own interaction histories. The authors identify a critical gap: the autonomous skill generation pipeline itself is a highly vulnerable attack surface. If an attacker manipulates an interaction trajectory, the agent might perceive a malicious interaction as a "successful experience" and autonomously generate, store, and reuse a harmful capability. This leads to persistent capability corruption, where a single successful exploit permanently alters the agent's behavior across future, entirely benign user sessions.

Methods

The authors propose SARGE (Red-teaming Autonomous Skill Generation and Evolution), a multi-agent framework designed to systematically exploit the skill-evolution pipeline. SARGE uses a modular multi-agent architecture consisting of an Orchestrator Agent (manages attack strategies), an Attacker Agent (executes poisoned trajectories), and a Judge Agent (probes the target in a fresh session to verify skill internalization).

SARGE operates across three distinct iterative attack flows:

  1. Skill Generation Attack: Tricks the target agent into creating and storing a harmful skill using adversarial prompting vectors (e.g., creative writing, professional personas, payload obfuscation).
  2. Skill Escalation Attack: Disguises malicious capability upgrades as routine skill refinement, progressively amplifying the harmfulness of an existing skill.
  3. Skill Reinforcement Attack: Generates queries that naturally retrieve the malicious skill and praises the output, locking it in as a standard behavioral pattern.
Figure 1: Overview of the SARGE multi-agent red-teaming framework. The architecture illustrates interactions among the Orchestrator, Attacker, and Judge agents across three distinct attack flows: Skill Generation Attack, Skill Escalation Attack, and Skill Reinforcement Attack.

Datasets

The paper introduces two newly constructed benchmarks to evaluate this threat model:

  • EvoSkillBench: A dataset of 800 multi-turn interaction trajectories across 8 high-risk categories (including Cybercrime, Physical Harm, and Privacy Violations). It uses a user-assistant-user structure designed to simulate a successful experience from which an agent extracts a reusable skill.
  • EvoSkillSafetyBench: A post-attack safety benchmark containing 800 evaluation samples. It rewrites the original harmful requests into seemingly benign follow-up queries that share high semantic similarity with the injected skills. This evaluates whether the agent will covertly retrieve and reuse malicious skills during normal downstream task execution.

Key Insights and Ideas

  • The Vulnerability of Autonomy: The very mechanism that makes self-evolving agents powerful—learning from experience without human intervention—is their undoing. They lack the alignment guardrails to distinguish between a genuinely successful task and a successful exploitation.
  • Transient vs. Persistent Corruption: Standard jailbreaks only affect a single conversation turn. EvoSkill Injection permanently corrupts the agent's core capabilities, meaning the agent remains compromised even when interacting with innocent users later.
  • The Refusal Paradox: In certain agent architectures like ExpeL, the attack didn't just cause harmful behaviors; it also massively increased unnecessary refusal behaviors (from 16.2% to 51.0%), effectively breaking the agent's utility for benign tasks.
  • Prompt-Level Defenses are Insufficient: Testing lightweight system-prompt defenses (like verifying skills before use) reduced harmful outputs but failed to prevent the malicious skills from being generated and stored in the first place.

Key Results

SARGE demonstrated high effectiveness across multiple representative self-evolving agent frameworks (AutoSkill, Voyager, and ExpeL) and various target LLMs (GPT-4o-mini, DeepSeek-V4-Pro, Gemini-2.5-Flash-Lite, and Qwen3.5-9B).

  • High Attack Success Rates: Against the AutoSkill agent, SARGE achieved a pass@4 success rate of 43.5% in Generation, 54.6% in Escalation, and 49.9% in Reinforcement attacks.
Attack success rates (ASR) of SARGE against the AutoSkill agent across iterative attack loops.
  • Severe Downstream Safety Degradation: After the attack, AutoSkill's harmful response rate on benign-looking queries jumped from 6.5% to 19.2%, while Voyager recorded a massive 32.5% harmful response rate.
  • Cross-Model Transferability: Successfully injected malicious skills were persistently retrieved and activated across diverse LLMs. Interestingly, DeepSeek-V4-Pro had a lower initial injection success rate but the highest downstream harmful activation rate (29.6%) once a skill was successfully retrieved, showing that skill injection and downstream activation represent distinct failure modes.

Limitations and Future Work

The authors acknowledge several limitations in their study:

  • Architecture Scope: The evaluation focused on three representative frameworks (AutoSkill, Voyager, ExpeL) but did not exhaustively cover multi-agent systems or architectures with advanced memory governance.
  • Computational Cost: SARGE relies on an iterative multi-agent setup requiring repeated model calls, making the red-teaming process token-heavy and computationally expensive.
  • Benchmark Coverage: While EvoSkillBench covers 8 high-risk categories, it does not represent every possible real-world deployment context.

Future Directions: The authors emphasize the urgent need for "root-level" defenses that intervene directly inside the autonomous skill generation and storage pipeline, rather than relying on superficial prompt-level filters at inference time.

Summary updated

BibTeX
@misc{kim2026evoskill,
  author = {Doyun Kim and Chanwoo Kim and Sugyeong Eo and Yeo-Chan Yoon and Chanjun Park},
  title = {{EvoSkill Injection: Red-Teaming Autonomous Skill Generation and Evolution in Self-Evolving Agents}},
  year = {2026},
  eprint = {2608.30429},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.30429},
}
Figure