MemLineage: Lineage-Guided Enforcement for LLM Agent Memory
Ciyan Ouyang, Rui Hou

TL;DR
MemLineage is a novel memory defense for LLM agents that uses cryptographic provenance and lineage tracking to prevent malicious memory manipulation while maintaining useful recall.
Contribution
It introduces a chain-of-custody approach with cryptographic logs and lineage graphs to secure LLM agent memory against poisoning attacks.
Findings
MemLineage reduces memory poisoning attack success rate to zero in tests.
Overhead per operation remains below the noise floor of LLM calls.
It effectively separates model behavior from defense artifacts in logs.
Abstract
We introduce MemLineage, a defense for LLM agent memory that attaches both cryptographic provenance and LLM-mediated derivation lineage to every entry. Recent and concurrent work shows that untrusted content can be written into persistent agent state and re-enter later sessions as an instruction; the remaining systems question is how to preserve useful memory recall while preventing such state from justifying sensitive actions. MemLineage treats this as a chain-of-custody problem rather than a filtering problem. It is a six-module design around an RFC-6962 Merkle log over per-principal Ed25519-signed entries: a weighted derivation DAG records which retrieved entries influenced each new memory, and a max-of-strong-edges propagation rule makes Untrusted-Path Persistence hold for any chain whose attribution edges remain above threshold. The sensitive-action gate then refuses dispatches…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
