---
title: "Ask, Forget, Repair: What Provenance-Gated Agent Memory Costs Across Six Language Models"
authors:
  - "Radhika Motwani"
year: 2026
venue: "arXiv preprint (cs.CR)"
arxiv: "2611.36401"
doi: null
source: "https://arxiv.org/abs/2611.36401"
version_reviewed: "v1 (26 Nov 2026), arXiv HTML read in full"
topics:
  - "provenance-first-agent-memory"
  - "agent-failure-localization"
  - "memory-poisoning"
  - "model-vs-runtime"
  - "agent-security"
seed_rank: 2756
seed_batch: "frontier-2026-11-30"
reviewed: "2026-11-30"
pool: "agents"
relevance_score: 9
cites:
  - title: "Ask, Forget, Repair: What Provenance-Gated Agent Memory Costs Across Six Language Models"
    url: "https://arxiv.org/abs/2611.36401"
    year: 2026
    arxiv: "2611.36401"
    doi: null
  - title: "Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guarantees"
    url: "https://arxiv.org/abs/2606.24322"
    year: 2026
    arxiv: "2606.24322"
    doi: null
  - title: "PerMIT: Securing Persistent Memory for LLM Agents via Machine-Checked Integrity Theorems"
    url: "https://arxiv.org/abs/2610.28987"
    year: 2026
    arxiv: "2610.28987"
    doi: null
  - title: "Memory Provenance Laundering in LLM Agents: A Non-Amplification Firewall for Persistent Memory"
    url: "https://arxiv.org/abs/2607.29167"
    year: 2026
    arxiv: "2607.29167"
    doi: null
  - title: "Sleeper Channels and Provenance Gates: Persistent Prompt Injection in Always-on Autonomous AI Agents"
    url: "https://arxiv.org/abs/2605.13471"
    year: 2026
    arxiv: "2605.13471"
    doi: null
  - title: "MemLineage: Lineage-Guided Enforcement for LLM Agent Memory"
    url: "https://arxiv.org/abs/2605.14421"
    year: 2026
    arxiv: "2605.14421"
    doi: null
  - title: "MemSecBench: Tracking Agent Memory Poisoning from Persistence to Consequence and Repair"
    url: "https://arxiv.org/abs/2607.27080"
    year: 2026
    arxiv: "2607.27080"
    doi: null
---

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

## One-sentence takeaway

On one synthetic 60-session back-office workload, provenance labels that the runtime *enforces* stopped every planted memory item on all six models (unless a simulated user approved a bad confirmation). Labels that were only *shown* worked for four hosted models and failed for Llama 4 Maverick (67% attack success) and GPT-6.1 Terra (15%). The price with no attacker was the same for every model: correct-without-asking fell to 86%, because each legitimate outside fact costs exactly one exchange with the user before it is remembered as the user's own.

## Why it matters here

This is a clean model-versus-harness split on the provenance-first memory topic. The paper asks how much protection comes from the model's own caution and how much from the runtime, and answers with numbers: the label-respecting models got almost nothing extra from enforcement except a *lower* cost, while for the other models enforcement was the whole defense. For Broadside's memory design, it supports three concrete rules: keep trust levels apart during consolidation (merging let the user's own answers inherit an untrusted label and expiry), record provenance through the agent's own note-taking (otherwise retraction cannot find what a source influenced), and enforce gates outside the model, since "a model update can change" whether labels are respected. Related in-library context: 2720 (MGMem, provenance-preserving memory) and 2742 (skill supply chain); these bridges are this card's reading.

## Key ideas

- **Setup.** 60 sessions per run, five seeds, 135 user requests, 20 user-stated details, 15 legitimate details that arrive only in outside documents, and 30 planted items per run (extra action, override, fill gap; half blunt, half plain wording), so 150 planted items per model. Memory is consolidated every five sessions. The model only *proposes* what to store and what to do; the runtime stores, labels, retrieves, and decides what executes. Runs were made 22–25 Nov 2026 on 8,970 distinct replies, and every figure is recomputable from the saved replies.
- **Undefended poisoning is decided at write time.** Attack success with no defense ranged from 2% (Claude Haiku 5.5) to 93% (Llama 4 Maverick). Llama saved all 108 distinct planted documents. Once saved, a planted item usually succeeded (saved and successful shares differ by at most 15 points).
- **Labels shown vs labels enforced.** With visible but unenforced labels, Sonnet 5.5, Gemini 3.8 Flash and Haiku 5.5 never acted on untrusted memory when nothing trusted was available (0 of 566 cases); Luna did in 19/196, Terra 145/214, Llama 347/349. When a trusted and an untrusted entry were both in view, every model chose the trusted one (990/990). Under enforcement, only Llama had any success (4.7%), all through confirmation prompts a simulated user approved one time in ten.
- **Cost is per outside fact, not per request.** With no attacker, enforcement put every model at 86% correct-unprompted, because 15 first uses out of 105 relevant requests each needed one user exchange. Label-respecting models *ask* (9–13% of requests); Llama never asks, so the runtime gate fires about 10 confirmation prompts per 100 requests.
- **Labels without enforcement cost careful models more** (70–75% unprompted for Sonnet, Gemini and Haiku against 86% enforced), because consolidation merged the user's answer with untrusted entries on the same topic.
- **Repair depends on lineage.** After retracting every planted source, 67–93% of saved planted items remained with no defense (notes carried no source to retract by); with labels, none remained.

## Caveats

The author says it plainly: this is a measurement paper, not a new defense, and not a model ranking. Attacks are fixed templates that do not adapt, so attack-success figures are lower bounds. The workload is synthetic and written by the author, and retrieval is by exact topic handle rather than similarity. The simulated user always answers correctly when asked. There is one configuration per model and no significance tests, and four of the six models were reached through an aggregator. Repair is measured one-sidedly: collateral loss of legitimate memory under per-session labels is not measured. The model names are the versions the paper reports.

## Links

- arXiv abstract: https://arxiv.org/abs/2611.36401
- PDF: https://arxiv.org/pdf/2611.36401
- Code, workload and model replies (as stated in the paper): https://github.com/Radmo3/memgate
