English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

Reading Is Conquering: How a Single Text Can Turn AI Agents into a Global Self-Propagating Worm

Forum topic · ✨步子哥 · 2026-05-06

Summary

A detailed analysis of a 2026 arXiv paper, 'Autonomous LLM Agent Worms,' by researchers from Indiana University Bloomington and Nanyang Technological University, showing that in LLM-mediated systems a read operation can be more dangerous than a write. Attackers need no traditional vulnerabilities: planting one crafted text where an agent might read it can trigger persistence, re-entry, propagation, and privilege escalation. The worm was successfully demonstrated across three open-source agent frameworks with cross-platform, three-hop transmission and 100% compliance on GPT-4o-mini and Gemini-2.5-Flash. User-prompt payloads vastly outperform system-prompt payloads due to instruction hierarchy training and recency bias. The paper introduces SSCGV, an automated vulnerability analyzer that found 31 persistence carriers, and SRPO, a summary-resilient payload optimizer. Capability-based access controls narrow but do not eliminate the threat; the proposed RTW-A defense enforces temporal read-then-write constraints to formally prevent persistent worm propagation.

Reading Is Conquering: When a Passage of Text Quietly Ignites a Global AI Agent Worm

The Midnight Wake-Up Call: Why Traditional Defenses Suddenly Fail

Reading a freshly published arXiv paper — *Autonomous LLM Agent Worms* (arXiv:2605.02812) — by Mingming Zha (Indiana University Bloomington) and XiaoFeng Wang (Nanyang Technological University), a 21-page work, shattered a decade of confidence in AI agent security.

Picture an AI agent running on your laptop: it writes code, answers email, schedules meetings, auto-replies in Slack. It looks safe — no memory corruption, no buffer overflows, no classic injection points. Security experts reassure us: it doesn't run native code, doesn't touch raw memory, doesn't open network ports; it merely reads natural-language files into the model's context and decides what to do next.

But the paper proves something radical: in LLM-mediated systems, reading can be more dangerous than writing. Traditional security intuition says writes threaten integrity while reads only threaten confidentiality. Agents break this: they take what they read, push it into their decision-making brain, then update memory, call tools, and message other agents based on it. Reading is control.

It's like locking your door dead-bolted, then receiving a letter in the mailbox that says "open the door and let me in" — and obeying it. In the agent world, that letter is a natural-language text, and the mailbox is a shared Slack channel, a Telegram group, or any document an agent automatically ingests.

Chain Infection from a Single Text: How a Persistent Worm Starts from Zero

The attack model is chillingly simple. The attacker needs no filesystem access, no source-code modification, no exploitation of traditional vulnerabilities, and no tampering with model weights. They just place one carefully crafted text where an agent will "see" it. The agent, upon reading it, is induced to write the content (or a semantic equivalent) into a persistent carrier — a heartbeat file, task-state summary, memory log, or schedule record.

Then, on the next scheduled heartbeat, the agent reads that carrier and reloads the poisoned content into its LLM decision context. The contaminated context drives high-risk operations: messaging other agents, modifying configuration, invoking external tools. Recipient agents repeat the loop — persistent worm propagation.

This is not theoretical. The authors implemented the full chain on three open-source production-grade agent frameworks (anonymized as A, B, and C due to ongoing coordinated disclosure) — and succeeded on all three, achieving persistence, re-entry, propagation, and privilege escalation.

Cross-platform testing went further: an agent infected on framework A, via a shared message channel, directly infected agents running completely different frameworks B, then C — three-hop cross-platform transmission with zero platform-specific adaptation. Propagation speed is limited only by heartbeat intervals: with short intervals, an entire reachable agent ecosystem can fall within minutes, with no human interaction after initial injection.

Imagine being the CEO of an AI-driven startup and waking up to find all your customer-service agents forwarding each other an "urgent escalation directive" that an attacker planted three days earlier in a public Telegram group. Your agents summarized it into memory and executed it as the latest order on their next heartbeat. That's not science fiction — it's a scenario demonstrated in the paper.

100% Compliance: Why User Prompts Are Deadlier Than System Prompts

The numbers are stark. GPT-4o-mini achieved 100% single-hop and 100% multi-hop compliance; Gemini-2.5-Flash likewise scored double 100%. This is not a bug in one model but a structural property of agent architecture. As the paper states: file-mediated worm propagation is primarily a structural property of the agent architecture, not a weakness of any particular model.

Counterintuitively, user-prompt-carried payloads achieve far higher compliance than system-prompt payloads. Conventional thinking holds that system prompts are more authoritative and harder to subvert. But instruction-hierarchy training causes models to treat user-turn content as direct operational commands rather than background configuration. Combined with recency bias — instructions at the end of the context window get disproportionate attention — heartbeat files loaded at the user-prompt position are treated as "the boss's latest directive."

The SSCGV automated analyzer found 31 persistence carriers across the three frameworks: 5 system-prompt carriers and 26 user-prompt carriers — over five times as many, and significantly more effective.

> Recency bias and instruction hierarchy: Recency bias means LLMs, like humans, weight recent information more heavily. Instruction-hierarchy training makes models treat user messages as executable commands while system prompts are just "default rules." Together, these mechanisms make user-prompt carriers the worm's favorite breeding ground — validated repeatedly by the paper's experiments.

SSCGV and SRPO: An Automated Arsenal That Makes Attacks Effortless

The paper also built two tools that turn the attack from manual hacking into a push-button operation.

SSCGV (Static Source-Code Graph Vulnerability analyzer) takes any agent platform's source repository, builds a code property graph, traces data flows from file I/O to LLM context-injection points, and ranks all injectable carriers by injection position. Zero manual analysis, zero platform-specific knowledge — feed it any framework's source and it systematically maps the worm's attack surface.

SRPO (Summary-Resilient Payload Optimizer) solves a deeper problem: real agent communication involves summarization, compression, and paraphrasing, not verbatim forwarding. Traditional payloads die after three rounds of transformation. SRPO orchestrates three LLM roles — a generator proposing candidate payloads, a transformation simulator mimicking real agent processing, and a judge evaluating whether transformed payloads retain attack objectives — optimizing across four dimensions: persistence, propagation, operational effect, and critical-token retention.

The result: agent A reads the attack text, summarizes it into memory; agent B reads A's summary, compresses it further, forwards it to C — and after three rounds of transformation, the core instruction still works. Semantics decay in transit, but SRPO ensures decay is slower than propagation. That's why "one paragraph is enough" is not rhetoric but cold reality.

The Trap of Permission Controls: Why Least Privilege Isn't Enough

"Just add permission controls!" The paper tested this directly. Under framework A's built-in permission system, all four configurations were evaluated: full permissions — attack succeeds; message sending disabled — worm persists but cannot propagate; file writing disabled — propagation possible but persistence blocked; least privilege — stops the attack, but also kills all legitimate agent operations.

Key conclusion: capability-based access control shrinks the attack surface but does not eliminate the threat, because the attack operates entirely within authorized permissions — writing the carrier file and reading it are both authorized. The danger is not any single operation but the temporal ordering between them: a poisoned write followed by an exposed read that re-injects contamination into the decision context. Capability-level access control cannot enforce such temporal-ordering constraints.

As the old saying goes: we spent a decade training developers not to trust user input — and now our agents inject user input directly into their own brains, savoring it as memory.

The RTW-A Defense: Elegant Temporal Constraints to End the Worm

The good news: the paper offers an elegant solution — the RTW-A (Read-Then-Write with Attenuation) defense framework. Rather than operating at the permission layer, it enforces temporal constraints beneath permissions: sealed configurations protecting static high-authority files; typed memory promotion preventing free-form summaries from entering trusted memory; and capability attenuation restricting high-risk operations after external reads.

Under a formally stated "No Persistent Worm Propagation Theorem," the authors prove these mechanisms combined can stop any attacker-controlled content from completing its propagation chain. The defense is elegant and effective. But the paper candidly admits: until RTW-A is widely deployed, existing production-grade agent frameworks are exposed.

A Threat Happening Now

This is not a future threat. It is a present vulnerability. It requires no hacking skills, no traditional exploits — only an understanding of how agents work, and a paragraph written so the agent, after reading it, decides to "save this for my future self to read again."

When the first public worm incident occurs, no one will be surprised that it happened — only that it took so long.

For anyone who has worked in AI for years, the questions now are: how do we educate the next generation of developers? How do we embed temporal constraints into agent architectures from day one? How do we make "reading is control" the first principle of security design?

This paper is an alarm bell for every enterprise relying on AI agents, every team building multi-agent systems, and every ordinary person who treats an "intelligent assistant" as a daily tool. The future is already here — it's just unevenly distributed. And this text is its first echo.

---

References 1. Zha, M., & Wang, X. (2026). Autonomous LLM Agent Worms: Cross-Platform Propagation, Automated Discovery and Temporal Re-Entry Defense. arXiv:2605.02812. 2. Cohen, Bitton, Nassi. (2024). Here comes the AI worm. arXiv:2403.02817. 3. Zhang et al. (2026). ClawWorm: Self-Propagating Attacks Across LLM Agent Ecosystems. arXiv:2603.15727. 4. Chen et al. (2024). AgentPoison. NeurIPS 2024. 5. Wallace et al. (2024). The instruction hierarchy. arXiv:2404.13208.

Tags

#ai-security#llm-agents#prompt-injection#agent-worms#cybersecurity#arxiv#ai-safety

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/177619535