MemPoison: Uncovering Persistent Memory Threats and Structural Blind Spots in LLM Agents
Summary
MemPoison is a new benchmark and analysis framework designed to uncover persistent memory threats and structural blind spots within LLM agents. It addresses the critical security vulnerabilities introduced by external memory, where adversarial content can be injected through standard interaction channels, retained across turns, subsequently distorting downstream agent behavior. The framework comprises 1227 hand-validated cases, spanning four attack types, three injection channels, and three representative memory substrates, evaluated across seven open-weight and three closed-weight model families. MemPoison introduces a three-tier taxonomy: L1 direct single-record corruption, L2 compositional multi-record corruption, and L3 context-triggered dormant corruption. Evaluations reveal that while baseline write-time defenses effectively suppress L1 attacks, they consistently fail against L2 and L3 threats. Mechanistic influence decomposition (MID) highlights structural blind spots in these defenses, which permit seemingly benign records to become harmful through joint retrieval composition or trigger-conditioned activation.
Key takeaway
For AI Security Engineers developing LLM agents with external memory, you must move beyond static write-time defenses. Your current consistency checks are likely insufficient against compositional (L2) and context-triggered (L3) memory corruption, leaving agents vulnerable to persistent adversarial influence. Implement adaptive, context-sensitive memory defense strategies that account for joint retrieval composition and trigger-conditioned activation to secure your systems effectively.
Key insights
LLM agent external memory introduces persistent, complex vulnerabilities that static write-time defenses fail to address.
Principles
- External memory enables persistent adversarial influence.
- Static write-time defenses have structural blind spots.
- Adaptive, context-sensitive defense is needed.
Method
MemPoison benchmarks LLM agents using 1227 cases across 4 attack types and a 3-tier taxonomy, employing Mechanistic Influence Decomposition (MID) to reveal defense failures.
In practice
- Test LLM agents for L2/L3 memory corruption.
- Develop adaptive memory defense strategies.
- Apply MID to analyze defense vulnerabilities.
Topics
- LLM Agents
- External Memory Security
- Adversarial Attacks
- MemPoison Benchmark
- Write-Time Defenses
- Context-Sensitive Defenses
Best for: AI Architect, Research Scientist, CTO, AI Scientist, AI Security Engineer
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.