SAFE-Mem: Secure Agentic Memory with Fine-Grained Authority and Governance-Aware Retrieval
On the map: LLM agents and tool use → Agent memory systems also fits: Agent threats, guardrails and governance
Abstract (arXiv)
Large language model (LLM) agents increasingly rely on persistent memory to support long-term reasoning and personalized interactions. However, information collected from external sources can introduce security risks when untrusted claims (i.e., atomic statements) are later treated as authorized preferences, policies, or permissions. Existing defenses typically rely on content-based filtering or coarse-grained provenance tracking, which either fail to prevent unauthorized memory use or block legitimate information, sacrificing memory utility. To address these limitations, we propose SAFE-Mem, a fine-grained memory governance framework that improves security while preserving legitimate memory use. First, SAFE-Mem annotates each claim with three governance labels (i.e., kind, authority, and scope) to capture its provenance and permitted use. Second, governance-aware retrieval matches query requirements with claim permissions to block unauthorized influence while retaining legitimate information. Third, a governance-enabled memory graph connects source sentences, claims, and entities to support provenance tracking and efficient retrieval. Across four LLM backbones on MPBench and LoCoMo, SAFE-Mem attains the lowest attack success among defenses that retain legitimate memory, at least 77% below the strongest of them, and the highest answer accuracy of all evaluated defenses, improving it by up to 15 points. The code is available at https://github.com/LVenum/SAFE-Mem.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 30 of its 49 references that are in the map. Submitted 16 Oct 2026.
Builds on
30 of 49 references.
Closest ancestors · 8
Same direction, newest first
- 2026When Memory Becomes Authority: Benchmarking Authority Collapse at the Memory Consolidation Boundary3 Aug
- 2026Anatomy of Agentic Memory: Taxonomy and Empirical Analysis of Evaluation and System Limitations22 Feb
- 2026MAGMA: A Multi-Graph based Agentic Memory Architecture for AI Agents6 Jan
- 2025Rethinking Memory in LLM based Agents: Representations, Operations, and Emerging Topics1 May
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
- 2025Zep: A Temporal Knowledge Graph Architecture for Agent Memory20 Jan
- 2024A Survey on the Memory Mechanism of Large Language Model based Agents21 Apr
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb
Other references · 22
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,559
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,841
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,638
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 876
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 568
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 488
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 433
- 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 319
- 2023Certifying LLM Safety against Adversarial Promptingcited by 279
- 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 251
- 2025Memory Injection Attacks on LLM Agents via Query-Only Interactioncited by 169
10 more
- 2024Certifiably Robust RAG against Retrieval Corruptioncited by 167
- 2025DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agentscited by 84
- 2025A-MemGuard: A Proactive Defense Framework for LLM-Based Agent Memorycited by 74
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guaranteescited by 26
- 2026MemLineage: Lineage-Guided Enforcement for LLM Agent Memorycited by 22
- 2026Agent Memory Is a Surface for Endogenous Authorization Launderingcited by 11
- 2026Memory Provenance Laundering in LLM Agents: A Non-Amplification Firewall for Persistent Memorycited by 10
- 2026MemPoison: Uncovering Persistent Memory Threats and Structural Blind Spots in LLM Agentscited by 9
- 2026MemSecBench: Tracking Agent Memory Poisoning from Persistence to Consequence and Repaircited by 9
- 2026GRASP: Graph-Reasoning Aided Survey Planning for High-Fidelity Related Work Generationcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026MAP-Graph: Provenance-Aware Shared Memory for Multi-Agent Workflows
- 2026Mitigating Provenance-Role Collapse in Long-Term Agents via Typed Memory Representation
- 2026Agent Zero Memory: Provenance-Aware Long-Term Memory for LLM Agents
- 2026Governing Evolving Memory in LLM Agents: Risks, Mechanisms, and the Stability and Safety Governed Memory (SSGM) Framework
- 2026MemArchitect: A Policy Driven Memory Governance Layer
- 2026DISCERN: Preserve at Write, Resolve at Read for Persistent LLM-Agent Memory
- 2026Governed Persistent Memory: Source-Bound State Semantics and Fail-Closed Release for Long-Horizon Agents
- 2026AIM: A Privacy-Aware Interoperable Memory Framework for Multi-Agent Multi-User LLM Systems