Skip to content

Ask, Forget, Fix: The Cost of Source-Gated Agent Memory Across Six LLMsAsk, Forget, Repair: What Provenance-Gated Agent Memory Costs Across Six Language Models

arXiv: 其他 AI 安全论文· arXiv:2611.36401· Radhika Motwani·Indexed by this site · 5 hr ago· Originally publishedSelected Defenses· Its place in the scan record →SelectedAttention41

Quick read

Based on the paper's full text (AI-generated); refer to the original

AI summaryThe authors measured the effectiveness and cost of a source-gated memory defense across six LLMs on a synthetic background workload of 60-turn sessions, implanting 150 memories per model and comparing three conditions: no defense, showing source labels to the model only, and enforcement by the runtime. Without defense, attack success rates ranged from 2% for Claude Haiku 5.5 to 93% for Llama 4 Maverick; showing labels alone brought four models down to 0–1%, but GPT-6.1 Terra was at 15% and Llama at 67%. With runtime enforcement, none of five models had a successful implant, and Llama's remaining 4.7% all came from confirmation prompts simulating user approval. Without attacks, all six models' correct completion rate without user intervention dropped to 86%, and each legitimate fact from an external source required one additional user confirmation, accounting for about 14% of requests on this workload. The authors state that the implanted text was a fixed template, the tasks and users were simulated, and the results are a lower bound on attack success rate and a first measurement of cost rather than a model ranking; the code, workload, and all model replies have been released.

Questions
A long-term-memory agent may have malicious content implanted during one session and exploited in later sessions. Prior work has shown that provenance gating can block attacks, but it rarely measures its cost, and it is unclear how much of the protection comes from the model itself versus from the runtime.
Methods
Six models from four vendors ran the same 60-session synthetic back-office workload, with 150 memories implanted per model, comparing three conditions: no defense, showing provenance labels to the model only without enforcement, and enforcing the same labels by the runtime.
Experiments and results
Without defenses, implanted items caused erroneous actions at a rate of 2%–93%; with labels shown only, four models dropped to 0–1%, while the other two remained at 15% and 67%; with enforcement, no implanted item succeeded except when the simulated user approved a bad confirmation. Without an attacker, enforcement uniformly reduced the proportion of tasks completed correctly without user intervention to 86%, with each legitimate external fact requiring one user interaction.
Limitations and future work
The attacks are fixed templates and not adaptive to defenses, the tasks are synthetic, and the users are simulated, so the results are a lower bound on attack success rate and a first measurement of cost, not a model ranking; adaptive attacks, real users, and real retrieval were not tested, and the fix was tested only for whether implanted items were removed, not for legitimate memories deleted along with them.
Why it was selectedThe paper quantifies the cost of a source-gated memory defense on the same workload: without attacks, all six models' correct completion rate without user intervention dropped to 86%, providing a reference for deployers weighing security against usability.

The paper quantifies the cost of a source-gated memory defense on the same workload: without attacks, all six models' correct completion rate without user intervention dropped to 86%, providing a reference for deployers weighing security against usability.

Paper analysis in progress

Related events and news

1 events · 0 news mentions

Read originalarxiv.org