Skip to content

AgentDAM: Privacy leakage evaluation for autonomous web agentsAgentDAM: Privacy Leakage Evaluation for Autonomous Web Agents

arXiv· arXiv:2503.09780· NeurIPS 2025· Arman Zharmagambetov, Chuan Guo, Ivan Evtimov, Maya Pavlova, Ruslan Salakhutdinov, Kamalika ChaudhuriFAIR at Meta; MetaIndexed by this site · 27 days ago· Originally publishedEvaluation

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

The authors propose the AGENT DAM benchmark, which measures agents' data minimization behavior end-to-end in a real Web environment, and find that GPT-family agents without defenses achieve privacy scores of only 0.541–0.748.

Questions
Autonomous Web agents need to access users' personal information when performing tasks, but there is a lack of end-to-end measurement methods for whether they follow the principle of data minimization at inference time (using only the information necessary for the task); the probing approach of directly asking the LLM is considered by the authors to overestimate privacy levels.
Methods
The authors build the AGENT DAM benchmark: based on WebArena/VisualWebArena self-hosted Reddit, GitLab, and Shopping three real websites, with data seeds written by humans and user_data containing sensitive information generated by Llama-3.3-70B, 246 tasks in total; gpt-4o is used as an LLM judge to detect leakage in action trajectories, and a privacy-aware system prompt with CoT demonstrations is proposed as mitigation.
Experiments and results
The three GPT-family models had privacy scores of 0.541–0.748 without defenses, while Llama and Claude were about 0.88–0.90; privacy CoT mitigation raised each model's privacy to 0.821–0.939 but not above 0.94, with a slight decrease in utility; probing scores were generally higher than end-to-end measurements (the opposite for Llama).
Limitations and future work
The authors state that no mitigation achieved full privacy and that stronger mitigation strategies are needed; the benchmark needs to be extended to more tasks, Web applications, and scenarios beyond the Web. 6 models were tested, with 246 tasks, each experiment run 3 times and averaged; no error bars or statistical tests were reported.
Experimental setupgpt-4o、gpt-4o-mini et al. · AGENT DAM(基于 WebArena 和 VisualWebArena 的 Reddit、GitLab、Shopping 环境) · utility(任务完成率)、privacy performance(1 − privacy leakage rate) et al.
Threat model
Benign setting: no malicious actors and no external attacks; the agent performs tasks in a real but isolated and controlled Web environment, only part of the data in user_data is allowed to be shared with the environment, and what is measured is inadvertent leakage.
Evaluated models
gpt-4ogpt-4o-minigpt-4-turbollama-3.2-90b-vision-chatllama-3.3-70b-chatClaude-3.5-Sonnet-v2 computer use agent (claude-cua)
Benchmarks
AGENT DAM(基于 WebArena 和 VisualWebArena 的 Reddit、GitLab、Shopping 环境)
Metrics
utility(任务完成率)privacy performance(1 − privacy leakage rate)privacy leakage rate
AI summaryThe researchers propose the AgentDAM benchmark to measure whether web navigation agents follow the data minimization privacy principle, i.e., using potentially sensitive information only when truly necessary to complete a specific task. The benchmark simulates real web interaction scenarios end to end and can be adapted to various existing web navigation agents. Evaluation of agents built on GPT-4, Llama-3, and Claude shows that they readily use sensitive information unrelated to the task unintentionally. The authors also propose a prompt-based defense method that can reduce information leakage, and state that end-to-end evaluation better reflects real-world situations than directly probing an LLM's privacy tendencies; the results indicate that further research is still needed for agents to prioritize data minimization at inference time.

The researchers propose the AgentDAM benchmark to measure whether web navigation agents follow the data minimization privacy principle, i.e., using potentially sensitive information only when truly necessary to complete a specific task. The benchmark simulates real web interaction scenarios end to end and can be adapted to various existing web navigation agents. Evaluation of agents built on GPT-4, Llama-3, and Claude shows that they readily use sensitive information unrelated to the task unintentionally. The authors also propose a prompt-based defense method that can reduce information leakage, and state that end-to-end evaluation better reflects real-world situations than directly probing an LLM's privacy tendencies; the results indicate that further research is still needed for agents to prioritize data minimization at inference time.

Related events and news

0 events · 1 news mentions

