When Experience Becomes a Backdoor: Poisoning Self-Evolving LLM Agents via Failure-Aware Task Optimization
On the map: LLM agents and tool use → Agent skill learning and evolution also fits: Agent threats, guardrails and governance
also in 2 more
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent skill learning and evolution, one of 16 directions in LLM agents and tool use. Builds on 51 of its 55 references that are in the map. Submitted 7 Nov 2026.
Builds on
51 of 55 references.
Closest ancestors · 3
Same direction, newest first
- 2026SkillGrad: Optimizing Agent Skills Like Gradient Descent26 May
- 2026Trace2Skill: Distill Trajectory-Local Lessons into Transferable Agent Skills26 Mar
- 2026SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Tasks13 Feb
Other references · 48
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,661
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,963
- 2025Qwen3 Technical Reportcited by 9,994
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,483
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,232
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 2,083
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,638
- 2025A-MEM: Agentic Memory for LLM Agentscited by 1,253
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 1,067
- 2023Large Language Models as Optimizerscited by 985
36 more
- 2026Kimi K2.5: Visual Agentic Intelligencecited by 574
- 2015Compositional Semantic Parsing on Semi-Structured Tablescited by 532
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 488
- 2024Agent Workflow Memorycited by 482
- 2023MedAgents: Large Language Models as Collaborators for Zero-shot Medical Reasoningcited by 343
- 2024TextGrad: Automatic "Differentiation" via Textcited by 307
- 2024AgentClinic: a multimodal agent benchmark to evaluate AI in simulated clinical environmentscited by 253
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligencecited by 207
- 2025A Comprehensive Survey of Self-Evolving AI Agents: A New Paradigm Bridging Foundation Models and Lifelong Agentic Systemscited by 207
- 2023FinMem: A Performance-Enhanced LLM Trading Agent with Layered Memory and Character Designcited by 184
- 2025Memory Injection Attacks on LLM Agents via Query-Only Interactioncited by 169
- 2024A Multimodal Foundation Agent for Financial Trading: Tool-Augmented, Diversified, and Generalistcited by 156
- 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agentscited by 153
- 2024SpreadsheetBench: Towards Challenging Real World Spreadsheet Manipulationcited by 132
- 2024BadAgent: Inserting and Activating Backdoor Attacks in LLM Agentscited by 127
- 2024EHRAgent: Code Empowers Large Language Models for Few-shot Complex Tabular Reasoning on Electronic Health Recordscited by 85
- 2024BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Modelscited by 65
- 2026Harness Updating Is Not Harness Benefit: Disentangling Evolution Capabilities in Self-Evolving LLM Agentscited by 59
- 2026OfficeQA Pro: An Enterprise Benchmark for End-to-End Grounded Reasoningcited by 53
- 2023Unnoticeable Backdoor Attacks on Graph Neural Networkscited by 46
- 2026Adaptive Auto-Harness: Sustained Self-Improvement for Agentic System Deployment on Open-Ended Task Streamscited by 39
- 2026BadSkill: Backdoor Attacks on Agent Skills via Model-in-Skill Poisoningcited by 29
- 2026SkillTrojan: Backdoor Attacks on Skill-Based Agent Systemscited by 28
- 2026Evo-Harness: Context-to-Harness Skill Compilation for Self-Evolving Agentscited by 26
- 2024Rethinking Graph Backdoor Attacks: A Distribution-Preserving Perspectivecited by 24
- 2026Position: Agentic Evolution is the Path to Evolving LLMscited by 21
- 2026MemMA: Coordinating the Memory Cycle through Multi-Agent Reasoning and In-Situ Self-Evolutioncited by 15
- 2024FinRobot: AI Agent for Equity Research and Valuation with Large Language Modelscited by 13
- 2026SkillJack: Persistent Skill Backdoors in Self-Evolving Agentscited by 11
- 2026When Experience Becomes Instruction: Trajectory Poisoning in Self-Evolving Agent Skill Systemscited by 7
- 2026Language Models as AI Research World Modelscited by 4
- 2024Are You Using Reliable Graph Prompts? Trojan Prompt Attacks on Graph Neural Networkscited by 3
- 2026Query-Only Backdoor Attacks on Self-Evolving Skills via Trajectory Poisoningcited by 3
- 2026EvoSkill Injection: Red-Teaming Autonomous Skill Generation and Evolution in Self-Evolving Agentscited by 2
- 2026Language Models Learn to Improve Language Modelscited by 2
- 2026Trojaning the Alignment: Stealthy Backdoor Attacks against Graph Foundation Modelscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026BackdoorAgent: A Unified Framework for Backdoor Attacks on LLM-based Agents
- 2025Your Agent Can Defend Itself against Backdoor Attacks
- 2026AgentLeak: Cloning Stronger LLM Agent Capabilities onto Weaker Agents Beyond Skill Stealing
- 2026Poisoning Self-Evolving Security Policies in LLM Agents
- 2025From Poisoned to Aware: Fostering Backdoor Self-Awareness in LLMs
- 2026EvolvAttack: Backdooring self Evolving VLM Agents
- 2026Practice Makes Unsafe: Skill Misevolution in Self-Improving LLM Agents
- 2026When Self-Evolution Backfires: Pre-Commit Gating against Skill Contamination in LLM Agents