MemoryDojo: Benchmarking Poisoning Through LLM Agent Memory
David H. Yang, Blake Bullwinkel, Amanda Minnich, Mohammad Mohammadi Amiri, Giorgio Severi
Abstract
LLM agents benefit from using memory systems to improve performance on long-horizon, multi-session tasks. However, memory introduces a critical attack surface. Malicious instructions encountered in one session may be stored and propagated through memory before being retrieved and acted upon in later sessions. Because memory systems differ in how they process and retrieve information, the downstream effects of poisoning can vary significantly across systems. To quantify the effects of poisoning across different memory architectures, we introduce MemoryDojo, a benchmark for tracing the lifecycle of poisoned information through agent memory and measuring its influence on subsequent agent behavior. MemoryDojo is easily extensible, consists of 155 multi-session long-horizon trajectories covering four domains, and supports five different memory systems. Through our evaluation, we find that all memory systems are susceptible to memory poisoning, with substantial variation in downstream effects. We further propose a memory-aware poison optimization process that increases the poisoning efficacy, highlighting differences between memory architectures. We hope that MemoryDojo will support research on understanding and mitigating agentic memory risks.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI, cs.CL
Related papers
Poisoning Self-Evolving Security Policies in LLM Agents
Shared title terminologycs.CRAymen Noor, Honglu Jiang
FORGETMENOT: Auditing Memory Driven Privacy Risks in Commercial AI Agents
Shared title terminologycs.CRIsmat Jarin, Tu Le, Athina Markopoulou
Benchmarking Web Agent Defenses Against Adaptive Visual Prompt Injection
Shared title terminologycs.CRHaichuan Zhang, Zhiyuan Zhong, Shih-Chieh Dai et al.
BypassGym: A Benchmark for Evaluating AI Agents' Endpoint Defense Evasion Capabilities
Shared title terminologycs.CRWeifeng Yuan, Zifan Chen, Yucheng Zhang et al.
StealthyPoison: Manipulating LLM Agent Behavior through Procedural Poisoning of Third-Party Skills
Shared title terminologycs.CRJingfen Qiao, Rui Li, Shuaiqun Pan et al.
When Experience Becomes a Backdoor: Poisoning Self-Evolving LLM Agents via Failure-Aware Task Optimization
Shared title terminologycs.CRMinhua Lin, Zongyu Wu, Hanqing Lu et al.