MemoryDojo: Benchmarking Poisoning Through LLM Agent Memory
David H. Yang, Blake Bullwinkel, Amanda Minnich, Mohammad Mohammadi Amiri, Giorgio Severi
Key points
From the paper's conclusion- We hope that MemoryDojo will support research on understanding and mitigating agentic memory risks.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- MemHarmBench: Evaluating Cross-Session Prompt Injection in Memory-Persistent AI AgentsarXiv · 2026
- When Malicious Instructions Persist: Persistent Memory Poisoning Attack on Harness-Based AgentsarXiv · 2026
- MemSentry: A Framework for Detecting Persistent Memory Poisoning in Agentic AIarXiv · 2026
- BMA: Backchain Memory Attacks Create Unauthorized Control Paths in LLM AgentsarXiv · 2026
- On Private Knowledge Retrieval and Private Inference for secure multi-agent systemsarXiv · 2026
- The Price of Safety: Benign-Case Utility and Token Overhead of Memory-Poisoning Defenses in LLM AgentsarXiv · 2026