# Ask, Forget, Repair: What Provenance-Gated Agent Memory Costs Across Six Language Models

arXiv: https://arxiv.org/abs/2611.36401 · HTML: https://mlsanity.com/paper/2611.36401/

## Key facts

- No citing papers in the map yet (data through 29 Nov 2026).
- Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use.
- Builds on 31 of its 35 references that are in the map.
- Submitted 26 Nov 2026, announced 30 Nov 2026.

## Placed in

- LLM agents and tool use / [Agent threats, guardrails and governance](https://mlsanity.com/agents/agent-threats-guardrails-and-governance/)

## Builds on (most cited first, 30 of 31)

- [Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection](https://mlsanity.com/paper/2302.12173/) (2023)
- [The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions](https://mlsanity.com/paper/2404.13208/) (2024)
- [AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases](https://mlsanity.com/paper/2407.12784/) (2024)
- [Defeating Prompt Injections by Design](https://mlsanity.com/paper/2503.18813/) (2025)
- [Defending Against Indirect Prompt Injection Attacks With Spotlighting](https://mlsanity.com/paper/2403.14720/) (2024)
- [The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against Llm Jailbreaks and Prompt Injections](https://mlsanity.com/paper/2510.09023/) (2025)
- [Memory Injection Attacks on LLM Agents via Query-Only Interaction](https://mlsanity.com/paper/2503.03704/) (2025)
- [Securing AI Agents with Information-Flow Control](https://mlsanity.com/paper/2505.23643/) (2025)
- [Lessons from Defending Gemini Against Indirect Prompt Injections](https://mlsanity.com/paper/2505.14534/) (2025)
- [From Untrusted Input to Trusted Memory: A Systematic Study of Memory Poisoning Attacks in LLM Agents](https://mlsanity.com/paper/2606.04329/) (2026)
- [Hidden in Memory: Sleeper Memory Poisoning in LLM Agents](https://mlsanity.com/paper/2605.15338/) (2026)
- [A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecycle](https://mlsanity.com/paper/2604.16548/) (2026)
- [Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guarantees](https://mlsanity.com/paper/2606.24322/) (2026)
- [MemLineage: Lineage-Guided Enforcement for LLM Agent Memory](https://mlsanity.com/paper/2605.14421/) (2026)
- [When Memory Becomes Authority: Benchmarking Authority Collapse at the Memory Consolidation Boundary](https://mlsanity.com/paper/2608.01679/) (2026)
- [Optimizing Agent Planning for Security and Autonomy](https://mlsanity.com/paper/2602.11416/) (2026)
- [Agent Memory Is a Surface for Endogenous Authorization Laundering](https://mlsanity.com/paper/2609.01836/) (2026)
- [Memory Provenance Laundering in LLM Agents: A Non-Amplification Firewall for Persistent Memory](https://mlsanity.com/paper/2607.29167/) (2026)
- [When Agents Remember Too Much: Memory Poisoning Attacks on Large Language Model Agents](https://mlsanity.com/paper/2607.06595/) (2026)
- [MemPoison: Uncovering Persistent Memory Threats and Structural Blind Spots in LLM Agents](https://mlsanity.com/paper/2607.14651/) (2026)
- [MemSecBench: Tracking Agent Memory Poisoning from Persistence to Consequence and Repair](https://mlsanity.com/paper/2607.27080/) (2026)
- [AI Agents Push Humans Out of the Loop](https://mlsanity.com/paper/2608.23642/) (2026)
- [Manufactured Confidence: How Memory Consolidation Turns Hearsay into Confident Facts](https://mlsanity.com/paper/2606.29279/) (2026)
- [Sleeper Channels and Provenance Gates: Persistent Prompt Injection in Always-on Autonomous AI Agents](https://mlsanity.com/paper/2605.13471/) (2026)
- [Utility Under Attack: Agent Memory Poisoning and the Limits of Content Screening and Provenance Ranking](https://mlsanity.com/paper/2608.21230/) (2026)
- [The Price of Safety: Benign-Case Utility and Token Overhead of Memory-Poisoning Defenses in LLM Agents](https://mlsanity.com/paper/2609.22818/) (2026)
- [PerMIT: Securing Persistent Memory for LLM Agents via Machine-Checked Integrity Theorems and Scalable Community Trust](https://mlsanity.com/paper/2610.28987/) (2026)
- [When Safety Becomes an Attack Surface: Manipulating Abstention in Tool-Using AI Agents](https://mlsanity.com/paper/2611.14864/) (2026)
- [Understanding Stage-Wise Utility-Risk Trade-offs in LLM Agent Memory](https://mlsanity.com/paper/2608.30177/) (2026)
- [When Should AI Agents Ask? Clarification Requests Under Limited Human Attention](https://mlsanity.com/paper/2610.41129/) (2026)

## Abstract (arXiv)

An agent with long-term memory can be poisoned in one session and exploited in a later one. A common defense is to record where each memory came from and to stop untrusted memories from driving consequential actions. Prior work shows that such defenses block attacks; much less is known about what they cost, or how much of the protection comes from the model and how much from the runtime. We run six current language models from four vendors as the agent in one 60-session synthetic back-office workload with 150 planted memory items per model, under three conditions: no defense, provenance labels that are shown to the model but not enforced, and the same labels enforced by the runtime. With no defense, planted items later caused a wrong action in 2% to 93% of cases depending on the model. Showing labels alone reduced this to 0-1% for four models but left 15% and 67% for the other two. With enforcement no planted item succeeded on any model unless a simulated user approved a bad confirmation. The defense is not free. With no attacker present, the share of requests completed correctly without involving the user fell to 86% for every model, a drop of 3 to 14 points: each legitimate fact that arrived from outside cost one exchange with the user, after which it was remembered as the user's own. The form of that exchange depends on the model. Models that respect labels ask the user; a model that ignores labels triggers runtime confirmation prompts. Labels without enforcement cost the label-respecting models more, up to 30 points, because merging let the user's answers inherit the untrusted label and expire. The planted texts are simple and do not adapt to the defense, the tasks are synthetic, and the user is simulated, so these results are a lower bound on attacks and a first measurement of cost, not a ranking of models. Code, workload and every model reply are released.
