Self-Propagating Attacks Across LLM Agent Ecosystems (March 2026)
FreeDemonstrates how attacks can autonomously propagate across interconnected LLM agents — worm-like self-spreading malware targeting agent ecosystems via MCP, tool chains, and shared memory
About Self-Propagating Attacks Across LLM Agent Ecosystems (March 2026)
AgentWorm is a research paper that introduces the first self-replicating worm attack specifically designed for autonomous LLM-based agent ecosystems. It demonstrates a fully autonomous infection cycle initiated by a single message: the worm hijacks a victim agent's core configuration to maintain persistent presence across session restarts, executes arbitrary payloads upon each reboot, and propagates 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, achieving a 63% aggregate attack success rate with sustained multi-hop propagation. The paper also evaluates defenses at three layers (prompt-level mitigations, built-in security controls, and ecosystem-wide measurement of public configurations) and shows that critical controls capable of breaking the infection loop are not enabled in any observed deployments. Cross-framework transferability experiments confirm the vulnerabilities are inherent to the autonomous agent design pattern.
Key Features
Pros & Cons
- First documented self-replicating worm for production-scale agent frameworks
- Extensive evaluation on multiple LLM backends and infection vectors
- Provides concrete attack success rate (63%) and propagation metrics
- Analyzes defenses at multiple layers including real community practice mitigations
- Demonstrates cross-framework transferability of vulnerabilities
- Attack success rate is 63%, not 100% reliable
- Requires specific agent framework (e.g., OpenClaw) for initial deployment
- Defenses evaluated are not enabled in any observed real-world deployment
- Primarily a research paper; not a ready-to-use security tool