Defense Effectiveness Across Architectural Layers: A Mechanistic Evaluation of Persistent Memory Attacks on Stateful LLM Agents

Jun Wen Leong · 2026

Read Defense Effectiveness Across Architectural Layers: A Mechanistic Evaluation of Persistent Memory Attacks on Stateful LLM Agents by Jun Wen Leong (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-08442.txt.

Description

Jun Wen Leong separates two safety questions that agent designers often merge. Did a prompt injection get stored? And did it later get executed? In agents with persistent memory, poisoned instructions were written to memory in over ninety-seven percent of runs. Eventual execution ranged from zero to ninety-five percent. It had no link to the storage rate.

Leong calls this the injection-execution dissociation. A factorial experiment ran more than five thousand trials across nine open models. It tested six defenses at four architectural layers. The attacks used delayed triggers that survive across sessions through retrieval. The lesson is structural. Blocking storage cannot substitute for enforcing authority boundaries between remembering and acting.

Catalog record

CREATORJun Wen Leong
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE32 KB
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2605.08442

Browse the full library · About the Tower of Babel