Submitted:
25 November 2026
Posted:
26 November 2026
You are already at the latest version
Abstract
LLM agents edit their own persistent memory, and the right to erasure gives users a legitimate reason to ask them to forget. When operators store safety rules there, a forget request can remove the rule that forbids the action an adversary wants next. We measure this weaponized forgetting threat with matched sham and active controls and an internal pre-analysis plan. With Qwen2.5-7B and no defense, erasure removed the targeted rule in 92.8% of episodes and raised forbidden actions from 38.9% after a sham session to 81.7% (+42.8 points; 95% interval resampling rules [17.6, 69.7]). The effect was smaller on Qwen3-8B and undetected on Llama-3.1-8B, so our replication criterion failed. Prompt- and judge-based defenses reduce the harm; enforcing the policy outside editable memory removed measured violations of tool-checkable rules through guarded tools. For run-time policy updates over untrusted storage, we propose PolicyVault: owner-signed, versioned operations replayed from an untrusted log, challenge-response freshness and an enforcer that reads only this partition. We prove authenticity and freshness under EUF-CMA, given a trusted counter, clock and verifier that our prototype only simulates, and test the code by model-based and mutation testing. Confirmatory experiments use open 3-9B models, quantised to 4 bits and run locally.
Keywords:
LLM agents
; agent memory
; machine unlearning
; right to erasure
; prompt injection
; reference monitor
; authenticated policy
; rollback protection
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.