MemLineage: Lineage-Guided Enforcement for LLM Agent Memory
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
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 whose active justification descends from an external ancestor, while still allowing benign recall. We evaluate three defense cells against three memory-poisoning workloads on a deterministic mechanism-isolation harness; MemLineage is the only configuration in that harness that drives all three columns to zero ASR, while sub-millisecond per-operation overhead keeps it well below the noise floor of any LLM call. A Codex-backed AgentDojo bridge further separates strong-model behavior from defense-layer behavior: under an intentionally vulnerable tool-output profile, no-defense and signature-only baselines fail on all six banking pairs, while all MemLineage rows reduce strict AgentDojo ASR to zero. The core deterministic artifacts are byte-equal CI-verified; hosted-model AgentDojo and live-model sweeps are recorded as auditable logs rather than byte-pinned artifacts.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 14 of its 45 references that are in the map. First posted on arXiv 14 May 2026.
Builds on
14 of 45 references.
Closest ancestors · 9
Same direction, newest first
- 2026Injection-Execution Dissociation: A Mechanistic Evaluation of Persistent Memory Attacks and Defenses in Stateful LLM Agents8 May
- 2026Autonomous LLM Agent Worms: Cross-Platform Propagation, Automated Discovery and Temporal Re-Entry Defense4 May
- 2026Ghost in the Agent: Redefining Information Flow Tracking for LLM Agents25 Apr
- 2026Zombie Agents: Persistent Control of Self-Evolving LLM Agents via Self-Reinforcing Injections17 Feb
- 2025MemoryGraft: Persistent Compromise of LLM Agents via Poisoned Experience Retrieval18 Dec
- 2025Taxonomy, Evaluation and Exploitation of IPI-Centric LLM Agent Defense Frameworks19 Nov
- 2025A-MemGuard: A Proactive Defense Framework for LLM-Based Agent Memory29 Sep
- 2025Memory Injection Attacks on LLM Agents via Query-Only Interaction5 Mar
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases17 Jul
Other references · 5
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
- 2025Securing AI Agents with Information-Flow Controlcited by 108
- 2019Neutaint: Efficient Dynamic Taint Analysis with Neural Networkscited by 7
- 2025RAGPart & RAGMask: Retrieval-Stage Defenses Against Corpus Poisoning in Retrieval-Augmented Generationcited by 3
- 2024Analyzing Challenges in Deployment of the SLSA Framework for Software Supply Chain Securitycited by 2
Built on by
Citing papers per year: 2026: 14.
14 papers.
Sort:
By area:
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guaranteescited by 14
- 2026TOKI: A Bitemporal Operator Algebra for Contradiction Resolution in LLM-Agent Persistent Memorycited by 7
- 2026MAP-Graph: Provenance-Aware Shared Memory for Multi-Agent Workflowscited by 7
- 2026When Does Belief-Based Agent Memory Help? Reliability-Conditional Updating and Provenance-Capped Poisoning Defensecited by 6
- 2026Forensic Trajectory Signatures for Agent Memory Poisoning Detectioncited by 2
- 2026MutMem: Cryptographically Authorized Mutation in Persistent Agent Memorycited by 2
- 2026APPA: Recoverable Information-Flow Control for Real-World LLM Agentscited by 1
- 2026Attesting Outputs and Delegation Ancestry in Multi-Agent AI Systemscited by 1
- 2026MIND: Lightweight and Effective Memory Injection Defense for LLM Agents via Intent-Aware Information Bottleneckcited by 0
- 2026Transferable End-to-End Optimization for Indirect Long-Term Memory Poisoning in LLM Agentscited by 0
- 2026Stored Is Not Supported: Typed Provenance and Assertion Guardrails for Persistent AI Agentscited by 0
- 2026When the Agent Becomes the Kernel: A Systematization of Security on the Path to AI-Native Operating Systemscited by 0
- 2026Certified Multi-Source Integrity for Structured Agent Actions28 Sep 2026
- 2026When the Agent Becomes the Kernel: A Systematization of Security on the Path to AI-Native Operating Systems20 Sep 2026
- 2026The Cognitive Continuity Test: Verifying Governed State Transitions in Persistent AI Agents9 Sep 2026
- 2026Stored Is Not Supported: Typed Provenance and Assertion Guardrails for Persistent AI Agents2 Sep 2026
- 2026Transferable End-to-End Optimization for Indirect Long-Term Memory Poisoning in LLM Agents1 Sep 2026
- 2026Attesting Outputs and Delegation Ancestry in Multi-Agent AI Systems31 Aug 2026
- 2026MAP-Graph: Provenance-Aware Shared Memory for Multi-Agent Workflows11 Aug 2026
- 2026MutMem: Cryptographically Authorized Mutation in Persistent Agent Memory3 Aug 2026
- 2026MIND: Lightweight and Effective Memory Injection Defense for LLM Agents via Intent-Aware Information Bottleneck30 Jul 2026
- 2026APPA: Recoverable Information-Flow Control for Real-World LLM Agents27 Jul 2026
- 2026Forensic Trajectory Signatures for Agent Memory Poisoning Detection29 Jun 2026
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guarantees23 Jun 2026
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guaranteescited by 14
- 2026TOKI: A Bitemporal Operator Algebra for Contradiction Resolution in LLM-Agent Persistent Memorycited by 7
- 2026MAP-Graph: Provenance-Aware Shared Memory for Multi-Agent Workflowscited by 7
- 2026When Does Belief-Based Agent Memory Help? Reliability-Conditional Updating and Provenance-Capped Poisoning Defensecited by 6
- 2026Forensic Trajectory Signatures for Agent Memory Poisoning Detectioncited by 2
- 2026MutMem: Cryptographically Authorized Mutation in Persistent Agent Memorycited by 2
- 2026APPA: Recoverable Information-Flow Control for Real-World LLM Agentscited by 1
- 2026Attesting Outputs and Delegation Ancestry in Multi-Agent AI Systemscited by 1
- 2026MIND: Lightweight and Effective Memory Injection Defense for LLM Agents via Intent-Aware Information Bottleneckcited by 0
- 2026Transferable End-to-End Optimization for Indirect Long-Term Memory Poisoning in LLM Agentscited by 0
- 2026Stored Is Not Supported: Typed Provenance and Assertion Guardrails for Persistent AI Agentscited by 0
- 2026When the Agent Becomes the Kernel: A Systematization of Security on the Path to AI-Native Operating Systemscited by 0
12 most cited of 13 All 13 (JSON)
- 2026Certified Multi-Source Integrity for Structured Agent Actions28 Sep 2026
- 2026When the Agent Becomes the Kernel: A Systematization of Security on the Path to AI-Native Operating Systems20 Sep 2026
- 2026Stored Is Not Supported: Typed Provenance and Assertion Guardrails for Persistent AI Agents2 Sep 2026
- 2026Transferable End-to-End Optimization for Indirect Long-Term Memory Poisoning in LLM Agents1 Sep 2026
- 2026Attesting Outputs and Delegation Ancestry in Multi-Agent AI Systems31 Aug 2026
- 2026MAP-Graph: Provenance-Aware Shared Memory for Multi-Agent Workflows11 Aug 2026
- 2026MutMem: Cryptographically Authorized Mutation in Persistent Agent Memory3 Aug 2026
- 2026MIND: Lightweight and Effective Memory Injection Defense for LLM Agents via Intent-Aware Information Bottleneck30 Jul 2026
- 2026APPA: Recoverable Information-Flow Control for Real-World LLM Agents27 Jul 2026
- 2026Forensic Trajectory Signatures for Agent Memory Poisoning Detection29 Jun 2026
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guarantees23 Jun 2026
- 2026When Does Belief-Based Agent Memory Help? Reliability-Conditional Updating and Provenance-Capped Poisoning Defense20 Jun 2026
12 newest of 13 All 13 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecycle
- 2026Memory Provenance Laundering in LLM Agents: A Non-Amplification Firewall for Persistent Memory
- 2026SMSR: Certified Defence Against Runtime Memory Poisoning in Persistent LLM Agent Systems
- 2026AgentSys: Secure and Dynamic LLM Agents Through Explicit Hierarchical Memory Management
- 2026MemSecBench: Tracking Agent Memory Poisoning from Persistence to Consequence and Repair
- 2026MemMark: State-Evolution Attribution Watermarking for Agent Long-Term Memory Systems
- 2026MemTX: Transactional Belief Commit for Stateful Agent Memory
- 2026Agent Memory Is a Surface for Endogenous Authorization Laundering