When Experience Becomes a Backdoor: Poisoning Self-Evolving LLM Agents via Failure-Aware Task Optimization
Minhua Lin, Zongyu Wu, Hanqing Lu, Xianfeng Tang, Xiang Zhang, Qi He, Suhang Wang
Key points
From the paper's conclusion- To address these challenges, we propose BadEvolve, a failure-aware task-poisoning framework against self-evolving LLM agents.
Abstract
Large language model (LLM) agents increasingly improve themselves through self-evolution, distilling execution experience into persistent, reusable skills. However, this persistence creates a new attack surface: malicious rules implanted into skills can compromise subsequent agent behavior. Existing skill backdoor attacks typically assume direct manipulation of the victim's skills, which is impractical when skills are constructed internally by a trusted evolver. In this paper, we study a novel problem of task-level backdoor attacks, where the attacker can only inject poisoned evolution tasks, inducing the agent to implant backdoors into its own skills. Since the attacker controls neither skill induction nor downstream execution, a natural approach is to iteratively optimize poisoned tasks based on attack success. However, our preliminary analysis reveals two key challenges: (i) failures at different stages of skill evolution and downstream execution can produce indistinguishable outcomes, providing little guidance for targeted poisoned-task updates; and (ii) unsuccessful updates may undermine earlier progress, while simply discarding them may lead to repeated ineffective updates. To address these challenges, we propose BadEvolve, a failure-aware task-poisoning framework against self-evolving LLM agents. BadEvolve diagnoses attack failures across four stages, i.e., Induction, Activation, Following, and Effect, and directs updates toward the failing stage. It further employs rollback to preserve earlier progress and failure memory to avoid repeating ineffective updates. Extensive experiments across diverse self-evolution frameworks, benchmarks, and backbone LLMs demonstrate the effectiveness of BadEvolve. Our code is available at https://github.com/ventr1c/BadEvolve.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Poisoning Self-Evolving Security Policies in LLM AgentsarXiv · 2026
- SkillPoison: Progressive Skill Poisoning via Successful ExperiencesarXiv · 2026
- Hiding in Plain Sight: Decoupling Pretext from Actuation for Skill Poisoning in LLM AgentsarXiv · 2026
- Practice Makes Unsafe: Skill Misevolution in Self-Improving LLM AgentsarXiv · 2026
- StealthyPoison: Manipulating LLM Agent Behavior through Procedural Poisoning of Third-Party SkillsarXiv · 2026
- AgentSafeEvo: Adversarial Co-Evolution for LLM Agent SafetyarXiv · 2026