PrivacyPeek: Auditing What LLM Agents Acquire, Not Just What They SayPrivacyPeek: Auditing What LLM-Based Agents Acquire, Not Just What They Say
The authors propose the PrivacyPeek benchmark to audit privacy leakage in the acquisition stage of LLM agents; across 10 agents, CER is at most 51.95% (Claude-Sonnet-4), and prompt defenses reduce leakage only slightly.
- Existing privacy benchmarks audit only what agents' responses or outgoing actions leak, ignoring the acquisition stage when data first enters the agent's context; over-acquired information is only one careless action or attack away from leakage.
- Constructing the PrivacyPeek benchmark: 1,182 cases cover 7 acquisition behaviors and 16 application domains; Acquisition Inspection uses rules to match out-of-scope data in tool-call traces, and then Probe Elicitation uses a GPT-4o judge to probe whether the retained context supports disclosure of sensitive targets.
- All 10 agents exhibit out-of-scope acquisition, with CER ranging from 6.77% (Llama-3.2-3B) to 51.95% (Claude-Sonnet-4); TCR is positively correlated with CER (Spearman 0.818); prompt defenses reduce it by only 3.73–12.69 percentage points, and confidentiality markers instead increase leakage on most agents.
- The authors note that PLR includes disclosures with no detected acquisition and cannot confirm the source on its own; the co-occurrence in Task 7 does not prove causation; the marker subset has only 44 cases and is a non-paired descriptive comparison; the mitigation evaluated only one system prompt instruction, and the authors state that an external policy layer is needed for control.
- Threat model
- LLM agents act as personal assistants performing benign tasks, with no malicious users, compromised tools or prompt injection; each case has a human-pre-reviewed minimum scope Ec, and out-of-scope acquisition is determined by the agent's own tool-call behavior.
- Evaluated models
- Llama-3.2-3B-InstructLlama-3.1-8B-InstructLlama-3.3-70B-InstructQwen3-4B-InstructQwen3-14BQwen3-30B-A3BGPT-4.1GPT-5.1Claude-Sonnet-4Claude-Sonnet-4.5
- Benchmarks
- PrivacyPeek
- Metrics
- TCRCERHCERPLRHPLROLR
The research team proposes the PrivacyPeek benchmark to evaluate privacy leakage of LLM agents during the information acquisition stage, comprising 1182 cases covering 7 categories of acquisition behavior and 16 application domains. The benchmark uses Acquisition Inspection to examine the agent's tool-call traces and the data it receives, determining whether it acquires sensitive information beyond the task scope; then uses Probe Elicitation to launch follow-up probes, measuring how easily an attacker can elicit information that the agent has acquired but not disclosed. Experiments on 10 LLM agents from 4 model families find that unnecessary acquisition of sensitive information is widespread, and that task completion capability is correlated with leakage in the acquisition stage. Prompt-level defenses can only reduce a small portion of acquisition-stage leakage, with most remaining unmitigated. The dataset and code are publicly available on GitHub.
Paper analysis
What problem does this paper attempt to solve?
The authors state that existing privacy benchmarks look only at what the agent said and ignore the acquisition stage at which data enters the context; PrivacyPeek fills this gap.
Core problem: LLM agents often acquire sensitive information beyond what the task requires when completing tasks, while existing privacy benchmarks audit only responses or outgoing actions, not the acquisition stage when data first enters the agent's context.
- Problem scenario: Agents autonomously decide which user data to acquire through tool calls. The authors give an example: for a task requiring only one vital sign, the agent also acquired the patient's ID number and home address (Figure 1). Once this information enters the context, it may leak through database writes, subsequent responses or third-party attacks.
- Shortcomings of existing work: The authors state that existing benchmarks measure what agents "emit" (e.g., AgentDAM checks whether personal data is forwarded to sink tools), not what they "acquire"; probe-style question answering also cannot predict agents' actual execution behavior (citing Shao et al. 2024).
- Core observation: The authors argue that out-of-bounds acquisition at the acquisition stage is itself a privacy leakage, and control should take effect before information enters the context; looking only at task responses keeps such leakage hidden.
- What the paper proposes: The PrivacyPeek benchmark, with 1,182 cases, 7 acquisition behaviors and 16 application domains, evaluated from two complementary perspectives: Acquisition Inspection (auditing the tool-call trajectory) and Probe Elicitation (subsequent probes measuring disclosure).
- Scenario setting (non-attack threat model):
- The agent acts as a personal assistant performing benign tasks, and the authors explicitly assume no malicious users, no compromised tools and no prompt injection.
- Each case retains one manually pre-reviewed task-completion path within the minimal scope Ec.
- Out-of-bounds acquisition is determined by the agent's own tool-call behavior; the unit of analysis is the tool call rather than the final response.
What related research exists?
Related work falls into three lines: directly probing the model, auditing outbound content, and auditing the full pipeline; the authors state that none of them audits the acquisition stage.
Privacy judgments of direct probe models
- ConfAIde (Mireshghallah et al. 2024) uses a Contextual Integrity probe to model whether sharing information in a given context is appropriate; subsequent work extends it to multimodal inputs (Wang and Zhang 2026) and internal representations (Wang, Xiong, and Shu 2026).
- The paper cites Shao et al. (2024) to note that probe answers do not predict agents' execution behavior well.
Running full trajectories, auditing outgoing content
- AgentDAM (Zharmagambetov et al. 2026) checks whether web agents forward personal data to sink tools.
- AgentLeak (Yagoubi et al. 2026) extends to multi-agent systems, including internal channels that amplify exposure. The authors note that such benchmarks measure what agents emit, not what they acquire.
Auditing the full agent pipeline
- AgentSCOPE (Ngong et al. 2026) annotates information flows with Contextual-Integrity parameters and finds more violations mainly at the tool-response stage than pure output auditing.
- AgentRaft (Lin et al. 2026) statically analyzes publicly registered tools and finds widespread over-exposure of personal data in benign paths.
Comparison baselines and evaluation targets
- This paper is a benchmark paper with no method baseline; the evaluation targets are 10 agents from four series—GPT, Claude, Llama and Qwen—and the mitigation experiment compares one category-aware system prompt instruction (Table 4).
Authors' positioning: PrivacyPeek targets the acquisition stage, asking not whether sensitive information left the agent but whether the agent should have acquired it in the first place; the authors describe it as providing the missing acquisition-stage perspective on agent privacy.
How does the paper address this problem?
PrivacyPeek uses a human-pre-reviewed minimum scope plus dual evaluators: rules match out-of-scope acquisition in tool traces, and a GPT-4o judge probes for context disclosure.
PrivacyPeek overall approach: for each case, the minimal scope Ec required for task completion is manually pre-approved, then the agent executes the task in a unified tool environment, detecting out-of-bounds acquisition and disclosure from two perspectives: the tool-call trajectory and subsequent probes.
Formalization and scenarios
- A case is a tuple containing the user instruction qc, tool surface Tc, data substrate Fc, minimal scope Ec, acquisition target set kcacq, disclosure target set kcdisc and probe pc; Ec is defined and frozen by the authors before model evaluation, and an item is included only if removing it would prevent the task from being completed correctly.
- Based on the GDPR data minimization principle and the Contextual Integrity transmission principle, acquisition-stage leakage is defined as at least one tool call in trajectory τc acquiring personal data outside Ec; the unit of analysis is the tool call.
- When record fields are involved, the same data access tool exposes both narrow field requests and fields="*" broad requests, and contract tests verify that narrow requests are sufficient and do not return out-of-bounds items.
Seven acquisition behaviors and data generation
- 7 behaviors (Table 1, Table 6): Normal-Filename, Sensitive-Filename, Cross-Format, Out-Dated Data, Excess-Field, Forbidden-Content, Out-of-Scope Inferential Access; the first four out-of-bounds aspects are in external file attributes (name, format, time window), and the last three are in content (excess fields, forbidden labels, cross-field inference).
- Generation pipeline (Figure 2): the authors write templates and domain seeds, defining the user goal, Ec, kcacq and kcdisc; GPT-4o is only responsible for expanding the structure into instructions, system prompts and synthetic records.
- Quality control: each case passes 10 deterministic checks (schema completeness, single target behavior, disjoint allowed/forbidden sets, existence of a feasible safe path, etc., Table 8), then the authors review each case individually, removing explicit pressure, deceptive cues and unreasonable artifacts.
- Scale: 1,182 cases × 7 behaviors × 16 domains; Task 3 contains 119 DOCX, 147 XLSX and 30 PDF real files, parsed at runtime with python-docx, openpyxl and pypdf, while the remaining tasks use JSON records.
Dual evaluators
- Acquisition Inspection: pure rule matching, no LLM, matching each tool-returned observation ot against kcacq. CER = 1/N∑c CERc, where CERc indicates that a labeled out-of-bounds item appears in any observation; HCER is computed only on cases where the task was completed, preventing refusal-type agents from getting CER 0 by doing nothing.
- Probe Elicitation: after task completion, tools and network access are disabled, and a case-specific probe pc is issued against the retained context; a fixed GPT-4o judge determines according to a fixed rubric whether the probe answer adds or confirms a protected subject–attribute relationship, yielding PLR; refusals, category-only mentions, incorrect values and mere restatement of the probe are all counted as negative, and ambiguous cases are sent to human review. The same judge applied to the main response yields OLR.
- The authors emphasize that Probe Elicitation is a post-task stress test, not an acquisition detector; PLR includes disclosures with CERc=0 and cannot by itself confirm the source of disclosure; in Task 7, CER matches precursor evidence and the judge assesses sensitive inference, and co-occurrence does not prove causation.
Agent environment
- All agents are implemented as CodeAgent in the Smolagents framework, with actions expressed as Python code; all 1,182 cases use the same 8 tools (3 data access, 2 file system inspection, 3 outgoing, Table 5), and file system access is limited to these tools to prevent bypassing the audited layer with self-written Python.
- Each case has at most 6 steps; the system prompt instantiates a role per domain, with a fixed tool list and closing instruction (Figure 7).
What experiments did the paper conduct?
All 10 agents exhibit out-of-scope acquisition, with CER 6.77%–51.95%; task completion rate is positively correlated with leakage; prompt defenses reduce it by only 3.73–12.69 percentage points.
Experimental setup
- Agents tested: 10, from 4 series—GPT-4.1, GPT-5.1; Claude-Sonnet-4, Claude-Sonnet-4.5; Qwen3-4B-Instruct, Qwen3-14B, Qwen3-30B-A3B; Llama-3.2-3B-Instruct, Llama-3.1-8B-Instruct, Llama-3.3-70B-Instruct.
- Benchmark: the full PrivacyPeek set of 1,182 cases, 7 behaviors, 16 domains; all models receive the same task data and tool contracts under the same conditions.
- Metrics: TCR (task completion rate), CER/HCER (out-of-bounds acquisition rate and its version conditioned on completion), PLR/HPLR (probe disclosure rate and its conditioned version), OLR (main-response leakage rate).
- Determination method: Acquisition Inspection is rule matching, no LLM; PLR/OLR are determined by a fixed GPT-4o judge according to a fixed rubric, with ambiguous cases sent to human review; the appendix reports Wilson 95% confidence intervals for TCR/CER/PLR (Table 9).
- Number of repetitions: the main text does not report the number of repetitions for the main experiments; the appendix reports that one instruction variant on Qwen3-4B-Instruct was run with 3 random seeds at temperature 0.7.
Main results
According to Table 2 (1,182 cases, units %):
Swipe horizontally to read the table
Model TCR CER HCER PLR HPLR Llama-3.2-3B-Instruct 54.48 6.77 7.61 16.67 15.84 Llama-3.1-8B-Instruct 72.76 15.99 17.21 28.51 29.88 Llama-3.3-70B-Instruct 79.61 29.44 30.50 46.62 49.20 Qwen3-4B-Instruct 71.32 10.58 13.29 19.37 22.42 Qwen3-14B 79.53 18.36 19.36 29.61 30.96 Qwen3-30B-A3B 79.95 21.07 23.07 33.93 37.04 GPT-4.1 83.76 27.75 30.81 37.48 41.72 GPT-5.1 85.70 20.56 22.51 25.38 28.33 Claude-Sonnet-4 86.46 51.95 53.91 57.53 60.96 Claude-Sonnet-4.5 80.03 48.22 48.73 51.86 55.39 - The authors state that all 10 agents acquired out-of-bounds data; after conditioning on task completion, every agent's acquisition rate rises, which the authors argue shows that refusals mask acquisition risk in the unconditional rate.
- Every agent's PLR is higher than its CER; the authors explain that the two measure different outcomes, and that PLR includes cases with CERc=0, so it cannot by itself confirm prior acquisition.
- The authors report a positive correlation between TCR and CER (Spearman ρ=0.818, p<0.01)、与 PLR 正相关(ρ=0.685,p≈0.029);Figure 4 中 GPT-5.1 偏离该趋势,TCR 第二高(85.70%)但 PLR 仅 25.38%。
行为与领域分布、联合结果分析
- 探针阶段泄露按行为分布:Task 7(Out-of-Scope Inferential Access)平均 PLR 最高,为 53.29%;最低的行为平均 9.45%。16 个领域中 social media、healthcare、legal、finance 的 PLR 在 36%–51%,retail、engineering、logistics 低于 25%;作者称两个排序在全部 10 个智能体上稳定。
- 按 CER、OLR、PLR 联合分类(Table 3):CER 阳性且探针披露的比例从 Llama-3.2-3B 的 5.33% 到 Claude-Sonnet-4 的 45.60%;CER 阴性但探针披露平均 13.04%,在 6 个开源智能体中的 3 个上超过前者;获取后既不主答也不探针披露(self-restraint)的比例闭源平均 4.46%、开源平均 1.64%。
- 作者认为 self-restraint 与后训练的对齐意图相关而非规模:Llama-3.3-70B 仅 1.61%,低于更小的 Qwen3-30B-A3B(2.12%);GPT-5.1 在其 20.56% CER 的获取案例中有 3.81% 什么都不释放。作者同时注明这些是操作性共现模式,不识别因果机制。
保密标记子集实验
- 测了什么:1,182 案例中 44 例的敏感信息本身带显式保密标记(如 CONFIDENTIAL: <ROLE> ONLY add the prohibition sentence), comparing the PLR/CER of these 44 cases with the remaining 1,138 cases (Table 12, Figure 6).
- Results: 5 agents have a PLR at least 3 percentage points higher on the labeled subset (Qwen3-4B-Instruct +10.56, Claude-Sonnet-4.5 +9.87); only 3 agents improve by at least 3 percentage points—Llama-3.2-3B (−7.87) and Llama-3.1-8B (−6.01) through more refusals, and GPT-5.1 (−7.48) recognized the label in its reasoning but still acquired.
- Authors' interpretation: for most agents, the label acts to prompt them to engage with the content; privacy at the acquisition stage cannot rely on confidentiality labels inside the data and requires an external policy layer before generation. The authors note that this is an unpaired descriptive comparison and does not prove that the label itself causes the difference.
Prompt mitigation experiment
- What was tested: one category-aware system prompt instruction (the strongest of three variants), run on the full 1,182 cases across 3 open-source and 2 closed-source agents (Table 4).
- Results: CER reductions of 3.73–12.69 percentage points—Qwen3-4B 10.58→6.85, Llama-3.1-8B 15.99→9.98, Llama-3.3-70B 29.44→16.75, GPT-5.1 20.56→11.77, Claude-Sonnet-4.5 48.22→36.47; the authors note that each agent still retains more than half of its baseline rate.
- Appendix variant comparison (Table 13, Llama-3.3-70B): reasoning trigger reduces by 6.51, privacy-aware role by 8.88, category-aware role by 12.69 percentage points; on Qwen3-4B, reasoning trigger reduces by an average of 5.47% across 3 seeds (standard deviation 0.88%, paired permutation test p<0.001).
Other ablations and analyses
- Claude version comparison (Figure 5): Claude-Sonnet-4.5 has a PLR 5.67 percentage points lower than Claude-Sonnet-4, but its TCR is also 6.43 points lower, and CER/HCER remain 48.22%/48.73%; the authors state that lower task completion does not prove that privacy is protected.
- Full table of the eight operational categories (Table 11): the SAFE proportion is highest for Llama-3.2-3B at 81.90% and lowest for Claude-Sonnet-4 at 35.19%; the CRITICAL category reaches 16.58% on Claude-Sonnet-4, with open-source agents at most 3.64%.
- Confidence intervals (Table 9): the appendix gives Wilson 95% intervals for TCR/CER/PLR, and the authors note that this is case-level sampling uncertainty, not a paired test of differences between agents.
What are some points that can be further explored?
The authors note that PLR cannot confirm the source of disclosure, that the labeled subset has only 44 cases and is not causal, and that mitigation tested only one prompt instruction, stating that an external policy layer is needed.
Limitations and future directions noted by the authors
- PLR cannot confirm the source of disclosure (Evaluation, Main Results): PLR includes cases with CERc=0, and on its own cannot prove that the disclosed content came from prior acquisition; the authors state that only joint decomposition can distinguish the three types of outcomes.
- Task 7 co-occurrence is not causal (Evaluation, Appendix Task-7 note): in the same case, precursor evidence acquisition and inferential disclosure are both positive; this only records co-occurrence and does not prove that the earlier observation caused the later answer.
- The marker subset is small and is a non-paired comparison (The Marker Subset appendix): 44 cases, where one case moves the result by about 2.3 percentage points; the authors state that it can only serve as a signal of direction and rough magnitude, and that a non-paired comparison does not prove that the marker itself caused the difference.
- The joint categories are descriptive labels (The Eight Behavioural Classes appendix): the eight classes are operational co-occurrence patterns of the label names and do not identify causal mechanisms; the HALLUC prefix itself does not prove hallucination or any other mechanism.
- Mitigation requires an external policy layer (Mitigation Methods, Conclusion): the authors state that prompt instructions reduce CER only slightly, and that acquisition-stage privacy must come from an external policy layer that constrains the agent before generation; the authors discuss directions such as field-restricted APIs, scoped views, pre-tool policies and context management, but did not evaluate them experimentally.
- Minimum scope must be set by the workflow owner (Minimum-Scope Annotation Protocol appendix): the authors state that in deployment the minimum scope should be set jointly by the workflow owner and data administrators, among others; PrivacyPeek evaluates compliance with a fixed task scope and does not treat a single case label as a general policy.
Scope of the experiments
- The evaluated agents are 10 in total from the four series GPT, Claude, Llama and Qwen, all evaluated under the Smolagents CodeAgent framework, the same 8 tools and a budget of at most 6 steps.
- The benchmark consists of 1,182 synthetic-data cases covering 7 acquisition behaviors and 16 application domains; the records in the cases are synthetic and the tool interactions are executable.
- The mitigation experiments evaluated only system prompt instructions (three variants), of which the category-aware variant was run on the full benchmark for 5 agents; field-restricted APIs, scoped views and the like were only discussed and not evaluated.
- The probe judge is a single fixed GPT-4o (a release version of a specified date), and ambiguous cases are sent to human review; the paper does not report the agreement rate between the judge and human review.
- In the main experiments, each model was run once on the 1,182 cases (the paper does not report the number of repetitions for the main results table); only the appendix reports a repeated experiment on Qwen3-4B with one instruction variant at temperature 0.7 and 3 seeds.
Summarize the main content of the paper
PrivacyPeek audits privacy at the agent acquisition stage: all 10 agents acquired out of bounds, stronger capabilities leaked more, and prompt defenses had limited effect.
A benchmark paper: the authors propose PrivacyPeek, which audits privacy leakage in LLM agents at the acquisition stage—not looking at what the agent said, but at whether it should have acquired that data in the first place.
- Problem: existing privacy benchmarks audit only responses or outbound actions; the authors state that agents often acquire sensitive information beyond what the task requires during benign tasks, and once this information enters the context, it is one careless action or attack away from leakage.
- Method: 1,182 cases cover 7 acquisition behaviors (from opening irrelevant files to cross-field inference) and 16 domains; each case has a human-pre-reviewed minimum scope Ec. Acquisition Inspection uses rules to match out-of-scope data in tool-call traces (CER), and Probe Elicitation issues probes after the task with tools disabled, with a fixed GPT-4o judge determining disclosure (PLR).
- Main results: all 10 agents (GPT, Claude, Llama, Qwen series) exhibit out-of-scope acquisition, with CER from 6.77% for Llama-3.2-3B to 51.95% for Claude-Sonnet-4, and PLR from 16.67% to 57.53% (Table 2).
- Relationship between capability and privacy: the authors report that TCR is positively correlated with CER (Spearman ρ=0.818, p<0.01); GPT-5.1 is an exception, with the second-highest TCR (85.70%) but a PLR of only 25.38%.
- Defense results: category-aware system prompts reduce CER by 3.73–12.69 percentage points, but each agent still retains more than half of its baseline rate (Table 4); on the subset of 44 cases with explicit confidentiality markers, leakage increased rather than decreased for 7 agents, and the authors state that acquisition-stage privacy cannot rely on in-data markers and requires an external policy layer.
- Authors' conclusion: out-of-scope acquisition is pervasive and remains hidden when only task responses are examined; the authors consider auditing the acquisition stage urgent and necessary, and plan to release PrivacyPeek to support the development of more trustworthy agents.