← Lab /AI/ML

Deleted secrets often recover from LLM agents despite removal

LLM agents can reconstruct previously deleted secrets in about two thirds of queries

AI/ML arXiv 22 Oct 2026 Measurement Prototype evidence

Published as “AfterDeleteBench: Auditing Post-Deletion Information Persistence in LLM Agents”

Why it matters

Practitioners need to audit deletion at the agent-level, not just at storage, because residual derived state can still leak secrets.

Summary

AfterDeleteBench shows that deleting the original record in a persistent-memory LLM agent does not prevent the agent from later reconstructing the secret; a single direct query recovers the deleted secret in roughly two thirds of cases for Qwen2.5-7B-Instruct and 62-99% across Qwen, Mistral and Phi-3 even when no complete copy remains. The evidence comes from a controlled paired-world audit with synthetic secrets and hundreds of profiles, but it is limited to exact-string targets, deterministic memory transforms, and a fixed operator set.

What they found 2

  1. A single direct query recovers the deleted secret in roughly two thirds of matched profiles.

    “a single DIRECT query recovers the target in roughly two thirds of matched profiles.”

  2. Exact reconstruction succeeds without any surviving complete literal, with gaps ranging from 0.615 to 0.990 across models and splits.

    “exact-recovery gaps range from 0.615 to 0.990 across all six model/split cells”

Caveats 5

  • A nominal zero under the official scorer need not mean the target was absent from the model response.
  • recorded-lineage closure yields zero observed R, C, A, and E gaps.
  • These controlled targets and deterministic transforms do not establish the same behavior for natural-language secrets or learned semantic representations.
  • The scope remains bounded to synthetic exact-string targets, a controlled external-memory harness, deterministic transformations, a finite operator vocabulary, and generator-held-out synthetic shift.
  • The saturated 100-case utility check is not comprehensive, and no exposed-and-retained reference calibrates normal recoverability.

What’s new here 4

  • Provides a paired behavioral audit that attributes post-deletion reconstruction to a specific prior exposure in fixed-weight agents.
  • Demonstrates that exact reconstruction can persist from non-verbatim, component-based derived state.
  • Separates disclosure, write-back, and fresh-session recall as distinct measurable events.
  • Introduces provenance-aware closure and an exact-literal write filter as complementary controls.