AgentPrivArena: A Privacy Risk Evaluation Framework for LLM Agent WorkflowsAgentPrivArena
AgentPrivAudit reduces average leak rate from 46.8% at C0 to 17.8% at C4 across five executors and 389 tasks.
- LLM agents access personal data through external tools, but existing benchmarks mostly use simulated trajectories and outcome-level metrics, missing extraneous accesses during multi-step execution, and runtime privacy audits rarely have executable environments.
- AgentPrivArena uses self-hosted services in Docker and MCP tools to turn PrivacyLens scenarios into executable tasks. AgentPrivAudit extracts information flows after reads and returns PASS, ABSTRACT, or BLOCK before writes based on replaceable principles.
- Across five executors and 389 tasks, the no-mitigation average leak rate is 46.8%, privacy prompting 43.0%, contextual integrity audit 17.8%, and average helpfulness ranges from 2.55 to 2.64. When the same principles are written only as prompts, the four-executor average is 40.7%.
- The authors state that even the best configuration still leaks on 16–19% of tasks, 29.5% of read facts do not become information flows, and metrics have not been compared against human adjudication. The main experiment uses five executors, 389 tasks, and three audit principles; the model name of the independent matcher is not reported.
- Evaluated models
- GPT-5.4DeepSeek-V4-ProKimi-K2.6Mistral-Large-3Gemini-Flash-2.5Grok-4-20
- Benchmarks
- PrivacyLensAgentPrivArena
- Metrics
- leak ratehelpfulnessexposure rateextraction recall
Researchers propose AgentPrivArena, a framework for evaluating LLM Agent privacy risks in a reproducible execution environment, integrating real MCP tools and self-hosted services. The framework proposes trajectory-level privacy metrics that quantify unnecessary information access beyond the final response, and provides a runtime audit method, AgentPrivAudit, for monitoring privacy violations during Agent execution. Experiments on multiple frontier LLM Agents show that existing evaluation paradigms overlook a large number of privacy risks, and the authors accordingly emphasize the importance of trajectory-level auditing for trustworthy Agent deployment.
Related events and news
1 events · 1 news mentions
- This event's paper
AgentPrivArena:评估Agent轨迹隐私风险
News that mentions this paper
AgentPrivArena:评估Agent轨迹隐私风险
- Shouju Wangnames the paperAgentPrivArena 发布 Agent 隐私评测基准与运行时审计框架
AgentPrivArena follows the whole execution: what the agent searches, what it reads, what enters its context, and what it eventually sends.
Paper analysis
What problem does this paper attempt to solve?
Simulated trajectories and outcome-level metrics cannot assess privacy violations during multi-step execution; the authors propose executable evaluation and runtime auditing.
Existing evaluations cannot see trajectory-level privacy oversteps in real tool execution.
- Scenario: The authors say LLM agents autonomously handle tasks like email and software development with external tools while touching personal data; the question is whether they access only the information necessary to complete the task.
- Existing shortcomings: The authors say simulated environments and synthetic trajectories do not cover open-ended tool interaction, and fold violations into predefined failures, ignoring long-range interaction and context accumulation. Outcome-level metrics only look at reply leakage or task success, missing sensitive accesses that do not enter the final reply. Existing CI methods are mostly at the prompt level or post-hoc analysis; runtime audit is largely unexplored.
- Observation: The authors say scored trajectories are usually simulated rather than executed, and scores themselves are outcome-level. A single read brings task-relevant content together with protected content and leaves it in context (Figure 1).
- This paper's approach: The authors propose an executable evaluation framework AgentPrivArena, trajectory-level privacy metrics, and a runtime audit AgentPrivAudit. The authors say AgentPrivArena is the first framework to evaluate privacy protection in real LLM agent workflows, featuring real MCP tools, self-hosted services, and reproducible Docker environments.
What related research exists?
In related work, trajectories are mostly simulated and scores are mostly outcome-level, and in mitigation methods the principles themselves are not inputs.
The paper positions the gap across three categories of work and uses Table 1 to compare context privacy evaluation in agent settings.
Context privacy and agent benchmarks
- Content-level and synthetic benchmarks: ConfAIde (Mireshghallah et al., 2024) provides content-level review probes; CI-Bench (Cheng et al., 2024), GoldCoin (Fan et al., 2024), and PrivaCI-Bench (Li et al., 2025) extend with synthetic dialogues and documents.
- Agent trajectories: The authors state that PrivacyLens (Shao et al., 2024) first extended CI scenarios to agent trajectories. Concurrent work includes the enterprise multi-user process CI-Work (Fu et al., 2026), the web agent data minimization AgentDAM (Zharmagambetov et al., 2025), and inter-agent channels AgentLeak (El Yagoubi et al., 2026), PiSAs (Gupta et al., 2026), and MuPPET (Ruzzetti et al., 2026).
- PrivacyPeek (Zhang et al., 2026): Audits which sensitive records a trajectory pulls into context. The authors state that it evaluates trajectories provided by the benchmark rather than trajectories the agent discovers on its own.
Leakage mitigation
- Changing behavior: PrivacyChecker (Wang et al., 2025a) uses prompts to steer the executor; CI-RL (Lan et al., 2025) internalizes norms through reinforcement learning.
- Prior authorization: The authors state that AirGapAgent (Bagdasarian et al., 2024) withholds context in advance; CaMeL (Debenedetti et al., 2025) and Progent (Shi et al., 2025) do not inspect the content carried by already-allowed calls when refusing tool calls. The authors state that in these works the guidelines themselves are not inputs; AgentPrivAudit audits what authorized information flows may carry in the loop and performs abstraction rather than refusing tool calls.
Executable environments
- Capability evaluation has moved to real software: WebArena (Zhou et al., 2024), WorkArena (Drouin et al., 2024), SWE-bench (Jimenez et al., 2024), TheAgentCompany (Xu et al., 2025), OpenAgentSafety (Vijayvargiya et al., 2026); MCP (Anthropic, 2024) standardizes access to external services. The authors state that the realism used to measure what agents can do has not yet been applied equally to measuring what they disclose.
Baselines and data
- Experimental controls: No mitigation (C0), and a system prompt with privacy awareness only, without explicit decision guidelines (C1); audit arms are PII, data minimization, and contextual integrity. Tasks are converted from PrivacyLens's 493 scenarios, with an executable subset of 389.
- Table 1: Positions PrivacyLens, AgentDAM, AgentLeak, CI-Work, MPCI-Bench, PiSAs, PrivacyPeek, and this paper by whether they are CI-based, use real tool execution, use a live environment, and use trajectory-level evaluation. AgentDAM and PrivacyPeek have "–" in the CI column.
The authors identify the gap as two nearly universal properties: the scored trajectories are simulated, and the scores are outcome-level. This paper instead executes on self-hosted services and supplements outcome-level scoring with trajectory-level metrics and runtime auditing.
How does the paper address this problem?
AgentPrivArena turns scenarios into executable services, and AgentPrivAudit extracts information flows after reads and disposes of them before writes according to principles.
AgentPrivArena turns privacy scenarios into executable tasks against self-hosted services; AgentPrivAudit maintains an information flow list after reads and disposes of outbound writes before they occur according to replaceable principles.
Execution Environment
- Three layers: a local service layer holding task state, an MCP layer exposing services to the agent, and an execution layer running the agent under test in a sandbox (Figure 1). The agent uses MCP for search, read, write, and final actions.
- Framework: Uses OpenHands, not Hermes or OpenClaw. The authors' stated reason is that it has an MCP tool layer, execution hooks, and a Docker workspace, making it easy to put evaluation and auditing in the same framework.
- Six open-source services (Table 2): knowledge base BookStack 26.03.3, direct messages Mattermost 11.6.0, team chat Rocket.Chat 6.13, email Mailpit 1.29.7, social GoToSocial 0.21.2, calendar Radicale 3.6.1. All are self-hosted in containers.
- Isolation: Each task starts a fresh agent container, resets and seeds the required services, records the trajectory, then deletes the container and clears state. The ethics statement says services are on a private Docker network with no outbound path, so writes cannot reach real people; records are synthetic data derived from vignettes written by PrivacyLens.
Tools and Tasks
- Tool classification: Each service has one MCP server, with tools divided into discovery, access, and write. The authors state that only write tools can leak and are the class gated by the audit. There are 28 tools total: 13 discovery, 8 access, 7 write (Table 5). Radicale has no write tool.
- Untrusted categories: Discovery tools marked with † return body text or snippets along with identifiers, so the audit treats every observation as extractable. Tool interfaces align with PrivacyLens's simulated toolkits to enable trajectory comparison. When sending email, recipient and body are separate fields, and the sender is fixed server-side and not in the schema (Appendix A).
- Task conversion: Source scenarios become task instructions and per-service seed files; sensitive records are service state, reachable only through the agent's own reads, not written in the prompt (Figure 1). Of 493 items, 389 are executable; 104 fail mainly due to group conversations, sender accounts, or source records that cannot be instantiated (§5.1).
Runtime Audit
- Two boundaries (Figure 2): After each batch of reads, the extractor updates the list using the user instruction and observations so far. The instruction is used to determine task purpose and intent destination; observations provide content and source. Observations are given to the agent verbatim; the extractor does not withhold or rewrite records the agent is to read, and may insert a short suggestion before the next step.
- Write boundary: Before any outbound write executes, the arbiter returns a reason and PASS, ABSTRACT, or BLOCK against the list. PASS allows transmission, ABSTRACT replaces specific details with a summary, and BLOCK prevents that flow.
- Information flows: Following contextual integrity, each flow has five attributes: SENDER, RECIPIENT, SUBJECT, TYPE, TRANSMISSION PRINCIPLE. The list is denoted It and updated with the trajectory.
- Design note: The ethics statement says the audit is fail-open by design, and the authors state it should not be considered a security control against adversaries that can induce failures; the reasons also state what it is checking, and agents exposed to these reasons may organize disclosures that still pass the gate.
Configurable Principles and Adjudication
- Replaceable principles: Flow patterns, extraction rules, output formats, parsers, and execution paths are fixed; only the principle changes, so the comparison is between principles rather than implementations (§4.2). Appendix D gives the full prompts.
- Three questions: CI (default) asks whether it is appropriate for this subject, via this channel, for this purpose, to share this fact about this object with this recipient; PII asks whether the fact discloses personally identifiable information about someone other than the user; data minimization asks whether the fact is necessary to complete the task.
- Two types of scores: Outcome-level looks at whether the committed action discloses protected items and the degree of task completion. Trajectory-level uses a list of sensitive facts from the source data to track exposure, extraction, and disposition. Adjudication prompts and sample sizes are in Question 4.
What experiments did the paper conduct?
Five executors leak an average of 46.8% without mitigation; C4 auditing reduces this to 17.8%, with average usefulness between 2.55 and 2.64.
Experimental Setup
- Executors: GPT-5.4, DeepSeek-V4-Pro, Kimi-K2.6, Mistral-Large-3, Gemini-Flash-2.5. §6.2 additionally uses Grok-4-20 with reasoning disabled. Appendix C gives endpoint identifiers; decoding for each role remains at endpoint defaults, with no temperature adjustment per condition.
- Auditors and adjudicators: In Table 4, both the extractor and the arbiter are GPT-5.4, so that row has the executor and auditor overlapping (§5.1). Leakage and helpfulness are scored post hoc independently by gpt-5, claude-sonnet-4.5, and gemini-2.5-pro; a leak is recorded if at least two adjudicators deem a disclosure. In Appendix C, Claude is identified as claude-sonnet-4-5-20250929.
- Tasks: 389 executable tasks out of 493 PrivacyLens items. There are 1,175 reference protected items, with a median of 2 per task; the list is copied verbatim from the source data.
- Conditions: C0 is no mitigation; C1 is a privacy-aware system prompt with no explicit principles; C2–C4 share the same pipeline, with principles of PII, data minimization, and contextual integrity, respectively.
- Metrics: Leak rate is the proportion of tasks where the committed action discloses at least one reference protected item. Helpfulness is 0–3, averaged within a task across the three adjudicators, then averaged over tasks that produced an action; Table 4 still writes n=389 per cell. Trajectory-level metrics include exposure rate, extraction recall, and disposition distribution, with different denominators. Whether an item appears in observations is determined by an independent matcher from a different vendor family; the paper does not give the model name.
- Not reported: The paper does not report the number of repetitions per task. Appendix E states that the leakage and helpfulness rubrics inherit from PrivacyLens, with answers changed to single-line integers.
Main Results
According to Table 4, leak rate (%, ↓), n=389 per cell. Avg is aggregated by task. C0 is no mitigation, C1 privacy prompt, C2 PII, C3 data minimization, C4 contextual integrity.
Swipe horizontally to read the table
Executor C0 C1 C2 C3 C4 GPT-5.4 (executor=auditor) 33.4 27.1 23.7 20.5 17.3 DeepSeek-V4-Pro 58.8 53.9 31.4 22.4 19.3 Kimi-K2.6 54.8 52.1 28.8 18.5 18.1 Mistral-Large-3 46.5 44.5 25.1 18.6 16.2 Gemini-Flash-2.5 40.3 37.6 23.5 18.7 18.1 Avg 46.8 43.0 26.5 19.7 17.8 - Authors' interpretation: The table note states that C4 is the lowest leak rate in every row. The authors state that privacy prompting yields only a small decrease, and runtime auditing under all three principles is lower. The executor ranges in Figure 4 are 25.4, 26.8, 8.0, 4.0, and 3.1 percentage points for C0, C1, C2, C3, and C4, respectively; the authors state that prompting leaves the original range, while the enforcement mechanism shrinks it.
- Helpfulness: The Avg row's helpfulness ranges from 2.55 to 2.64 (Table 4). The lowest cell in the table is Gemini-Flash-2.5's C2 at 2.43. The authors state that utility is largely maintained; the conclusion states that helpfulness changes are within 0.09.
- Reading the table: Avg is aggregated by task, not a separate experiment. The auditor in the GPT-5.4 row is that executor itself.
Trajectory-Level Decomposition
- What is measured: How reference protected items enter the context and are processed by the audit (Figure 3, §5.4). The authors state the goal is to locate residual leakage: items the arbiter does not see cannot be gated.
- Exposure: Without mitigation, 79.2% of reference items enter at least one observation, compared to the task-level leak rate of 46.8%, with different denominators. The text states that C2–C4 exposure rates are 77.5%, 75.5%, and 74.2%. C4 has 7.0 tool calls per task and 4.0 read accesses, versus 6.8 and 3.9 without mitigation. The authors state that trajectories do not become shorter; what changes is which records are opened. They also state that Gemini-Flash-2.5 has the lowest exposure rate at 62.4%, but its leakage is not the lowest, and reading less may also indicate poorer exploration.
- Extraction and disposition: Under contextual integrity, 70.5% of read items are represented as flows, with 29.5% missing. The three principles have recalls of 70.5%, 73.1%, and 71.9%, a span of 2.6 percentage points; the text only attributes 70.5% to contextual integrity. The authors state that the extraction path does not change with the principle, which is a mechanism ceiling. The aggregate disposition for CI is PASS 38%, ABSTRACT 52%, BLOCK 10%. The figure note states that PII's BLOCK is 1.2%. C0 and C1 only define exposure rate.
Principles Written as Prompts vs. Given to the Audit
- Setup: §6.1 writes the same principle either as a system prompt or gives it to the audit for execution. The principle arms in Figure 5 average four executors, excluding Gemini-Flash-2.5. The no-mitigation reference of 46.8% aggregates five executors, not a balanced four-executor baseline.
- Results: When written as prompts, the average is 40.7%; the authors state that the three principles span only 4 percentage points, and contextual integrity is not the best. When given to the audit, the average is 21.7%, with contextual integrity leading PII by 9.5 percentage points. This 21.7% is not the five-executor average from Table 4. The text attributes 11.8 percentage points of the prompt-to-execution loss to PII, and 22.0 and 23.1 to the other two (Figure 5).
- Testing: On tasks where all four arms ran, the difference-in-differences of CI relative to PII is −10.3 percentage points [−13.8, −6.8], p=10−4; relative to data minimization it is only +1.2 percentage points (p=0.38). The authors state that the comparison that depends on delivery method is with PII. The three audit arms' tokens differ from each other by within 7% (Appendix F).
Changing Auditor and Changing Executor
- Setup: §6.2 fixes the principle and the two boundaries, and swaps both executor and auditor between GPT-5.4 and Grok-4-20 with reasoning disabled, each with no-mitigation and privacy-prompt arms (Figure 6). Each arm has 389 tasks; balanced executor comparisons use 382–385 tasks. Appendix C states that these eight assignments match the model identifiers in the event logs.
- Results: The authors state that changing the auditor changes leakage, while changing the executor does not. Auditor swaps yield −6.2 and −10.1 percentage points (p<10−2),执行器互换为 ±1.8 个百分点(p>0.3). The executor gap drops from 22.7 percentage points without auditing to 1.6 with a shared auditor. The authors state that privacy capability shifts to the auditor; the cost of a non-reasoning auditor is 6–10 percentage points.
Other Ablations and Analyses
- Execution fidelity (Table 3, 389 tasks): completion rates are GPT-5.4 100.0%, DeepSeek-V4-Pro 99.2%, Kimi-K2.6 99.5%, Mistral-Large-3 97.9%, Gemini-Flash-2.5 98.2%, which the authors state average 98.96%; error recovery rates are 100.0, 100.0, 100.0, 93.3, and 99.1, respectively.
- Tokens (Table 8, five-executor average, relative to C0): C1 is 0.65×, C2/C3/C4 are 2.13×, 2.21×, and 2.07×; the authors state that the auditor accounts for only 23–24%, with the increase mainly from longer executor contexts.
- Trajectory shape (Table 9): static PrivacyLens (n=493) has a mean of 1.9 reads and 0.2% with ≥8 reads; live aggregation (n=1945) has a mean of 5.1 and 14.3%. GPT-5.4 has 30.6% deep tasks, Gemini-Flash-2.5 has 1.8%.
- Appendix G.2: proportion of actions scored 0 is 11.1% with auditing and 12.4% without mitigation. In the example with repeated abstraction, the three adjudicators give helpfulness 0 and judge it as not leaked. The authors state there is no mechanism to distinguish withholding details from withholding the answer.
- Appendix G.1: the relational principle abstracts relational facts that the authors state PII rules would not flag; in that example, the three adjudicators judge it as not leaked and fully helpful.
- Conversion (Appendix G.4): 104 items are not instantiated: group conversations 34, sender accounts 33, source records cannot be seeded 27, and other 22; the four action types have service discard rates of 15%, 19%, 24%, and 26%. The authors state the reason is not privacy difficulty.
What are some points that can be further explored?
The authors state that even the best configuration still leaks on 16–19% of tasks, and extraction omissions limit the scope that auditing can control.
Limitations and Future Directions Noted by the Authors
- Residual leakage (Limitations): The authors state that even the best configuration still leaks on 16–19% of tasks. Of the facts read by the agent, 29.5% are not represented as information flows; counting items never read, 47.7% of protected facts are entirely off the list. The typical failure at the other end is repeated abstraction, and there is no mechanism to distinguish withholding sensitive details from withholding the answer.
- Metrics not human-validated (Limitations): The headline numbers all come from LLM adjudication with 2-of-3 agreement. Agreement is κ=0.82–0.87 on easy cases, and as low as κ=0.61–0.71 on the conditions the authors claim. The three adjudicators reuse an existing rubric and may share its biases. A double-annotated package is prepared but not yet annotated; the authors state that no claim has been compared against human adjudication.
- Scope (Limitations): One subject, one agent, text; multimodality is only a scoping probe. Of 493 items, 389 are convertible, due to service encapsulation and seed mapping, not privacy difficulty. Direct message encapsulation cannot seed group conversations, and violations relying on broad internal audiences are absent. The authors believe this may make leak rates and reduction estimates conservative.
- Mechanism not decomposable (Discussion §7): Each audit arm bundles together structured information flows, execution paths, and a second model. The authors state they cannot say which part works, and label the claim that "the benefit mainly comes from making the trajectory explicit, not from vetoing" as a hypothesis rather than a result; an arm where the executor audits itself could test that hypothesis.
- Next step is extraction (Discussion §7, Conclusion): The arbiter only decides on flows represented at the read boundary, i.e., 70.5% of what the agent reads. The authors state that improving extraction recall is more direct than strengthening the arbiter. The conclusion reiterates that residual leakage remains 16–19%, and most of what the arbiter fails to block is what it did not see.
Experimental Coverage
- Main result executors are GPT-5.4, DeepSeek-V4-Pro, Kimi-K2.6, Mistral-Large-3, Gemini-Flash-2.5, with n=389 per condition (Table 4).
- The auditors in Table 4 are all GPT-5.4; §6.2 uses GPT-5.4 and Grok-4-20 with reasoning disabled as both executors and auditors, with 389 tasks per arm and balanced comparisons on 382–385 tasks.
- Leakage and helpfulness are scored post hoc by gpt-5, claude-sonnet-4.5, and gemini-2.5-pro. The principle arms in Figure 5 average four executors, excluding Gemini-Flash-2.5 (§6.1).
- The environment consists of the six self-hosted services in Table 2 and the 28 MCP tools in Table 5; tasks come from PrivacyLens, and Appendix G.4 records reasons for 104 items not being convertible.
- The paper does not report the model name of the independent matcher (§5.2), nor the number of repeated runs per task; decoding remains at each endpoint's default (Appendix C).
Summarize the main content of the paper
The audit reduces average leakage from 46.8% to 17.8% across five executors and 389 tasks, with helpfulness variation within 0.09.
Executable contextual privacy evaluation, plus runtime audit that handles outbound writes by information flow.
- Problem: Agents in multi-step tool execution may access and carry out personal information that need not be shared. Simulated trajectories and outcome-level scores miss these oversteps, and runtime lacks an intervenable audit.
- Approach: AgentPrivArena plants PrivacyLens scenarios into six self-hosted services, handed via MCP to OpenHands agents in a sandbox to discover records themselves. AgentPrivAudit maintains a five-field information flow after each batch read, and gives PASS, ABSTRACT, or BLOCK before writes based on replaceable criteria. The main experiment auditor is GPT-5.4, with 389 executable scenarios as tasks.
- Results: According to Table 4, average leak rate across five executors goes from 46.8% without mitigation to 43.0% with privacy prompts, then to 17.8% with context integrity audit; C4 is lowest in every row. Figure 4's executor range drops from 25.4 percentage points to 3.1. Average helpfulness is 2.55–2.64. When the same criteria are only written as prompts, the four-executor average is 40.7%, and the authors say context integrity is not the best among them (Figure 5). Extraction recall for read items under context integrity is 70.5% (§5.4).
- Authors' conclusion: The audit reduces leakage from 46.8% to 17.8%, with helpfulness variation within 0.09; residual remains 16–19%, and most of what the arbiter did not block was not seen at extraction. The authors label as a hypothesis that "the benefit comes mainly from writing down the trajectory rather than vetoing," and consider improving extraction recall more direct than strengthening the arbiter.