WebSP-Eval: Evaluating Web Agents on Website Security and Privacy Tasks
Organizations: University of Wisconsin-Madison
Abstract
Web agents automate browser tasks, ranging from simple form completion to complex workflows like ordering groceries. While current benchmarks evaluate general-purpose performance~(e.g., WebArena) or safety against malicious actions~(e.g., SafeArena), no existing framework assesses an agent's ability to successfully execute user-facing website security and privacy tasks, such as managing cookie preferences, configuring privacy-sensitive account settings, or revoking inactive sessions. To address this gap, we introduce WebSP-Eval, an evaluation framework for measuring web agent performance on website security and privacy tasks. WebSP-Eval comprises 1) a manually crafted task dataset of 200 task instances across 28 websites; 2) a robust agentic system supporting account and initial state management across runs using a custom Google Chrome extension; and 3) an automated evaluator. We evaluate a total of 8 web agent instantiations using state-of-the-art multimodal large language models, conducting a fine-grained analysis across websites, task categories, and UI elements. Our evaluation reveals that current models suffer from limited autonomous exploration capabilities to reliably solve website security and privacy tasks, and struggle with specific task categories and websites. Crucially, we identify stateful UI elements are a primary reason for agent failure, with toggles causing more than 45% task failure across many models.
Figures & tables
| Total Instances | # CORRECT | # INCORRECT |
| 200 | 115 | 85 |
| Model | WithNav Variant | W/oNav Variant | ||||
| Success | Failure | T out | Success | Failure | T out | |
| Gemini-2.5-Flash | 127 | 66 | 7 | 106 | 83 | 11 |
| Gemini-2.5-Pro | 131 | 59 | 10 | 122 | 74 | 4 |
| Gemini-3-Pro-Preview | 169 | 24 | 7 | 165 | 26 | 9 |
| Claude-Haiku-4.5 | 117 | 27 | 56 | 106 | 25 | 69 |
| Claude-Sonnet-4.5 | 117 | 32 | 51 | 122 | 29 | 49 |
| Model | Both Correct | Only WithNav | Only W/oNav | Both Failed |
| Gemini-2.5-Flash | 89 | 38 | 17 | 56 |
| Gemini-2.5-Pro | 101 | 30 | 21 | 48 |
| Gemini-3-Pro-Preview | 147 | 22 | 18 | 13 |
| Claude-Haiku-4.5 | 83 | 34 | 23 | 60 |
| Claude-Sonnet-4.5 | 90 | 27 | 32 | 51 |
| GPT-5-Mini | 64 | 27 | 23 | 86 |
| Website | W/oNav Variant | # Inst. | |||||||
| 2.5F | 2.5P | 3P | H4.5 | S4.5 | 5m | 5.1 | 3Ge | ||
| Airbnb | 4 | 6 | 9 | 2 | 7 | 1 | 4 | 5 | 9 |
| AlJazeera | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 |
| AllRecipes | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 |
| Amazon | 6 | 5 | 8 | 4 | 5 | 5 | 4 | 2 | 8 |
| BBC | 3 | 3 | 3 | 3 | 3 | 3 | 2 | 0 | 3 |
| Task Category | 2.5F | 2.5P | 3P | H4.5 | S4.5 | 5m | 5.1 | 3Ge | # Inst. | # Websites |
| Account Security & Access Control | 16 | 16 | 20 | 10 | 16 | 11 | 13 | 4 | 22 | 10 |
| Advertising & Personalization Control | 10 | 13 | 19 | 13 | 14 | 10 | 9 | 6 | 19 | 7 |
| Cookie & Tracking Consent Management | 11 | 14 | 16 | 18 | 19 | 11 | 10 | 2 | 24 | 8 |
| Data & Asset Management | 4 | 4 | 5 | 3 | 5 | 4 | 6 | 2 | 6 | 2 |
| Notification & Communication Preferences | 30 | 26 | 41 | 32 | 31 | 24 | 24 | 10 | 51 | 13 |
| Profile Visibility & Customization | 10 | 14 | 21 | 5 | 10 | 6 | 10 | 9 | 22 | 9 |
| UI Element | 2.5F | 2.5P | 3P | H4.5 | S4.5 | 5m | 5.1 | 3Ge | # Inst. |
| Button | 54 (26) | 70 (15) | 92 (3) | 61 (0) | 76 (10) | 48 (12) | 49 (31) | 19 (40) | 111 |
| Checkbox | 16 (19) | 22 (15) | 30 (6) | 19 (0) | 18 (9) | 10 (9) | 13 (17) | 6 (23) | 40 |
| Dropdown | 54 (9) | 50 (7) | 72 (2) | 42 (0) | 50 (2) | 38 (8) | 41 (25) | 16 (32) | 93 |
| Icon | 29 (2) | 34 (1) | 44 (0) | 26 (0) | 28 (0) | 22 (2) | 24 (11) | 9 (11) | 52 |
| Link | 93 (20) | 101 (16) | 138 (7) | 90 (0) | 103 (3) | 73 (14) | 73 (41) | 32 (47) | 172 |
| Menu | 2 (2) | 5 (0) | 7 (0) | 1 (0) | 5 (0) | 0 (1) | 2 (2) | 3 (2) | 7 |
| Model | Both Correct | Only ON | Only OFF | Both Failed |
| Gemini-2.5-Flash | 18 | 17 | 9 | 18 |
| Gemini-2.5-Pro | 22 | 19 | 8 | 13 |
| Gemini-3-Pro-Preview | 47 | 4 | 6 | 5 |
| Claude-Haiku-4.5 | 22 | 10 | 8 | 22 |
| Claude-Sonnet-4.5 | 20 | 17 | 9 | 16 |
| GPT-5-Mini | 18 | 7 | 5 | 32 |
| Model | pass@1 | pass@2 | pass@3 | pass 2 | pass 3 | |
| Gemini-2.5-Flash | 145 | 0.41 | 0.55 | 0.61 | 0.27 | 0.19 |
| Gemini-2.5-Pro | 128 | 0.46 | 0.62 | 0.70 | 0.30 | 0.23 |
| Gemini-3.1-Pro | 98 | 0.71 | 0.84 | 0.90 | 0.58 | 0.51 |
| Claude-Haiku-4.5 | 141 | 0.39 | 0.53 | 0.60 | 0.25 | 0.18 |
| Claude-Sonnet-4.5 | 129 | 0.46 | 0.62 | 0.70 | 0.30 | 0.22 |
| GPT-5-Mini | 151 | 0.38 | 0.51 | 0.59 | 0.24 | 0.17 |
| Model | IN | SM | HS | RA | PC |
| Claude-Haiku-4.5 | 23 | 5 | 8 | 3 | 8 |
| Claude-Sonnet-4.5 | 23 | 13 | 10 | 1 | 1 |
| GPT-5-Mini | 18 | 13 | 6 | 8 | 8 |
| GPT-5.1 | 22 | 7 | 19 | 1 | 2 |
| Gemini-2.5-Flash | 19 | 16 | 26 | 0 | 11 |
| Gemini-2.5-Pro | 11 | 23 | 33 | 0 | 13 |
Appendix figures & tables36 assets
Supplementary material from the paper’s appendix.
Appendix
| Task Category | Task IDs |
| Account Security & Access Control | Airbnb_task-111, Airbnb_task-219, Amazon_task-221, Docker_task-2, Docker_task-3, Docker_task-4, Duolingo_task-222, GitHub_task-132, GitHub_task-133, GitHub_task-134 (2), GitHub_task-135 (2), Goodreads_task-100, Grammarly_task-24, HuggingFace_task-120, HuggingFace_task-121, HuggingFace_task-122, HuggingFace_task-220, Moodle_task-209, Pinterest_task-218, Pinterest_task-68 |
| Advertising & Personalization Control | Amazon_task-190, Amazon_task-88, Duolingo_task-104 (2), Goodreads_task-75, GoogleAdCenter_task-138 (2), GoogleAdCenter_task-139, GoogleAdCenter_task-140, GoogleAdCenter_task-82 (2), Grammarly_task-16 (2), Pinterest_task-61 (2), Pinterest_task-64 (2), Reddit_task-50 (2) |
| Cookie & Tracking Consent Management | AllRecipes_task-154, BBC_task-167, BBC_task-168, BBC_task-169, Coursera_task-155, Coursera_task-156, Coursera_task-157, Docker_task-142, Docker_task-143, Docker_task-144, IKEA_task-158, IKEA_task-159, NVIDIA_task-145, NVIDIA_task-146, NVIDIA_task-147, Shein_task-161, Shein_task-162, Shein_task-163, Steam_task-191 (2), Steam_task-192 (2), Steam_task-193 (2) |
| Data & Asset Management | GitHub_task-126, HuggingFace_task-113, HuggingFace_task-114, HuggingFace_task-116, HuggingFace_task-117, HuggingFace_task-118 |
| Notification & Communication Preferences | Amazon_task-86 (2), Amazon_task-87 (2), Coursera_task-182, Coursera_task-203, Duolingo_task-105 (2), GitHub_task-129 (2), GitHub_task-130 (2), GitHub_task-131, Goal_task-93 (2), Goal_task-94 (2), Goal_task-95 (2), Moodle_task-206 (2), OldReddit_task-56 (2), Quora_task-78 (2), Quora_task-79, Reddit_task-54, Reddit_task-55, Steam_task-198 (2), Steam_task-199, Steam_task-200 (2), USAToday_task-36 (2), USAToday_task-37 (2), Wattpad_task-223 (2), Wattpad_task-224 (2), Wattpad_task-225 (2), Wolfram_task-10 (2), Wolfram_task-7 (2), Wolfram_task-8 (2), Wolfram_task-9 (2) |
| Profile Visibility & Customization | Airbnb_task-107 (2), Airbnb_task-108 (2), Duolingo_task-103 (2), GitHub_task-127 (2), Goodreads_task-101, Goodreads_task-99, OldReddit_task-57 (2), OldReddit_task-58 (2), OpenStreetMap_task-91, OpenStreetMap_task-92, Pinterest_task-65 (2), Quora_task-76 (2), Reddit_task-52 (2) |
| Category | Websites |
| Education/Reference | Coursera, Duolingo, Goodreads, Moodle, Wolfram |
| Entertainment & Games | Steam, Twitch, Wattpad |
| Travel | Airbnb, AllRecipes, OpenStreetMap |
| Sports | Goal |
| General News | AlJazeera, BBC, USAToday |
| Online Shopping | Amazon, IKEA, Shein |
| Website | WithNav Variant | # Instances | |||||||
| 2.5F | 2.5P | 3P | H4.5 | S4.5 | 5m | 5.1 | 3Ge | ||
| Airbnb | 7 | 8 | 9 | 5 | 7 | 1 | 5 | 6 | 9 |
| AlJazeera | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 |
| AllRecipes | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 |
| Amazon | 5 | 5 | 8 | 5 | 4 | 4 | 6 | 2 | 8 |
| BBC | 3 | 3 | 3 | 3 | 3 | 3 | 1 | 0 | 3 |
| Task Category | 2.5F | 2.5P | 3P | H4.5 | S4.5 | 5m | 5.1 | 3Ge | # Tasks |
| Account Security & Access Control | 17 | 18 | 20 | 13 | 12 | 14 | 17 | 6 | 22 |
| Advertising & Personalization Control | 16 | 14 | 17 | 12 | 11 | 11 | 10 | 8 | 19 |
| Cookie & Tracking Consent Management | 13 | 14 | 18 | 18 | 14 | 3 | 7 | 2 | 24 |
| Data & Asset Management | 5 | 5 | 5 | 4 | 5 | 5 | 5 | 3 | 6 |
| Notification & Communication Preferences | 29 | 32 | 42 | 33 | 27 | 21 | 30 | 10 | 51 |
| Profile Visibility & Customization | 12 | 13 | 18 | 7 | 11 | 8 | 9 | 6 | 22 |
| UI Element | 2.5F | 2.5P | 3P | H4.5 | S4.5 | 5m | 5.1 | 3Ge | # Tasks |
| Button | 73 | 73 | 93 | 69 | 71 | 52 | 64 | 25 | 111 |
| Checkbox | 20 | 22 | 30 | 16 | 24 | 13 | 14 | 6 | 40 |
| Dropdown | 53 | 58 | 74 | 44 | 45 | 40 | 51 | 25 | 93 |
| Icon | 37 | 36 | 45 | 32 | 31 | 29 | 31 | 13 | 52 |
| Link | 107 | 111 | 142 | 100 | 97 | 73 | 93 | 40 | 172 |
| Menu | 5 | 6 | 7 | 3 | 5 | 0 | 3 | 4 | 7 |
| Model | Both Correct | Only ON | Only OFF | Both Failed |
| Gemini-2.5-Flash | 24 | 21 | 4 | 13 |
| Gemini-2.5-Pro | 26 | 15 | 11 | 10 |
| Gemini-3-Pro-Preview | 45 | 10 | 3 | 4 |
| Claude-Haiku-4.5 | 21 | 12 | 9 | 20 |
| Claude-Sonnet-4.5 | 22 | 14 | 4 | 22 |
| GPT-5-Mini | 19 | 7 | 8 | 28 |