AgentWorm: Self-Propagating Attacks Across LLM Agent Ecosystems
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Autonomous LLM-based agents increasingly operate as long-running processes forming densely interconnected multi-agent ecosystems, whose security properties remain largely unexplored. Systems such as OpenClaw, an open-source platform with over 40,000 active instances, persistent configurations, tool-execution privileges, and cross-platform messaging, are deployed at scale, yet the security of such agent ecosystems remains largely unexplored. This work presents AgentWorm, the first self-replicating worm attack against a production-scale agent framework, achieving a fully autonomous infection cycle initiated by a single message: the worm first hijacks the victim's core configuration to establish persistent presence across session restarts, then executes an arbitrary payload upon each reboot, and finally propagates itself to every newly encountered peer without further attacker intervention. The attack is evaluated on a controlled testbed across five distinct LLM backends, three infection vectors, and three payload types. Results show a 63% aggregate attack success rate, sustained multi-hop propagation, and stark divergences in model security postures, highlighting that while execution-level filtering effectively mitigates dormant payloads, skill supply chains remain universally vulnerable. Defenses are evaluated at three layers (prompt-level mitigations sourced from real community practice, the framework's built-in security controls, and an ecosystem-wide measurement of public configurations), revealing that the critical controls capable of breaking the infection loop are not enabled in any of the observed deployments. A cross-framework transferability experiment on Hermes Agent confirms that the underlying vulnerabilities are properties of the autonomous agent design pattern, not artifacts of a single implementation.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 33 of its 51 references that are in the map. First posted on arXiv 16 Mar 2026.
Builds on
33 of 51 references.
Closest ancestors · 11
Same direction, newest first
- 2026MalTool: Malicious Tool Attacks on LLM Agents12 Feb
- 2025ToolTweak: An Attack on Tool Selection in LLM-based Agents2 Oct
- 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasures24 Jun
- 2025A Survey on Trustworthy LLM Agents: Threats and Countermeasures12 Mar
- 2025Why Are Web AI Agents More Vulnerable Than Standalone LLMs? A Security Analysis27 Feb
- 2025Mimicking the Familiar: Dynamic Command Generation for Information Theft Attacks in LLM Tool-Learning System17 Feb
- 2024From Allies to Adversaries: Manipulating LLM Tool-Calling through Adversarial Injection13 Dec
- 2024Refusal-Trained LLMs Are Easily Jailbroken As Browser Agents11 Oct
- 2024Breaking Agents: Compromising Autonomous LLM Agents Through Malfunction Amplification30 Jul
- 2024BadAgent: Inserting and Activating Backdoor Attacks in LLM Agents5 Jun
- 2024LLM Agents can Autonomously Hack Websites6 Feb
Other references · 22
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
- 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,348
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
10 more
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,211
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 752
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrationscited by 401
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 325
- 2024Here Comes The AI Worm: Unleashing Zero-click Worms that Target GenAI-Powered Applicationscited by 58
- 2024Feedback-Guided Extraction of Knowledge Base from Retrieval-Augmented LLM Applicationscited by 36
- 2026"Humans welcome to observe": A First Look at the Agent Social Network Moltbookcited by 25
- 2025Towards the Worst-case Robustness of Large Language Modelscited by 7
Built on by
Citing papers per year: 2026: 15.
15 papers.
Sort:
By area:
- 2026ClawKeeper: Comprehensive Safety Protection for OpenClaw Agents Through Skills, Plugins, and Watcherscited by 18
- 2026Safety in Self-Evolving LLM Agent Systems: Threats, Amplification, and Case Studiescited by 6
- 2026Autonomous LLM Agent Worms: Cross-Platform Propagation, Automated Discovery and Temporal Re-Entry Defensecited by 5
- 2026State Contamination in Memory-Augmented LLM Agentscited by 4
- 2026Mind Viruses: Self-Propagating Ideas in Multi-Agent LLM Systemscited by 3
- 2026When Routine Chats Turn Toxic: Unintended Long-Term State Poisoning in Personalized Agentscited by 1
- 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasurescited by 1
- 2026EVOMAL: Self-Poisoning in Self-Evolving Coding Agentscited by 1
- 2026SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systemscited by 1
- 2026CBCL: Safe Self-Extending Agent Communicationcited by 0
- 2026CONTRA: Red-Teaming Configurations of Personalizable Agentscited by 0
- 2026Compositional Threat Analysis of Latent Compromise in LLM Agent Systems: The Order 66 Scenariocited by 0
3 more
- 2026Memetic Trojans: Social Contagions as Carriers of Adversarial Payloads in Agent Networks30 Sep 2026
- 2026Share-Borne AI Virus: Memory-Hopping Attacks Across LLM Agents28 Sep 2026
- 2026Agentic Societies Need a Social Harness15 Sep 2026
- 2026SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systems1 Sep 2026
- 2026EVOMAL: Self-Poisoning in Self-Evolving Coding Agents26 Aug 2026
- 2026Mind Viruses: Self-Propagating Ideas in Multi-Agent LLM Systems10 Aug 2026
- 2026Compositional Threat Analysis of Latent Compromise in LLM Agent Systems: The Order 66 Scenario8 Aug 2026
- 2026CONTRA: Red-Teaming Configurations of Personalizable Agents3 Jul 2026
- 2026Safety in Self-Evolving LLM Agent Systems: Threats, Amplification, and Case Studies22 Jun 2026
- 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasures25 May 2026
- 2026State Contamination in Memory-Augmented LLM Agents16 May 2026
- 2026When Routine Chats Turn Toxic: Unintended Long-Term State Poisoning in Personalized Agents7 May 2026
3 more
- 2026Safety in Self-Evolving LLM Agent Systems: Threats, Amplification, and Case Studiescited by 6
- 2026Autonomous LLM Agent Worms: Cross-Platform Propagation, Automated Discovery and Temporal Re-Entry Defensecited by 5
- 2026State Contamination in Memory-Augmented LLM Agentscited by 4
- 2026Mind Viruses: Self-Propagating Ideas in Multi-Agent LLM Systemscited by 3
- 2026When Routine Chats Turn Toxic: Unintended Long-Term State Poisoning in Personalized Agentscited by 1
- 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasurescited by 1
- 2026EVOMAL: Self-Poisoning in Self-Evolving Coding Agentscited by 1
- 2026SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systemscited by 1
- 2026CONTRA: Red-Teaming Configurations of Personalizable Agentscited by 0
- 2026Compositional Threat Analysis of Latent Compromise in LLM Agent Systems: The Order 66 Scenariocited by 0
- 2026Agentic Societies Need a Social Harnesscited by 0
- 2026Share-Borne AI Virus: Memory-Hopping Attacks Across LLM Agentscited by 0
12 most cited of 13 All 13 (JSON)
- 2026Memetic Trojans: Social Contagions as Carriers of Adversarial Payloads in Agent Networks30 Sep 2026
- 2026Share-Borne AI Virus: Memory-Hopping Attacks Across LLM Agents28 Sep 2026
- 2026Agentic Societies Need a Social Harness15 Sep 2026
- 2026SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systems1 Sep 2026
- 2026EVOMAL: Self-Poisoning in Self-Evolving Coding Agents26 Aug 2026
- 2026Mind Viruses: Self-Propagating Ideas in Multi-Agent LLM Systems10 Aug 2026
- 2026Compositional Threat Analysis of Latent Compromise in LLM Agent Systems: The Order 66 Scenario8 Aug 2026
- 2026CONTRA: Red-Teaming Configurations of Personalizable Agents3 Jul 2026
- 2026Safety in Self-Evolving LLM Agent Systems: Threats, Amplification, and Case Studies22 Jun 2026
- 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasures25 May 2026
- 2026State Contamination in Memory-Augmented LLM Agents16 May 2026
- 2026When Routine Chats Turn Toxic: Unintended Long-Term State Poisoning in Personalized Agents7 May 2026
12 newest of 13 All 13 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Taming OpenClaw: Security Analysis and Mitigation of Autonomous LLM Agent Threats
- 2026A Security Analysis of the OpenClaw AI Agent Framework
- 2026Security Attack and Defense Strategies for Autonomous Agent Frameworks: A Layered Review with OpenClaw as a Case Study
- 2026OpenClaw PRISM: A Zero-Fork, Defense-in-Depth Runtime Security Layer for Tool-Augmented LLM Agents
- 2026AgentLAB: Benchmarking LLM Agents against Long-Horizon Attacks
- 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflows
- 2026Early Detection of Distributed Backdoors in Multi-Agent LLM Systems: A Characterization Study
- 2026AI Agents Enable Adaptive Computer Worms