mlsanityData to 7 Oct 2026

Autonomous LLM Agent Worms: Cross-Platform Propagation, Automated Discovery and Temporal Re-Entry Defense

arXiv 2605.02812 ↗First posted 4 May 2026cs.CRcited by 5

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

  1. 2026AgentWorm: Self-Propagating Attacks Across LLM Agent Ecosystems16 Mar
  2. 2024Prompt Infection: LLM-to-LLM Prompt Injection within Multi-Agent Systems9 Oct
  3. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases17 Jul

Other references · 4

  1. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  2. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 441
  3. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 325
  4. 2024Here Comes The AI Worm: Unleashing Zero-click Worms that Target GenAI-Powered Applicationscited by 58

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflows
  2. 2025The Dark Side of LLMs: Agent-based Attack Vectors for System-level Compromise
  3. 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation
  4. 2026Taming OpenClaw: Security Analysis and Mitigation of Autonomous LLM Agent Threats
  5. 2026PropGuard: Safeguarding LLM-MAS via Propagation-Aware Exploration and Remediation
  6. 2025Les Dissonances: Cross-Tool Harvesting and Polluting in Pool-of-Tools Empowered LLM Agents
  7. 2026Early Detection of Distributed Backdoors in Multi-Agent LLM Systems: A Characterization Study
  8. 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis