Skip to content

Zombie Agent: Persistent Control of Self-Evolving LLM Agents via Self-Reinforcing InjectionZombie Agents: Persistent Control of Self-Evolving LLM Agents via Self-Reinforcing Injections

arXiv· arXiv:2602.15654· Xianglin Yang, Yufei He, Shuo Ji, Bryan Hooi, Jin Song Dong·Indexed by this site · 2026-10-12· Originally publishedSelected AttacksSelectedAttention39

Translation in progress — untranslated text is omitted.

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe paper formalizes a persistent attack called Zombie Agent, where an attacker, merely by leveraging web content they control, can cause a self-evolving LLM agent to write malicious payloads into long-term memory, which are then retrieved and triggered in subsequent unrelated sessions. The attack is divided into two phases: infection and trigger. For two types of memory implementations, sliding window and RAG, recursive self-replication and semantic alias strategies are respectively designed to counter truncation and relevance filtering. On Gemini-2.5-Flash and GLM-4.7-Flash, the payload retention rate for sliding window memory is 100%, and RAG memory writes about 240 payload copies, approximately 2.5 times the baseline; under three prompt-level defenses—Sandwich, Instructional, and Spotlight—the attack success rate remains above 60%. The authors therefore argue that single-session prompt filtering alone is insufficient to protect self-evolving agents, and that memory writing and retrieval should be included in the trusted computing base.

Questions
Self-evolving LLM agents write conversational observations to long-term memory and reuse them across sessions. Once an untrusted webpage is stored as memory, it may later be treated as instructions, causing a single indirect injection to drive unauthorized tool behavior even after the original context disappears. The authors argue that session-only prompt filtering is insufficient.
Methods
The attack is named Zombie Agent, black-box, with only indirect exposure through the attacker's webpage. During infection, a benign task reads in the payload, which is written via normal memory updates; later, an unrelated task retrieves the payload and triggers unauthorized actions. The sliding window uses self-replication to counter truncation, and RAG relies on semantic aliasing to increase Top-K hits for unrelated queries.
Experiments and results
Evaluated on Gemini-2.5-Flash and GLM-4.7-Flash with two memory types, but the figures do not indicate which model the numbers belong to. The authors report sliding window payload retention of 100%, baseline 0 after truncation; RAG copies ~240 vs baseline ~100. ASR for three instruction defenses on RAG still >60%.
Limitations and future work
The paper does not have a limitations section. The Conclusion calls for evaluating memory-side defenses under adaptive attackers and clarifying which designs and tool permissions are more likely to enable persistent compromise. The experiments use two models, two memory types, and three instruction defenses; the model attribution for the numbers in the figures is not reported, and quantitative benign utility results are not reported.
Why it was selectedThe paper provides a complete attack chain for cross-session persistent injection and persistence data on two types of memory architectures, which can be used to assess protection gaps in the memory writing stage.

The paper provides a complete attack chain for cross-session persistent injection and persistence data on two types of memory architectures, which can be used to assess protection gaps in the memory writing stage.

Related events and news

0 events · 1 news mentions

News that mentions this paper

Read originalarxiv.org