Trojan Hippo: Weaponizing Agent Memory for Data Exfiltration
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Memory systems enable otherwise stateless LLM agents to persist user information across sessions, but also introduce a new attack surface. The Trojan Hippo attack is a class of persistent memory attacks that operates under a more realistic threat model than prior memory poisoning work. The attacker plants a dormant payload into an agent's long-term memory via a single untrusted tool call (e.g., a crafted email), which activates only when the user later discusses sensitive topics such as finance, health, or identity, and exfiltrates high-value personal data to the attacker. While anecdotal demonstrations of such attacks have appeared against deployed systems, no prior work systematically evaluates them across heterogeneous memory architectures and defenses. We introduce Trojan Hippo Bench, a dynamic evaluation framework for persistent memory attacks and memory-layer defenses, comprising two components, (1) an OpenEvolve-based adaptive red-teaming benchmark that stress-tests defenses and memory backends against continuously refined attacks, and (2) a capability-aware security-utility analysis for persistent memory systems, enabling principled reasoning about defense deployment across different usage profiles. Instantiated on an email assistant across four memory backends (explicit tool memory, agentic memory, RAG, and sliding-window context), the undefended Trojan Hippo attack achieves up to 85-100% attack success rate (ASR) against current frontier models from OpenAI and Google, with planted memories successfully activating even after 100 benign sessions. We evaluate four memory-system defenses inspired by basic security principles; they reduce attack success to as low as 0-5%, but at utility costs that vary widely with the task mix. Effective real-world deployment thus remains an open challenge that Trojan Hippo Bench is built to study; we release it to support reuse and extension.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 21 of its 60 references that are in the map. First posted on arXiv 3 May 2026.
Builds on
21 of 60 references.
Closest ancestors · 11
Same direction, newest first
- 2026Poison Once, Exploit Forever: Environment-Injected Memory Poisoning Attacks on Web Agents3 Apr
- 2025Securing AI Agents Against Prompt Injection Attacks19 Nov
- 2025Exploiting Web Search Tools of AI Agents for Data Exfiltration10 Oct
- 2025CommandSans: Securing AI Agents with Surgical Precision Prompt Sanitization9 Oct
- 2025A-MemGuard: A Proactive Defense Framework for LLM-Based Agent Memory29 Sep
- 2025AgentVigil: Generic Black-Box Red-teaming for Indirect Prompt Injection against LLM Agents9 May
- 2025Securing Agentic AI: A Comprehensive Threat Model and Mitigation Framework for Generative AI Agents28 Apr
- 2025Progent: Securing AI Agents with Privilege Control16 Apr
- 2025Defeating Prompt Injections by Design24 Mar
- 2025Memory Injection Attacks on LLM Agents via Query-Only Interaction5 Mar
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases17 Jul
Other references · 10
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 830
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
- 2025Memory in the Age of AI Agentscited by 303
- 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 267
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactionscited by 254
- 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 210
Built on by
Citing papers per year: 2026: 12.
12 papers.
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guaranteescited by 18
- 2026Safeguarding LLM Agents against Long-Horizon Threats via Shadow Memorycited by 7
- 2026Injection-Execution Dissociation: A Mechanistic Evaluation of Persistent Memory Attacks and Defenses in Stateful LLM Agentscited by 5
- 2026Deployment-Time Memorization in Foundation-Model Agentscited by 4
- 2026MemSecBench: Tracking Agent Memory Poisoning from Persistence to Consequence and Repaircited by 4
- 2026HarnessSafe: Evaluating Safety Across Persistent Carriers in Agent Harnessescited by 3
- 2026Stateful Agent Backdoorcited by 1
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directionscited by 1
- 2026MemSentry: A Framework for Detecting Persistent Memory Poisoning in Agentic AIcited by 0
- 2026Reflections on Trusting Trust, Revisited: Contaminating Self-Modifying AI Coding Agents with Poisoned Benchmarkscited by 0
- 2026Beyond Predictable Paths: Redefining AI Security Incident Reporting for Agentscited by 0
- 2026Share-Borne AI Virus: Memory-Hopping Attacks Across LLM Agentscited by 0
- 2026Share-Borne AI Virus: Memory-Hopping Attacks Across LLM Agents28 Sep 2026
- 2026Beyond Predictable Paths: Redefining AI Security Incident Reporting for Agents21 Sep 2026
- 2026Reflections on Trusting Trust, Revisited: Contaminating Self-Modifying AI Coding Agents with Poisoned Benchmarks15 Sep 2026
- 2026MemSentry: A Framework for Detecting Persistent Memory Poisoning in Agentic AI8 Sep 2026
- 2026HarnessSafe: Evaluating Safety Across Persistent Carriers in Agent Harnesses7 Aug 2026
- 2026MemSecBench: Tracking Agent Memory Poisoning from Persistence to Consequence and Repair29 Jul 2026
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directions14 Jul 2026
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guarantees23 Jun 2026
- 2026Deployment-Time Memorization in Foundation-Model Agents8 Jun 2026
- 2026Injection-Execution Dissociation: A Mechanistic Evaluation of Persistent Memory Attacks and Defenses in Stateful LLM Agents8 May 2026
- 2026Stateful Agent Backdoor7 May 2026
- 2026Safeguarding LLM Agents against Long-Horizon Threats via Shadow Memory4 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecycle
- 2026From Attack Success to Attack Severity: Counterfactual Memory Attacks on LLM Agents
- 2026SMSR: Certified Defence Against Runtime Memory Poisoning in Persistent LLM Agent Systems
- 2026Zombie Agents: Persistent Control of Self-Evolving LLM Agents via Self-Reinforcing Injections
- 2026MAFIA: Query-Only Memory Attacks via Probing and Factual Injection against Audited LLM Agents
- 2026MemPoison: Uncovering Persistent Memory Threats and Structural Blind Spots in LLM Agents
- 2026MAPLE-Guard: Memory-Aware Link Enforcement Against Memory-Link Poisoning in Multi-Agent Systems
- 2026The Price of Safety: Benign-Case Utility and Token Overhead of Memory-Poisoning Defenses in LLM Agents