cs.CRApr 10, 2026

ADAM: A Systematic Data Extraction Attack on Agent Memory via Adaptive Querying

Authors: Xingyu Lyu, Jianfeng He, Ning Wang, Yidan Hu, Tao Li, Danjue Chen, Shixiong Li, Yimin Chen

Organizations: University of Massachusetts Lowell, USA · Virginia Tech, USA · Amazon, USA · University of South Florida, USA · 

Abstract

Large Language Model (LLM) agents have achieved rapid adoption and demonstrated remarkable capabilities across a wide range of applications. To improve reasoning and task execution, modern LLM agents would incorporate memory modules or retrieval-augmented generation (RAG) mechanisms, enabling them to further leverage prior interactions or external knowledge. However, such a design also introduces a group of critical privacy vulnerabilities: sensitive information stored in memory can be leaked through query-based attacks. Although feasible, existing attacks often achieve only limited performance, with low attack success rates (ASR). In this paper, we propose ADAM, a novel privacy attack that features data distribution estimation of a victim agent's memory and employs an entropy-guided query strategy for maximizing privacy leakage. Extensive experiments demonstrate that our attack substantially outperforms state-of-the-art ones, achieving up to 100% ASRs. These results thus underscore the urgent need for robust privacy-preserving methods for current LLM agents.

Figures & tables

Appendix figures & tables20 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. EP-Mem: Elastic Privacy Memory for Social Relationship-Aware LLM Agents

    Sep 28, 2026Fengzhou Sun, Yuan Zhang, Xintong Yu +1LLM Agent MemoryPrivacy Leakage in Language Models

  2. MAFIA: Query-Only Memory Attacks via Probing and Factual Injection against Audited LLM Agents

    Aug 4, 2026Jiaming Chen, Yisen Gao, Yanping Li +3Agent Memory PoisoningMemory-Augmented Language Model Agents

  3. PrivacyPeek: Auditing What LLM-Based Agents Acquire, Not Just What They Say

    May 29, 2026Mingxuan Zhang, Jiahui Han, Dadi Guo +5Data LeakagePrivacy Auditing