Research · July 7, 2026
Defense effectiveness across architectural layers: a mechanistic evaluation of persistent memory attacks on stateful LLM agents
Reported by arXiv cs.AI + cs.CL
In short
A large-scale evaluation of six defenses against persistent memory attacks on LLM agents finds that five fail because safety classifiers never see the injected payload, which enters through RAG retrieval and survives across sessions. Only tool-gating at the memory layer cuts the attack success rate to zero for most models, though reasoning models can bypass even that via goal-directed RAG fallback.
Why it matters
Developers building stateful or memory-enabled AI agents need to know that standard input filters are blind to RAG-injected prompt injections, and that memory-layer gating is currently the only reliable mitigation.
Terms used in this story
Read the original reporting
arXiv cs.AI + cs.CL (opens in a new tab)AI Download summarizes and links to the news. We do not republish full articles.