← Lab /Security & privacy

LinEra prevents recovery of forgotten data in LLM-agent memory

LinEra provides forward-secure, lineage-complete erasure for LLM-agent memories

Security & privacy arXiv 13 Nov 2026 Defense Prototype evidence Threat model

Published as “Forget the Lineage: Forward-Secure, Lineage-Complete Cryptographic Erasure for LLM-Agent Memory”

Why it matters

Deploying LinEra can give LLM agents provable erasure guarantees required by privacy regulations, but system designers must manage the trade-off between erasure reach and answer quality.

Summary

LinEra with the sound lineage rule prevents any leakage of forgotten secrets even when an attacker obtains the entire storage and current keys, whereas logical deletion leaks all 35 planted secrets and per-object or epoch keys still leak many. The guarantee comes at the cost of a large forgetting radius (e.g., 73.0% of derived memories erased when forgetting 1% of turns), which can degrade answer quality but can be mitigated by small-context writing or re-derivation. The paper provides concrete numbers from real LLM pipelines and synthetic workloads.

What they found 2

  1. LinEra with the sound rule leaks no secret through any channel

    “LinEra with the sound rule leaks nothing through any channel.”

  2. Logical deletion leaks all secrets and storage residues

    “Logical deletion loses everything: the deleted turns stay in free SQLite pages (35 of 35) and their vectors come back after an undelete of the soft-deleted HNSW points (26 identified).”

Caveats 3

  • The guarantee incurs a large forgetting radius: forgetting 1% of turns erases 73.0% of derived memories and drops token F1 from 12.9 to 10.5 in the facts-only store.
  • The price is a larger forgetting radius, which follows a simple law in the writer’s fan-in.
  • Two questions remain open: hiding the shape of the lineage graph, and connecting storage-level erasure with the unlearning of model weights.

What’s new here 4

  • Provides forward-secure, lineage-complete cryptographic erasure for LLM-agent memory using a puncturable PRF key graph.
  • Introduces a sound lineage rule that records all parent memories the writer saw, enabling automatic erasure of all descendants.
  • Demonstrates that the approach eliminates all secret leakage across multiple attack channels, unlike prior logical deletion or per-object/epoch key schemes.
  • Quantifies a fan-in law that predicts the forgetting radius based on the writer’s context size.

Threat model stated by the source

Adversaryan adversary that later obtains all storage and the agent’s current keys
Capabilityfull access to the storage files and current cryptographic state