Skip to content
Promptfoo LM Security DB·Indexed by this site · Originally published· Evaluation →SelectedAttention38

Deleted agent memory still remains in the live execution state

Deleted agent memory persists in live execution state

AI summary

A paper evaluates Agent memory revocation and finds that after deleting memory records, information still remains in the Agent's summaries, pending plans, and KV cache, with leakage rates of 0.86, 1.00, and 0.97 on three controlled suites. The evaluation covers Llama 3.1 8B Instruct, Qwen 2.5 7B Instruct, and Mistral 7B Instruct v0.3, with controlled stateful Agent sessions adapted from LongMemEval, ToolSandbox, and AgentDojo. Selective replay can achieve an effect comparable to a zero-leakage full reset reference. The paper states that this guarantee assumes state can be reconstructed, randomness is controlled, and side effects can be recovered, and that irreversible operations are outside the scope of the guarantee. The paper recommends tracking dependencies from information to summaries, plans, and caches, invalidating derived state when revoking access, and verifying that replay does not repeat consequential tool side effects.

Why it was selected

The paper measured that after deleting memory records, the leakage rates were still 0.86, 1.00, and 0.97, and recommends invalidating derived state such as summaries, plans, and the KV cache when revoking access.

Related papers
Read originalpromptfoo.dev