Write-time defenses stop simple memory poisoning but miss compositional and trigger-based attacks
Baseline write-time defenses suppress direct memory corruption but fail to reliably block compositional and context-triggered poisoning
AI/ML arXiv 16 Jul 2026 Benchmark Prototype evidence
Published as “MemPoison: Uncovering Persistent Memory Threats and Structural Blind Spots in LLM Agents”
Why it matters
Existing write-time filters are insufficient for realistic persistent memory attacks, indicating a need for adaptive, context-aware defenses across the memory lifecycle.
Summary
Write-time defenses can block direct single-record (L1) poisoning but fail to reliably stop compositional (L2) and trigger-conditioned (L3) attacks. In an undefended setting, all ten evaluated models exhibit high clean accuracy (≈94%) yet suffer substantial behavioral corruption, with BCR between 53.65% and 66.87%. The best overall defense (MIXED) cuts BCR to 10.70% while keeping clean accuracy at 93.77%, but residual failures remain especially for L2 and L3. Mechanistic Influence Decomposition shows that L2 attacks depend on joint retrieval of multiple plausible fragments and L3 attacks activate only under specific triggers, exposing structural blind spots in existing defenses.
What they found 4
- Write-time defenses suppress L1 attacks but not L2/L3 attacks
“while baseline write-time defenses, such as consistency checks, substantially suppress direct L1 attacks, they fail to reliably suppress L2 and L3 attacks.”
- Undefended agents suffer high behavioral corruption
“with BCR ranging from 0.5365 to 0.6687.”
- The MIXED defense achieves the lowest overall BCR
“The strongest overall performance is achieved by MIXED, which reduces BCR to 10.70% while maintaining 93.77% CleanAcc”
- Even with write-time filtering, a sizable fraction of L1 cases remain causally harmful
“L1, writetime filtering blocks 40.19% of cases, though 25.79% remain residual causal”
Caveats 3
- Write-time filtering still leaves 25.79% of L1 cases as residual causal, showing incomplete mitigation even for the simplest attack tier.
- Our study focuses on three representative memory substrates that capture widely adopted memory abstractions in current LLM agents.
- MemPoison currently centers on textbased poisoning through standard interaction channels, providing a controlled and reproducible setting for studying persistent memory corruption.
What’s new here 4
- A unified benchmark (MemPoisonBench) with 1,227 hand-validated cases covering four attack types, three injection channels, and three memory substrates.
- A three-level threat taxonomy (L1-L3) that captures direct, compositional, and trigger-conditioned poisoning beyond prior single-record focus.
- Mechanistic Influence Decomposition (MID) to diagnose how poisoned records influence model outputs across retrieval contexts.
- Cross-model evaluation on seven open-weight and three closed-weight LLM families, revealing a defense frontier across attack difficulty levels.