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

Mingxuan Zhang, Jiahui Han, Dadi Guo, Songze Li, Guanchu Wang +3 more
5/29/2026
5 citations
cs.CRcs.AI

Official code: Xuan269/PrivacyPeek-Resource (6 stars, Python, last commit 2026-05-29).

Abstract

LLM-based agents are rapidly advancing, autonomously invoking external tools to complete multi-step tasks for users. However, agents often acquire more sensitive information than the task requires.

Show full abstract

Existing privacy benchmarks audit what the agent's response or outgoing actions disclose, but overlook the acquisition stage where data first enters the agent's context. The over-acquired information is then one careless action or one attack away from an outright leak. To assess its prevalence, we introduce \emph{PrivacyPeek}, a benchmark for evaluating acquisition-stage privacy leakage of LLM-based agents, with $1{,}182$ cases across $7$ acquisition behaviours and $16$ application domains. Specifically, \emph{Acquisition Inspection} examines the agent's tool-call trajectory, both the tools it invokes and the data it receives, to detect when it acquires sensitive information beyond the task scope. \emph{Probe Elicitation} then issues a follow-up probe and measures how readily an attacker could elicit sensitive information the agent acquired but did not disclose. Our experiments on $10$ LLM-based agents across $4$ model families show that the unnecessary acquisition of sensitive information is widespread. In addition, we observe a correlation between the task-completion capability and acquisition-stage leakage. Prompt-level defences reduce only a small fraction of acquisition-stage leakage, leaving the majority unmitigated. These results make auditing acquisition-stage privacy both urgent and necessary. Our dataset and code are available at https://github.com/Xuan269/PrivacyPeek-Resource.

View on arXivView PDF

Code Implementations(1)

60PythonMay 29, 20266 months ago

Similar Papers

Cite this paper

@article{zhang2026privacypeek,
  title  = {PrivacyPeek: Auditing What LLM-Based Agents Acquire, Not Just What They Say},
  author = {Mingxuan Zhang and Jiahui Han and Dadi Guo and Songze Li and Guanchu Wang and Na Zou and Dongrui Liu and Xia Hu},
  year   = {2026},
  eprint = {2606.00152},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.00152v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.00152.svg)](https://codeofpaper.com/paper/2606.00152)

Discussion