Unveiling Privacy Risks in LLM Agent Memory
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Large Language Model (LLM) agents have become increasingly prevalent across various real-world applications. They enhance decision-making by storing private user-agent interactions in the memory module for demonstrations, introducing new privacy risks for LLM agents. In this work, we systematically investigate the vulnerability of LLM agents to our proposed Memory EXTRaction Attack (MEXTRA) under a black-box setting. To extract private information from memory, we propose an effective attacking prompt design and an automated prompt generation method based on different levels of knowledge about the LLM agent. Experiments on two representative agents demonstrate the effectiveness of MEXTRA. Moreover, we explore key factors influencing memory leakage from both the agent designer's and the attacker's perspectives. Our findings highlight the urgent need for effective memory safeguards in LLM agent design and deployment.
Key facts. Cited by 101 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 37 of its 50 references that are in the map. First posted on arXiv 17 Feb 2025.
Builds on
37 of 50 references.
Closest ancestors · 4
Same direction, newest first
- 2024Breaking Agents: Compromising Autonomous LLM Agents Through Malfunction Amplification30 Jul
- 2024The Emerged Security and Privacy of LLM Agent: A Survey with Case Studies28 Jul
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
- 2024WIPI: A New Web Threat for LLM-Driven Web Agents26 Feb
Other references · 33
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,251
- 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
21 more
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
- 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 634
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
- 2024GPT-4V(ision) is a Generalist Web Agent, if Groundedcited by 563
- 2024AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agentscited by 401
- 2023A Language Agent for Autonomous Drivingcited by 164
- 2024The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)cited by 159
- 2023DeID-GPT: Zero-shot Medical Text De-Identification by GPT-4cited by 130
- 2024PLeak: Prompt Leaking Attacks against Large Language Model Applicationscited by 127
- 2023Conversational Health Agents: A Personalized LLM-Powered Agent Frameworkcited by 92
- 2024RAP: Retrieval-Augmented Planning with Contextual Memory for Multimodal LLM Agentscited by 80
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 79
- 2024Follow My Instruction and Spill the Beans: Scalable Data Extraction from Retrieval-Augmented Generation Systemscited by 76
- 2023Evaluating the Instruction-Following Robustness of Large Language Models to Prompt Injectioncited by 59
- 2023Personalized Autonomous Driving with Large Language Models: Field Experimentscited by 48
- 2024Feedback-Guided Extraction of Knowledge Base from Retrieval-Augmented LLM Applicationscited by 37
- 2024Reinforcement Learning for Optimizing RAG for Domain Chatbotscited by 26
- 2024Pirates of the RAG: Adaptively Attacking LLMs to Leak Knowledge Basescited by 18
Built on by
Citing papers per year: 2025: 28; 2026: 73.
101 papers.
Sort:
By area:
- 2025Memory in the Age of AI Agentscited by 303
- 2025Large Language Model Agent: A Survey on Methodology, Applications and Challengescited by 205
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligencecited by 170
- 2025A Survey of WebAgents: Towards Next-Generation AI Agents for Web Automation with Large Foundation Modelscited by 87
- 2025A-MemGuard: A Proactive Defense Framework for LLM-Based Agent Memorycited by 67
- 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasurescited by 57
- 2026From Agent Traces to Trust: A Survey of Evidence Tracing and Execution Provenance in LLM Agentscited by 37
- 2025LLM Agents Should Employ Security Principlescited by 29
- 2025A Survey on Autonomy-Induced Security Risks in Large Model-Based Agentscited by 29
- 2025MAGPIE: A benchmark for Multi-AGent contextual PrIvacy Evaluationcited by 29
- 2026A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecyclecited by 27
- 2025A Survey on the Safety and Security Threats of Computer-Using Agents: JARVIS or Ultron?cited by 23
38 more
- 2026From Storage to Steering: Memory Control Flow Attacks on LLM Agentscited by 19
- 2026Governing Evolving Memory in LLM Agents: Risks, Mechanisms, and the Stability and Safety Governed Memory (SSGM) Frameworkcited by 18
- 2026SafeHarness: Lifecycle-Integrated Security Architecture for LLM-based Agent Deploymentcited by 15
- 2025A Survey on Agent Workflow -- Status and Futurecited by 14
- 2026Governed Shared Memory for Multi-Agent LLM Systemscited by 13
- 2025Topology Matters: Measuring Memory Leakage in Multi-Agent LLMscited by 11
- 2025Agent Tools Orchestration Leaks More: Dataset, Benchmark, and Mitigationcited by 11
- 2026A Systematic Survey of Security Threats and Defenses in LLM-Based AI Agents: A Layered Attack Surface Frameworkcited by 11
- 2026Your LLM Agent Can Leak Your Data: Data Exfiltration via Backdoored Tool Usecited by 10
- 2025LLM Applications: Current Paradigms and the Next Frontiercited by 8
- 2025Privacy-Aware Decoding: Mitigating Privacy Leakage of Large Language Models in Retrieval-Augmented Generationcited by 8
- 2025Meta-Policy Reflexion: Reusable Reflective Memory and Rule Admissibility for Resource-Efficient LLM Agentcited by 7
- 2026MemPrivacy: Privacy-Preserving Personalized Memory Management for Edge-Cloud Agentscited by 7
- 2026Remembering More, Risking More: Longitudinal Safety Risks in Memory-Equipped LLM Agentscited by 7
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 7
- 2025Agentic Services Computingcited by 6
- 2026INFA-Guard: Mitigating Malicious Propagation via Infection-Aware Safeguarding in LLM-Based Multi-Agent Systemscited by 6
- 2026AgentRaft: Automated Detection of Data Over-Exposure in LLM Agentscited by 6
- 2025Beyond Text: Unveiling Privacy Vulnerabilities in Multi-modal Retrieval-Augmented Generationcited by 5
- 2025Network-Level Prompt and Trait Leakage in Local Research Agentscited by 5
- 2025PEAR: Planner-Executor Agent Robustness Benchmarkcited by 5
- 2025Don't Trust Your Upstream: Exploiting LLM Multi-Agent System via Topology-Guided Adversarial Propagationcited by 5
- 2026Long Context, Less Focus: A Scaling Gap in LLMs Revealed through Privacy and Personalizationcited by 5
- 2026ADAM: A Systematic Data Extraction Attack on Agent Memory via Adaptive Queryingcited by 5
- 2026Geometry-Calibrated Conformal Abstention for Language Modelscited by 5
- 2026State Contamination in Memory-Augmented LLM Agentscited by 5
- 2025Past, Present, and Future of Bug Tracking in the Generative AI Eracited by 4
- 2025Chain-of-Trigger: An Agentic Backdoor that Paradoxically Enhances Agentic Robustnesscited by 4
- 2026Deployment-Time Memorization in Foundation-Model Agentscited by 4
- 2026FragFuse: Bypassing Access Control of Large Language Model Agents via Memory-Based Query Fragmentation and Fusioncited by 4
- 2026Agent Skills Matter: Inferring Proprietary Skills from Execution Trajectoriescited by 4
- 2026Self-Evolving Agents as Dynamic Graph Transformation: A Survey and New Perspectivecited by 4
- 2026MemGuard: Persisting Verifier Signals for LLM-Agent Memory Governancecited by 4
- 2026InjecMEM: Memory Injection Attack on LLM Agent Memory Systemscited by 4
- 2026Query-Efficient Agentic Graph Extraction Attacks on GraphRAG Systemscited by 3
- 2025The Role of Open-Source LLMs in Shaping the Future of GeoAIcited by 2
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agentscited by 2
- 2025A Longitudinal Measurement of Privacy Policy Evolution for Large Language Modelscited by 2
50 most cited of 101 All 101 (JSON)
- 2026From Acoustic Sensing to Physical Actions: A Comprehensive Survey of Security Risks in Edge-Deployed Audio LLM-Based Agents11 Oct 2026
- 2026Hidden Risks of Jev: An Empirical Study of Security, Privacy, and Dual Use4 Oct 2026
- 2026Federated Agent Optimization1 Oct 2026
- 2026Privacy in Personalized AI Is a System Property, Not Just a Model Property29 Sep 2026
- 2026Connecting the Dots in Agentic AI Security: A Cross-Dimensional Threat Taxonomy, Evaluation Maturity, and Open Challenges20 Sep 2026
- 2026Trustworthy Agentic AI: Failure Modes, Mitigation Strategies, and a Lifecycle Framework for Autonomous LLM Systems19 Sep 2026
- 2026PAPC: Platform Mediation for Privacy-Propagation Externalities in AI-Mediated Workflows16 Sep 2026
- 2026Semantic-TVM: Structure-Preserving Trustworthy Virtual Memory for Memory-Augmented and Tool-Using Agents14 Sep 2026
- 2026When Malicious Instructions Persist: Persistent Memory Poisoning Attack on Harness-Based Agents12 Sep 2026
- 2026AIM: A Privacy-Aware Interoperable Memory Framework for Multi-Agent Multi-User LLM Systems11 Sep 2026
- 2026Forgetting Only What Matters: Layer-Selective Unlearning toward Robust LLMs9 Sep 2026
- 2026Personalizing LLM Agent Memory Using Biometrics8 Sep 2026
38 more
- 2026Inferring Hidden User Models from the Behavior of Personalized LLM Agents3 Sep 2026
- 2026CAPTURE: Disentangling Preference Drift from Memory Poisoning in Personalized LLM Agents2 Sep 2026
- 2026Safe to Resume? Breaking Execution Continuity of Agent Execution via Rollback29 Aug 2026
- 2026Facts Without Rules: Boundary Metadata Collapse in Multi-Agent LLM Handoffs29 Aug 2026
- 2026ToolMinimize: Auditing and Rewriting LLM Agent Tool Calls to Minimize Privacy Exposure25 Aug 2026
- 2026InjecMEM: Memory Injection Attack on LLM Agent Memory Systems24 Aug 2026
- 2026MemGuard: Persisting Verifier Signals for LLM-Agent Memory Governance22 Aug 2026
- 2026Authorization Before Context: A Model-Neutral Audience Boundary Against Cross-Audience Memory Leakage in Agentic Systems17 Aug 2026
- 2026What to Remember, What to Reveal: Privacy-Aware Memory for Conversational Agents17 Aug 2026
- 2026DP-MemView: A Memory Interface for Attribute-Level Transcript Privacy in Long-Term LLM Agents4 Aug 2026
- 2026MNC: Scope-Bound Semantic Declassification for Private LLM-Agent Communication3 Aug 2026
- 2026Tool Specifications Matter: Uncovering and Mitigating Safety Risks in AI Agents31 Jul 2026
- 2026Agent Skills Matter: Inferring Proprietary Skills from Execution Trajectories28 Jul 2026
- 2026Isolated but Exposed: Persistence-Based Memory Extraction Attack on LLM Agents26 Jul 2026
- 2026DocOps: A Verifiable Benchmark for Autonomous Agents in Complex Document Operations22 Jul 2026
- 2026The safety failures we are not instrumenting: a perspective on hidden safety-critical challenges in modern AI systems21 Jul 2026
- 2026When Agents Go Rogue: Activation-Based Detection of Malicious Behaviors in Multi-Agent Systems7 Jul 2026
- 2026Memory as an Attack Surface in LLM Agents: A Study on Multiple-Choice Question Answering27 Jun 2026
- 2026Memory Makes the Difference: Evaluating How Different Memory Roles Shape Conversational Agents24 Jun 2026
- 2026Governed Shared Memory for Multi-Agent LLM Systems23 Jun 2026
- 2026π-RAG: Oblivious Retrieval via Semantic Quantization and Transcendental Addressing for Large Language Models20 Jun 2026
- 2026FragFuse: Bypassing Access Control of Large Language Model Agents via Memory-Based Query Fragmentation and Fusion14 Jun 2026
- 2026Minim: Privacy-Aware Minimal View for Agents via Trusted Local Sanitization11 Jun 2026
- 2026Self-Evolving Agents as Dynamic Graph Transformation: A Survey and New Perspective10 Jun 2026
- 2026CAPED: Context-Aware Privacy Exposure Defense for Mobile GUI Agents10 Jun 2026
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation9 Jun 2026
- 2026Beyond Locality: Feature-Boundary Auditing for OS-Integrated AI8 Jun 2026
- 2026Deployment-Time Memorization in Foundation-Model Agents8 Jun 2026
- 2026Context-Fractured Decomposition Attacks on Tool-Using LLM Agents: Exploiting Artifact Provenance Gaps8 Jun 2026
- 2026HUSH-Bench: Measuring Memory-Use Boundaries for Sensitive History in Conversational Agents4 Jun 2026
- 2026From Agent Traces to Trust: A Survey of Evidence Tracing and Execution Provenance in LLM Agents3 Jun 2026
- 2026SeClaw: Spec-Driven Security Task Synthesis for Evaluating Autonomous Agents1 Jun 2026
- 2026MRMMIA: Membership Inference Attacks on Memory in Chat Agents27 May 2026
- 2026Security of OpenClaw Agents: Fundamentals, Attacks, and Countermeasures25 May 2026
- 2026Remembering More, Risking More: Longitudinal Safety Risks in Memory-Equipped LLM Agents18 May 2026
- 2026State Contamination in Memory-Augmented LLM Agents16 May 2026
- 2026Red-Teaming Agent Execution Contexts: Open-World Security Evaluation on OpenClaw11 May 2026
- 2026MemPrivacy: Privacy-Preserving Personalized Memory Management for Edge-Cloud Agents10 May 2026
50 newest of 101 All 101 (JSON)
- 2025Memory in the Age of AI Agentscited by 303
- 2025Large Language Model Agent: A Survey on Methodology, Applications and Challengescited by 205
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligencecited by 170
- 2025A Survey of WebAgents: Towards Next-Generation AI Agents for Web Automation with Large Foundation Modelscited by 87
- 2025A-MemGuard: A Proactive Defense Framework for LLM-Based Agent Memorycited by 67
- 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasurescited by 57
- 2026From Agent Traces to Trust: A Survey of Evidence Tracing and Execution Provenance in LLM Agentscited by 37
- 2025LLM Agents Should Employ Security Principlescited by 29
- 2025A Survey on Autonomy-Induced Security Risks in Large Model-Based Agentscited by 29
- 2025MAGPIE: A benchmark for Multi-AGent contextual PrIvacy Evaluationcited by 29
- 2026A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecyclecited by 27
- 2025A Survey on the Safety and Security Threats of Computer-Using Agents: JARVIS or Ultron?cited by 23
12 most cited of 77 All 77 (JSON)
- 2026From Acoustic Sensing to Physical Actions: A Comprehensive Survey of Security Risks in Edge-Deployed Audio LLM-Based Agents11 Oct 2026
- 2026Federated Agent Optimization1 Oct 2026
- 2026Connecting the Dots in Agentic AI Security: A Cross-Dimensional Threat Taxonomy, Evaluation Maturity, and Open Challenges20 Sep 2026
- 2026Trustworthy Agentic AI: Failure Modes, Mitigation Strategies, and a Lifecycle Framework for Autonomous LLM Systems19 Sep 2026
- 2026PAPC: Platform Mediation for Privacy-Propagation Externalities in AI-Mediated Workflows16 Sep 2026
- 2026Semantic-TVM: Structure-Preserving Trustworthy Virtual Memory for Memory-Augmented and Tool-Using Agents14 Sep 2026
- 2026When Malicious Instructions Persist: Persistent Memory Poisoning Attack on Harness-Based Agents12 Sep 2026
- 2026AIM: A Privacy-Aware Interoperable Memory Framework for Multi-Agent Multi-User LLM Systems11 Sep 2026
- 2026Personalizing LLM Agent Memory Using Biometrics8 Sep 2026
- 2026Inferring Hidden User Models from the Behavior of Personalized LLM Agents3 Sep 2026
- 2026CAPTURE: Disentangling Preference Drift from Memory Poisoning in Personalized LLM Agents2 Sep 2026
- 2026Facts Without Rules: Boundary Metadata Collapse in Multi-Agent LLM Handoffs29 Aug 2026
12 newest of 77 All 77 (JSON)
- 2026MRMMIA: Membership Inference Attacks on Memory in Chat Agentscited by 2
- 2026Forgetting Only What Matters: Layer-Selective Unlearning toward Robust LLMscited by 2
- 2026U-CAN: Utility-Aware Contrastive Attenuation for Efficient Unlearning in Generative Recommendationcited by 1
- 2026Hidden Risks of Jev: An Empirical Study of Security, Privacy, and Dual Usecited by 1
- 2026Hidden Risks of Jev: An Empirical Study of Security, Privacy, and Dual Use4 Oct 2026
- 2026Forgetting Only What Matters: Layer-Selective Unlearning toward Robust LLMs9 Sep 2026
- 2026MRMMIA: Membership Inference Attacks on Memory in Chat Agents27 May 2026
- 2026U-CAN: Utility-Aware Contrastive Attenuation for Efficient Unlearning in Generative Recommendation26 Feb 2026
- 2026Long Context, Less Focus: A Scaling Gap in LLMs Revealed through Privacy and Personalizationcited by 5
- 2026Geometry-Calibrated Conformal Abstention for Language Modelscited by 5
- 2025Past, Present, and Future of Bug Tracking in the Generative AI Eracited by 4
- 2026Agent Skills Matter: Inferring Proprietary Skills from Execution Trajectoriescited by 4
- 2025The Role of Open-Source LLMs in Shaping the Future of GeoAIcited by 2
- 2026MemPot: Defending Against Memory Extraction Attack with Optimized Honeypotscited by 2
- 2026LLM-enabled Applications Require System-Level Threat Monitoringcited by 2
- 2026HUSH-Bench: Measuring Memory-Use Boundaries for Sensitive History in Conversational Agentscited by 2
- 2026Safe to Resume? Breaking Execution Continuity of Agent Execution via Rollbackcited by 2
- 2026Beyond Locality: Feature-Boundary Auditing for OS-Integrated AIcited by 1
- 2026CAPED: Context-Aware Privacy Exposure Defense for Mobile GUI Agentscited by 1
- 2026DocOps: A Verifiable Benchmark for Autonomous Agents in Complex Document Operationscited by 1
12 most cited of 16 All 16 (JSON)
- 2026Privacy in Personalized AI Is a System Property, Not Just a Model Property29 Sep 2026
- 2026Safe to Resume? Breaking Execution Continuity of Agent Execution via Rollback29 Aug 2026
- 2026Agent Skills Matter: Inferring Proprietary Skills from Execution Trajectories28 Jul 2026
- 2026DocOps: A Verifiable Benchmark for Autonomous Agents in Complex Document Operations22 Jul 2026
- 2026The safety failures we are not instrumenting: a perspective on hidden safety-critical challenges in modern AI systems21 Jul 2026
- 2026π-RAG: Oblivious Retrieval via Semantic Quantization and Transcendental Addressing for Large Language Models20 Jun 2026
- 2026CAPED: Context-Aware Privacy Exposure Defense for Mobile GUI Agents10 Jun 2026
- 2026Beyond Locality: Feature-Boundary Auditing for OS-Integrated AI8 Jun 2026
- 2026HUSH-Bench: Measuring Memory-Use Boundaries for Sensitive History in Conversational Agents4 Jun 2026
- 2026Geometry-Calibrated Conformal Abstention for Language Models30 Apr 2026
- 2026LLM-enabled Applications Require System-Level Threat Monitoring23 Feb 2026
- 2026Long Context, Less Focus: A Scaling Gap in LLMs Revealed through Privacy and Personalization16 Feb 2026
12 newest of 16 All 16 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Commercial LLM Agents Are Already Vulnerable to Simple Yet Dangerous Attacks
- 2026MemEvoBench: Benchmarking Safety Risks from Memory Misevolution in LLM Agents
- 2024Imprompter: Tricking LLM Agents into Improper Tool Use
- 2025Memory Injection Attacks on LLM Agents via Query-Only Interaction
- 2024Whispers in the Machine: Confidentiality in Agentic Systems
- 2026From Untrusted Input to Trusted Memory: A Systematic Study of Memory Poisoning Attacks in LLM Agents
- 2026Safeguarding LLM Agents against Long-Horizon Threats via Shadow Memory
- 2026Hijacking Agent Memory: Stealthy Trojan Attacks Through Conversational Interaction