Autonomous LLM Agent Worms: Cross-Platform Propagation, Automated Discovery and Temporal Re-Entry Defense
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Autonomous LLM agents operate as long-running processes with persistent workspaces, memory files, scheduled task state, and messaging integrations. These features create a new propagation risk: attacker-influenced content can be written into persistent agent state, re-enter the LLM decision context through scheduled autoloading, and drive high-risk actions including configuration changes and cross-agent transmission. We present the first systematic framework for automated analysis of persistent worm propagation in file-backed multi-agent LLM ecosystems. SSCGV, our automated source-code graph analyzer, traces data flow from file I/O to LLM context injection points and ranks carriers by context injection position without manual analysis. SRPO, our summary-resilient payload optimizer, generates worm payloads robust to LLM-mediated summarization and paraphrasing across multi-hop communication. Evaluated on three production agent frameworks, we demonstrate zero-click autonomous propagation, 3-hop cross-platform transmission without platform-specific adaptation, inter-agent privilege escalation, and data exfiltration. We identify two empirical insights: user prompt carriers achieve higher attack compliance than system prompt carriers, and read operations represent the primary integrity threat in LLM-mediated systems. To defend against this class of attacks, we develop RTW-A, proven under a formal No Persistent Worm Propagation theorem. RTW blocks write-before-exposed-read re-entry; sealed configuration protects static files; typed memory promotion prevents untrusted summaries from entering trusted memory; and capability attenuation limits high-risk actions after external reads. These mechanisms eliminate the persistence, re-entry, action chain while preserving ordinary workflows. Affected systems are anonymized pending coordinated disclosure.
Key facts. Cited by 5 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 7 of its 12 references that are in the map. First posted on arXiv 4 May 2026.
Builds on
7 of 12 references.
Closest ancestors · 3
Same direction, newest first
- 2026AgentWorm: Self-Propagating Attacks Across LLM Agent Ecosystems16 Mar
- 2024Prompt Infection: LLM-to-LLM Prompt Injection within Multi-Agent Systems9 Oct
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases17 Jul
Other references · 4
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 441
- 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
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026MemLineage: Lineage-Guided Enforcement for LLM Agent Memorycited by 14
- 2026SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systemscited by 1
- 2026Revoked but Still Authoritative: An Empirical Study of Revocation Enforcement in Agent-Memory Systemscited by 0
- 2026Share-Borne AI Virus: Memory-Hopping Attacks Across LLM Agentscited by 0
- 2026Memetic Trojans: Social Contagions as Carriers of Adversarial Payloads in Agent Networkscited by 0
- 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
- 2026Revoked but Still Authoritative: An Empirical Study of Revocation Enforcement in Agent-Memory Systems8 Sep 2026
- 2026SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systems1 Sep 2026
- 2026MemLineage: Lineage-Guided Enforcement for LLM Agent Memory14 May 2026
Similar, not cited
Close in wording, no citation either way
- 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflows
- 2025The Dark Side of LLMs: Agent-based Attack Vectors for System-level Compromise
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation
- 2026Taming OpenClaw: Security Analysis and Mitigation of Autonomous LLM Agent Threats
- 2026PropGuard: Safeguarding LLM-MAS via Propagation-Aware Exploration and Remediation
- 2025Les Dissonances: Cross-Tool Harvesting and Polluting in Pool-of-Tools Empowered LLM Agents
- 2026Early Detection of Distributed Backdoors in Multi-Agent LLM Systems: A Characterization Study
- 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis