arXiv AI

From Untrusted Input to Trusted Memory: A Systematic Study of Memory Poisoning Attacks in LLM Agents

arXiv:2606. 04329v1 Announce Type: cross Abstract: Memory is a core component of AI agents, enabling them to accumulate knowledge across interactions and improve performance.

Hugging Face Trending Papers
Nov 6

MemoryDojo: Benchmarking Poisoning Through LLM Agent Memory

MemoryDojo is a benchmark that tracks how poisoned instructions can be stored in and retrieved from the memory systems of large language model agents, affecting their behavior in later sessions. It includes 155 multi‑session, long‑horizon trajectories across four domains and supports five distinct memory architectures. The study shows that all tested memory systems are vulnerable to poisoning, with varying downstream impacts, and introduces a memory‑aware optimization that can amplify poisoning effectiveness.

arXiv Computation and Language
Nov 9

MemoryDojo: Benchmarking Poisoning Through LLM Agent Memory

MemoryDojo is a benchmark designed to assess how poisoning attacks propagate through the memory systems of large language model agents. It tracks the lifecycle of poisoned information across 155 multi‑session, long‑horizon trajectories in four domains, covering five distinct memory architectures. The study shows that all tested memory systems are vulnerable, with varying downstream impacts, and introduces a memory‑aware poisoning optimization to amplify attack efficacy.

By David H. Yang, Blake Bullwinkel, Amanda Minnich, Mohammad Mohammadi Amiri, Giorgio Severi
arXiv AI
Sep 24

Safeguarding LLM Agents against Long-Horizon Threats via Shadow Memory

The paper introduces ShadowMem, a defensive framework that protects large language model agents from long-horizon threats by maintaining a dedicated safety-focused memory. Inspired by the shadow stack concept, ShadowMem stores safety-critical context throughout an agent’s execution and uses this shadow memory to evaluate the risk of upcoming actions before they are carried out. Experiments show that ShadowMem outperforms existing defenses in detection accuracy, detects most attacks early, and adds minimal overhead to agent performance.

By Yuhui Wang, Tanqiu Jiang, Jiacheng Liang, Charles Fleming, Ting Wang
arXiv Computation and Language
Nov 6

MemForm: Benchmarking Memory Formation Poisoning in LLM Agents

MemForm introduces a diagnostic benchmark for Memory Formation Poisoning in large language model agents, focusing on five interfaces—Content, Evidence, Scope, Selection, and Path—where adversarial manipulation can occur. The study evaluates six LLMs across two response formats, finding widespread vulnerability across all interfaces and demonstrating that even successful experiences can lead to unreliable behavior due to changes in contextual support, retention, or consolidation order. The work highlights that defense effectiveness varies by interface and memory architecture, underscoring the need to safeguard both what is stored and how memory is formed.

By Haowen Pan, Pengyang Shao, Yunshan Ma, Yanzheng Jin, Naixin Zhai, Xiang Wang, Xun Yang
arXiv AI
Jul 7

When Claws Remember but Do Not Tell: Stealthy Memory Injection in Persistent Personal Agents

arXiv:2607. 05189v1 Announce Type: cross Abstract: Persistent personal agents combine long-term memory with access to users' external environments, enabling personalized foreground assistance and proactive background execution.

By Yechao Zhang, Shiqian Zhao, Jiawen Zhang, Jie Zhang, Gelei Deng, Xiaogeng Liu, Chaowei Xiao, Tianwei Zhang
arXiv Machine Learning
Oct 22

Combining Long-Term Memory and LLMs Comes at a High Cost: From Prompt Injection to Persistent Compromise

The paper investigates a new vulnerability called memory injection, where malicious prompts can persist across sessions in modern LLM‑as‑a‑service platforms. By demonstrating that all NIST attack goals can be achieved on ChatGPT Instant 5.3, Claude Sonnet 4.6, and Gemini 3 Flash, the authors show that these services can spread disinformation, generate harmful content, or cause offline unresponsiveness even in fresh sessions. The study also reveals that many proposed defenses are not yet implemented and provides datasets and artifacts for further research.

By Pedro H. Barcha Correia, Matheus Azevedo de S\'a, Paulo H. Gomes de Senna, Giovanni Mandel Martignago, Victor Takashi Hayashi, Charles Christian Miers, Marcos A. Simplicio Jr
Hugging Face Trending Papers
Oct 9

Forgetting is Not Always Bad: A Neuro-Inspired Memory Repair Mechanism for Poisoned LLM Agents

Large language model agents are vulnerable to memory‑poisoning attacks, and existing defenses rely on external modules that are memory‑inefficient and computationally heavy. The paper introduces DREAM, a training‑free, agent‑intrinsic memory repair framework that uses weak reactivation to destabilize malicious memories, anomaly detection on activation patterns, and selective suppression of harmful memories while reinforcing benign ones. Experiments show DREAM cuts backdoor attack success by over 95 % and improves runtime and token efficiency compared to A‑MemGuard, while maintaining high task success on poisoned multi‑agent systems.