News that mentions this paper

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    How to measure end-to-end whether a Web agent, while executing a task, follows the data minimization principle and does not leak sensitive information unrelated to the task.

    Core question: whether autonomous Web agents can follow the principle of "data minimization" at inference time—using potentially sensitive information only when necessary for the task—and how to measure this end-to-end.

    • Problem scenario: to complete tasks such as paying bills and managing schedules, agents need to access personal information such as credit card numbers and emails, and the authors argue it is necessary to confirm whether this information is used appropriately; this paper focuses on inference-time privacy leakage, not training data privacy.
    • Shortcomings of existing methods: the authors state that prior work mostly focuses on training data privacy; ConfAIde and others directly ask (probe) the LLM whether a piece of information is appropriate to disclose, but the authors argue that agents must not only reason about privacy but also manage personal information through actions while executing multi-step Web tasks, which probing cannot cover.
    • Core setting: data minimization means the agent uses a piece of sensitive information only when it is necessary to complete the target task, for example, a social security number can be used for filing taxes but should not be used for buying groceries online.
    • What the paper proposes: the AGENT DAM benchmark, which measures agents' task completion rate (utility) and leakage of irrelevant sensitive information (privacy) end-to-end in a real (isolated and controlled) Web environment, together with an LLM judge to automatically determine leakage; it also proposes a prompt-based mitigation method.
    • Threat model:
      • Setting: a benign environment with no malicious actors and no external attacks, measuring inadvertent leakage.
      • Victim system: Web navigation agents running on WebArena/VisualWebArena and the Anthropic computer-use reference implementation.
      • Data boundary: only part of the data in user_data is allowed to be shared with the environment; SENSITIVE_DATA is background information unrelated to the task that should not appear in the output.
      • Success determination: utility uses a reward function R: S × A → {0,1} to check the final environment state; privacy checks whether SENSITIVE_DATA appears in the text of each action.
  2. What related research exists?

    Related work is divided into four groups: agent frameworks, agent privacy, LLM training data privacy, and agent security attacks; the authors state that this paper is the first to evaluate end-to-end in a real, controlled environment under a benign setting.

    AI agents and Web navigation

    • WebArena [41] and VisualWebArena [19]: real Web navigation simulators; this paper's benchmark is built directly on the two, reusing their website representations (accessibility tree, SOM screenshots) and action execution backend.
    • Other agent implementations: simulated environments [30], RESTful API interaction [28]; the authors adopt the mainstream LLM plus scaffolding approach.

    Privacy of AI agents

    • ConfAIde [24], Ghalebikesabi et al. [15], CI-Bench [10]: directly ask the LLM whether a certain piece of sensitive information is appropriate to disclose in contexts such as conversation, form filling, and email writing. The authors state that Section 4.2 of this paper shows such probing gives more optimistic measurements than "privacy in action".
    • PrivacyLens [31]: likewise uses seeds to generate privacy datasets and executes agent trajectories, but the authors point out that its environment is a pure-text simulation and its tasks involve more complex social situations, whereas this paper is a multimodal real environment oriented toward target tasks.
    • AirGapAgent [4], WASP [14]: consider information leakage of tool-integrated agents under adversarial third parties; the authors state that this paper is the first work to evaluate privacy leakage end-to-end in a real controllable environment under a benign setting with no adversary.

    LLMs and privacy

    • Training data memorization direction: membership inference [13], training data extraction [6], multimodal memorization [18]; Brown et al. [5] and Mireshghallah et al. [24] argue that solving memorization alone is insufficient to meet privacy expectations.
    • Staab et al. [33]: studies LLMs inferring personal attributes from large amounts of unstructured text provided at inference time. The authors state that this paper is orthogonal to these directions, focusing on inference-time leakage in the agent setting.

    Other safety issues of agents

    • Prompt injection attacks, defenses, and benchmarks: [35, 22, 11, 8, 9] and Agent Security Bench [39], WASP [14]; PrivAgent [25] focuses on exfiltration attacks that steal private information. The authors state that this paper is a complement to this adversarial literature (benign setting).

    Baselines and comparisons: this paper does not propose a new model and has no method baseline; the comparison objects are, first, probing methods [24, 10] (Table 3), and second, the feature comparison in Table 1 with ConfAIde, PrivacyLens, AirGapAgent, Ghalebikesabi et al., and CI-Bench across five dimensions (agent tasks, multi-step trajectories, multimodal input, full-stack environment, task diversity), where the authors state that only AGENT DAM has all five. Authors' positioning: this paper evaluates end-to-end in a real controllable environment, benign setting, multimodal, and diverse tasks, distinguishing it from the above lines of work.

  3. How does the paper address this problem?

    Built 246 tasks containing sensitive information on self-hosted real websites, used an LLM judge to determine leakage action by action, and tested three prompt-level mitigations.

    Overall approach: turn data minimization into an automatically measurable end-to-end task—the agent executes user_instruction on a real website, user_data is mixed with SENSITIVE_DATA unrelated to the task, and an LLM judge checks whether its action text leaks. AGENT DAM consists of three parts: task construction, automatic evaluation, and mitigation.

    Agent setting (POMDP)

    • Interaction modeling: the interaction between the agent and the environment is modeled as a partially observable Markov decision process E = (S, A, Ω, F), with deterministic state transitions: F: S × A → S; the observation ot is a triple: user_instruction, user_data (private documents or conversations), and the webpage representation.
    • Webpage representation: accessibility tree (axtree, text, applicable to all LLM agents) and screenshots with Set-of-Marks (SOM) annotations (applicable only to multimodal models); claude-cua accepts only raw screenshots, does not use the VisualWebArena backend, and runs the full browser directly in a docker container.
    • Action space: follows VisualWebArena's 12 actions (click, type, stop, etc., Table 6); for SOM screenshots, BLIP-2 is additionally used to generate image captions as an additional signal.

    Task and data generation

    • Task sources: the three open-source Web applications in VisualWebArena with the greatest privacy potential are selected—Reddit (Postmill), e-commerce (Adobe Magento), and GitLab, with 8 task categories in total (3 each for shopping and gitlab, 2 for reddit, Table 7).
    • Data seeds: human annotators first write user_instruction, then write a PLOT (a high-level plot description of user_data) and a SENSITIVE_DATA list for each task; SENSITIVE_DATA is drawn from six sensitive categories (personal and contact information, religious/cultural/political identity, employer and employment, financial, education, medical, Table 2).
    • Key design requirement: the PLOT must not revolve around SENSITIVE_DATA; sensitive information should be background information naturally integrated in; if the task itself requires a certain type of private data (e.g., posting about religious belief), that category is not included in SENSITIVE_DATA.
    • Scale determination: Llama-3.3-70B is used to sample and generate user_data from each seed at non-zero temperature; Figure 5 shows that sampling once has large variance and a relatively high leakage rate, and the curve stabilizes at 2 samples ("elbow method"), so the final scale is 2 × 123 seeds = 246 tasks.

    Automatic evaluation

    • utility: the performance evaluator checks whether the final environment state achieves the goal (e.g., whether the specified title appears in the reddit post list), with a reward of 0/1.
    • privacy: checks action by action whether SENSITIVE_DATA appears in the action text; because keyword matching is insufficient to handle generalized concepts and context (e.g., anonymized names do not count as a violation), gpt-4o is used as an LLM-as-a-judge with CoT reasoning and a binary score (1 = leakage occurred); the metrics are privacy leakage rate (proportion of leakage instances) and privacy performance = 1 − leakage rate. The judge prompt is in Appendix C.
    • Judge validation: taking a single run of gpt-4o + axtree, the agreement rate between 4 human evaluators and the LLM judge is 98%.

    Mitigation strategies

    • pre-filter: first use gpt-4o to perform data minimization filtering on user_data, then run the default scaffolding.
    • post-filter: use a model to check whether the final output leaks.
    • privacy CoT (default mitigation): privacy-aware system prompt + CoT demonstrations—informing the agent that user_data may contain extraneous information that should not be used, listing the sensitive categories, and attaching a small number of user_data examples and demonstrations of legitimate output actions; the three methods are not combined.
  4. What experiments did the paper conduct?

    6 agents were tested on 246 tasks for utility and privacy: GPT-family models without defenses had privacy 0.541–0.748; privacy CoT raised this to 0.821–0.939 but utility decreased slightly.

    Experimental Setup

    • Models tested: gpt-4o, gpt-4o-mini, gpt-4-turbo, llama-3.2-90b-vision-chat, llama-3.3-70b-chat, claude-cua (Claude-3.5-Sonnet-v2 computer use); all except llama-3.3-70b have vision capabilities.
    • Benchmark: AGENT DAM, 246 tasks, distributed across shopping (84), reddit (114), gitlab (48) (Table 8).
    • Observation conditions: TEXT ONLY (axtree) and MULTIMODAL (axtree + SOM; raw screenshots for claude-cua); llama-3.3-70b has no vision and only has the axtree condition.
    • Metrics: utility (task completion rate, higher is better) and privacy performance (1 − leakage rate, higher is better).
    • Judging method: gpt-4o serves as the LLM judge, making binary CoT determinations of leakage; 98% agreement with 4 human evaluators on a single gpt-4o axtree run.
    • Number of repetitions: most experiments were run 3 times each and averaged; the paper does not report error bars (NeurIPS checklist item 7 answered No).

    Main Results

    According to Table 4 (taking the MULTIMODAL condition from the "BEFORE MITIGATION" column, with axtree for llama-3.3-70b):

    Swipe horizontally to read the table

    Modelutility without defensesprivacy without defensesutility with mitigationprivacy with mitigation
    gpt-4o0.4550.6380.4150.915
    gpt-4o-mini0.3410.5410.3210.821
    gpt-4-turbo0.4800.7480.4230.894
    llama-3.2-90b0.3330.8820.2970.923
    llama-3.3-70b0.4020.8820.3860.939
    claude-cua0.3500.9020.3090.935
    • Leakage without defenses: the authors state that the three GPT models had lower-than-expected privacy scores (the main text states leakage rates of 25%–46%, corresponding to privacy 0.541–0.748); Llama and Claude also had about 0.88–0.90 without defenses.
    • Mitigation effect and cost: the authors state that privacy CoT raised privacy for all models but none exceeded 0.94, and utility decreased; the authors' examination suggests the utility decrease mainly stems from false denial-of-service (e.g., the model refusing to comment on a post).
    • Multimodal effect: the authors state that multimodal input generally slightly improves utility and has little effect on privacy (in Table 4, gpt-4o privacy goes from 0.646 to 0.638, and llama-3.2-90b from 0.882 to 0.776, in inconsistent directions).

    Probing Comparison Experiment

    • What was measured: without running the agent, directly asking the LLM whether SENSITIVE_DATA in user_data may be shared to complete the task (method following [24, 10]), compared with end-to-end measurements (Table 3).
    • Results: GPT-family probing scores were higher than end-to-end—gpt-4o 0.915 vs 0.646, gpt-4o-mini 0.890 vs 0.557, gpt-4-turbo 0.846 vs 0.732; the opposite for Llama—llama-3.2-90b 0.748 vs 0.882, llama-3.3-70b 0.817 vs 0.882.
    • Authors' interpretation: probing often overestimates models' privacy awareness (Llama is the exception, which the authors state is instead safer in the agent environment), and cannot measure the utility/privacy trade-off, indicating the need for end-to-end evaluation in real environments.

    Leakage Pattern Analysis

    • Statistics by task type (Table 5, counts of tasks on which at least one model leaked): reddit_create_post accounts for the largest share, 89/96 without defenses, dropping to 18/96 with mitigation; next are shopping_contact_us (22/42 → 16/42) and reddit_create_comment (14/18 → 9/18); total 162/246 → 73/246.
    • Authors' interpretation: leakage mostly occurs in tasks requiring long-text output (posting reddit posts, writing contact form emails), and mitigation mainly acts on such tasks; the authors attribute the remaining leakage to improper handling of user_data by models, for example, in the gitlab_add_member task, user_data contains multiple account identifiers, and although user_instruction specifies which one to add, the model still becomes confused.
    • Inter-model consistency (Figure 6, axtree+SOM, models with vision capabilities, Pearson correlation of leakage vectors): the authors state that inter-model correlation is low, i.e., different models fail on different samples; models of the same family (e.g., the various GPTs) have higher correlation. The specific correlation coefficient values are not visible in the converted text.

    Other Ablations and Analyses

    • pre-filter (Table 8, gpt-4o axtree+SOM): utility 0.427, privacy 0.858, lower than privacy CoT's 0.415/0.915; the authors state that pre-filter and post-filter results were unsatisfactory and were not included in the main table of the main text.
    • post-filter (Table 8, gpt-4o axtree+SOM): utility 0.415, privacy 0.854.
    • TEXT ONLY condition (Table 4): gpt-4o axtree privacy 0.646 without defenses, 0.919 with mitigation; gpt-4o-mini axtree 0.557 without defenses, one of the lowest in the whole table.
    • Negative results: no model + mitigation combination achieved full privacy; gpt-4o-mini with mitigation still had privacy 0.821 (MULTIMODAL), the lowest among the models.
  5. What are some points that can be further explored?

    The authors state that existing mitigations have not reached full scores and stronger strategies are needed, and plan to extend tasks and scenarios; the experiments cover 6 models, 246 tasks, and 3 repetitions.

    Limitations noted by the authors and future directions

    • Mitigation is insufficient (Section 5): the authors state that no mitigation achieves a perfect privacy score, and stronger mitigation strategies are needed to enhance privacy while maintaining task performance; directions may include prompting techniques, better reasoning, training, or combinations thereof.
    • Benchmark scope to be extended (Section 5): the authors state that future work needs to extend the benchmark to richer tasks, Web applications, and agent scenarios beyond Web interaction.
    • Relies on community expansion (Appendix B.2): the authors state that the current dataset is a starting point, the benchmark is designed to be dynamic and able to add new websites and cases, and relies on the AI community to help expand it.
    • Inherent flaw of probing (Section 4.2): the authors point out that probing lacks a mechanism to measure the utility/privacy trade-off, because the agent is not actually run.

    Scope of experimental coverage

    • Models tested: gpt-4o, gpt-4o-mini, gpt-4-turbo, llama-3.2-90b-vision-chat, llama-3.3-70b-chat, claude-cua, 6 in total (Section 4.1).
    • Tasks and environments: 246 tasks, covering three self-hosted Web applications—Reddit, GitLab, Shopping—and 8 task categories; sensitive information is limited to the six categories in Table 2.
    • Repetitions and statistics: most experiments are run 3 times and averaged; the paper does not report error bars or statistical significance tests (NeurIPS checklist item 7).
    • Judge validation: the agreement rate between the LLM judge (gpt-4o) and humans is 98%, but it is validated only on a single run of gpt-4o + axtree, with 4 human evaluators (Section 3.3).
    • Mitigation evaluation: the three mitigations (privacy CoT, pre-filter, post-filter) are evaluated separately and not combined; the full numbers for pre-filter and post-filter are only in Appendix Table 8.
  6. Summarize the main content of the paper

    AGENT DAM measures agent data minimization end-to-end in real Web environments: the GPT family without protection has privacy 0.541–0.748, and prompt mitigations improve it but none achieves a perfect score.

    A benchmark paper: the authors propose AGENT DAM, which measures whether Web navigation agents follow the principle of data minimization at inference time—using only the sensitive information necessary to complete the task.

    • Problem to solve: prior work either directly asks the LLM for privacy judgments (probing) or tests in purely text-simulated environments; the authors argue that "privacy in action" needs to be measured end-to-end in a real, controlled Web environment.
    • Method highlights: based on WebArena/VisualWebArena, self-hosting three websites—Reddit, GitLab, and Shopping; data seeds (PLOT + SENSITIVE_DATA) were manually written, and Llama-3.3-70B was used to generate user_data, for a total of 246 tasks; gpt-4o serves as the LLM judge to determine leakage action by action (98% agreement with 4 human evaluators); mitigation is a privacy-aware system prompt + CoT demonstrations.
    • Main results:
      • Without defenses, the three GPT models had privacy scores of 0.541–0.748, and Llama and claude-cua about 0.88–0.90 (Table 4).
      • privacy CoT raised each model's privacy to 0.821–0.939, but none exceeded 0.94, and utility decreased, which the authors attribute to false refusals.
      • probing scores were generally higher than end-to-end measurements (e.g., gpt-4o 0.915 vs 0.646), with the opposite for Llama; the authors state that probing overestimates privacy levels.
      • Leakage was concentrated in tasks requiring long-text output: reddit_create_post leaked 89/96 without defenses, dropping to 18/96 with mitigation (Table 5).
    • Authors' conclusion: current Web agents often fail to follow data minimization even on simple tasks in benign, non-adversarial environments; the authors argue that data minimization needs to be built into agents at inference time, and plan to extend the benchmark's scope of tasks, applications, and scenarios.
Read originalNeurIPS 2025