Ask, Forget, Repair: What Provenance-Gated Agent Memory Costs Across Six Language Models
On the map: LLM agents and tool use → Agent threats, guardrails and governance
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.
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.
Builds on
31 of 35 references.
Closest ancestors · 17
Same direction, newest first
- 2026MemoryDojo: Benchmarking Poisoning Through LLM Agent Memory6 Nov
- 2026PerMIT: Securing Persistent Memory for LLM Agents via Machine-Checked Integrity Theorems and Scalable Community Trust20 Oct
- 2026The Price of Safety: Benign-Case Utility and Token Overhead of Memory-Poisoning Defenses in LLM Agents19 Sep
- 2026Agent Memory Is a Surface for Endogenous Authorization Laundering1 Sep
- 2026Understanding Stage-Wise Utility-Risk Trade-offs in LLM Agent Memory31 Aug
- 2026Memory Provenance Laundering in LLM Agents: A Non-Amplification Firewall for Persistent Memory31 Jul
- 2026MemSecBench: Tracking Agent Memory Poisoning from Persistence to Consequence and Repair29 Jul
- 2026MemPoison: Uncovering Persistent Memory Threats and Structural Blind Spots in LLM Agents16 Jul
- 2026When Agents Remember Too Much: Memory Poisoning Attacks on Large Language Model Agents6 Jul
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guarantees23 Jun
- 2026From Untrusted Input to Trusted Memory: A Systematic Study of Memory Poisoning Attacks in LLM Agents3 Jun
- 2026Hidden in Memory: Sleeper Memory Poisoning in LLM Agents14 May
5 more
- 2026MemLineage: Lineage-Guided Enforcement for LLM Agent Memory14 May
- 2026A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecycle17 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 · 14
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,654
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 577
- 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 325
- 2025The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against Llm Jailbreaks and Prompt Injectionscited by 171
- 2025Securing AI Agents with Information-Flow Controlcited by 155
- 2025Lessons from Defending Gemini Against Indirect Prompt Injectionscited by 49
- 2026When Memory Becomes Authority: Benchmarking Authority Collapse at the Memory Consolidation Boundarycited by 15
- 2026Optimizing Agent Planning for Security and Autonomycited by 14
- 2026AI Agents Push Humans Out of the Loopcited by 8
- 2026Manufactured Confidence: How Memory Consolidation Turns Hearsay into Confident Factscited by 5
- 2026Sleeper Channels and Provenance Gates: Persistent Prompt Injection in Always-on Autonomous AI Agentscited by 3
- 2026Utility Under Attack: Agent Memory Poisoning and the Limits of Content Screening and Provenance Rankingcited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026When Does Belief-Based Agent Memory Help? Reliability-Conditional Updating and Provenance-Capped Poisoning Defense
- 2026MAP-Graph: Provenance-Aware Shared Memory for Multi-Agent Workflows
- 2026Your Agent's Memories Are Not Its Own: Forged Reasoning Attacks on LLM Agent Memory and Defenses
- 2026Plant, Persist, Trigger: Sleeper Attack on Large Language Model Agents
- 2026SAFE-Mem: Secure Agentic Memory with Fine-Grained Authority and Governance-Aware Retrieval
- 2026Proof-of-Execution Memory: Defending LLM Agents Against Forged-Reasoning Attacks by Verifying What Actually Happened
- 2026From Faulty Memories to Corrected Actions: Dependency-Guided Rollback Repair for Memory-Augmented Agents
- 2026Bad Memory: Evaluating Prompt Injection Risks from Memory in Agentic Systems