Investigating the Impact of Dark Patterns on LLM-Based Web Agents
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
As users increasingly turn to large language model (LLM) based web agents to automate online tasks, agents may encounter dark patterns: deceptive user interface designs that manipulate users into making unintended decisions. Although dark patterns primarily target human users, their potentially harmful impacts on LLM-based generalist web agents remain unexplored. In this paper, we present the first study that investigates the impact of dark patterns on the decision-making process of LLM-based generalist web agents. To achieve this, we introduce LiteAgent, a lightweight framework that automatically prompts agents to execute tasks while capturing comprehensive logs and screen-recordings of their interactions. We also present TrickyArena, a controlled environment comprising web applications from domains such as e-commerce, streaming services, and news platforms, each containing diverse and realistic dark patterns that can be selectively enabled or disabled. Using LiteAgent and TrickyArena, we conduct multiple experiments to assess the impact of both individual and combined dark patterns on web agent behavior. We evaluate six popular LLM-based generalist web agents across three LLMs and discover that when there is a single dark pattern present, agents are susceptible to it an average of 41% of the time. We also find that modifying dark pattern UI attributes through visual design changes or HTML code adjustments and introducing multiple dark patterns simultaneously can influence agent susceptibility. This study emphasizes the need for holistic defense mechanisms in web agents, encompassing both agent-specific protections and broader web safety measures.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 28 of its 75 references that are in the map. First posted on arXiv 20 Oct 2025.
Builds on
28 of 75 references.
Closest ancestors · 7
Same direction, newest first
- 2025SusBench: An Online Benchmark for Evaluating Dark Pattern Susceptibility of Computer-Use Agents13 Oct
- 2025Dark Patterns Meet GUI Agents: LLM Agent Susceptibility to Manipulative Interfaces and the Role of Human Oversight12 Sep
- 2024Attacking Vision-Language Computer Agents via Pop-ups4 Nov
- 2024When LLMs Go Online: The Emerging Threat of Web-Enabled LLMs18 Oct
- 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
- 2024WIPI: A New Web Threat for LLM-Driven Web Agents26 Feb
Other references · 21
- 2024GPT-4o System Cardcited by 4,467
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
- 2023A Survey on Evaluation of Large Language Modelscited by 1,227
- 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,210
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2024Agent-E: From Autonomous Web Navigation to Foundational Design Principles in Agentic Systemscited by 79
- 2018Tranco: A Research-Oriented Top Sites Ranking Hardened Against Manipulationcited by 61
- 2019Dark Patterns at Scale: Findings from a Crawl of 11K Shopping Websitescited by 18
9 more
- 2024Tur[k]ingBench: A Challenge Benchmark for Web Agentscited by 18
- 2024WebSuite: Systematically Evaluating Why Web Agents Failcited by 16
- 2023An Ontology of Dark Patterns Knowledge: Foundations, Definitions, and a Pathway for Shared Knowledge-Buildingcited by 14
- 2020Not one but many Tradeoffs: Privacy Vs. Utility in Differentially Private Machine Learningcited by 13
- 2023AidUI: Toward Automated Recognition of Dark Patterns in User Interfacescited by 9
- 2020Circumvention by design -- dark patterns in cookie consents for online news outletscited by 7
- 2018The Users' Perspective on the Privacy-Utility Trade-offs in Health Recommender Systemscited by 3
- 2024Hell is Paved with Good Intentions: The Intricate Relationship Between Cognitive Biases and Dark Patternscited by 1
- 2025Dark and Bright Patterns in Cookie Consent Requestscited by 1
Built on by
Citing papers per year: 2026: 13.
13 papers.
Sort:
By area:
- 2026ClawBench: Can AI Agents Complete Everyday Online Tasks?cited by 28
- 2026Claw-Eval-Live: A Live Agent Benchmark for Evolving Real-World Workflowscited by 11
- 2026When Bots Take the Bait: Exposing and Mitigating the Emerging Social Engineering Attack in Web Automation Agentcited by 6
- 2026WebTrap Park: An Automated Platform for Systematic Security Evaluation of Web Agentscited by 2
- 2026WebSP-Eval: Evaluating Web Agents on Website Security and Privacy Taskscited by 1
- 2026Don't Click That: Teaching Web Agents to Resist Deceptive Interfacescited by 1
- 2026"I Strongly Suspect This Website Is a Scam": Benchmarking PII Leakage and Detection without Defense in Autonomous Web Agentscited by 1
- 2026SeClaw: Spec-Driven Security Task Synthesis for Evaluating Autonomous Agentscited by 1
- 2026Securing Computer-Use Agents: A Unified Architecture-Lifecycle Framework for Deployment-Grounded Reliabilitycited by 0
- 2026TourMart: A Parametric Audit Instrument for Commission Steering in LLM Travel Agentscited by 0
- 2026REDDIT: Forgetting-Resistant Correction of Timestamp Drift in ASR via Replay-Based Distribution Editingcited by 0
- 2026LoginTrap: Uncovering Task-Agnostic Phishing-Style Indirect Prompt Injection Attacks against LLM-based Web Agentscited by 0
- 2026Before Acting, Change the State: Prospective State Intervention for Web Agents under Deceptive Interfaces28 Sep 2026
- 2026LoginTrap: Uncovering Task-Agnostic Phishing-Style Indirect Prompt Injection Attacks against LLM-based Web Agents5 Aug 2026
- 2026REDDIT: Forgetting-Resistant Correction of Timestamp Drift in ASR via Replay-Based Distribution Editing6 Jul 2026
- 2026SeClaw: Spec-Driven Security Task Synthesis for Evaluating Autonomous Agents1 Jun 2026
- 2026"I Strongly Suspect This Website Is a Scam": Benchmarking PII Leakage and Detection without Defense in Autonomous Web Agents30 May 2026
- 2026TourMart: A Parametric Audit Instrument for Commission Steering in LLM Travel Agents11 May 2026
- 2026Don't Click That: Teaching Web Agents to Resist Deceptive Interfaces10 May 2026
- 2026Securing Computer-Use Agents: A Unified Architecture-Lifecycle Framework for Deployment-Grounded Reliability8 May 2026
- 2026Claw-Eval-Live: A Live Agent Benchmark for Evolving Real-World Workflows30 Apr 2026
- 2026ClawBench: Can AI Agents Complete Everyday Online Tasks?9 Apr 2026
- 2026WebSP-Eval: Evaluating Web Agents on Website Security and Privacy Tasks7 Apr 2026
- 2026WebTrap Park: An Automated Platform for Systematic Security Evaluation of Web Agents13 Jan 2026
- 2026Claw-Eval-Live: A Live Agent Benchmark for Evolving Real-World Workflowscited by 11
- 2026When Bots Take the Bait: Exposing and Mitigating the Emerging Social Engineering Attack in Web Automation Agentcited by 6
- 2026WebTrap Park: An Automated Platform for Systematic Security Evaluation of Web Agentscited by 2
- 2026WebSP-Eval: Evaluating Web Agents on Website Security and Privacy Taskscited by 1
- 2026Don't Click That: Teaching Web Agents to Resist Deceptive Interfacescited by 1
- 2026"I Strongly Suspect This Website Is a Scam": Benchmarking PII Leakage and Detection without Defense in Autonomous Web Agentscited by 1
- 2026SeClaw: Spec-Driven Security Task Synthesis for Evaluating Autonomous Agentscited by 1
- 2026Securing Computer-Use Agents: A Unified Architecture-Lifecycle Framework for Deployment-Grounded Reliabilitycited by 0
- 2026TourMart: A Parametric Audit Instrument for Commission Steering in LLM Travel Agentscited by 0
- 2026LoginTrap: Uncovering Task-Agnostic Phishing-Style Indirect Prompt Injection Attacks against LLM-based Web Agentscited by 0
- 2026Before Acting, Change the State: Prospective State Intervention for Web Agents under Deceptive Interfacescited by 0
- 2026Before Acting, Change the State: Prospective State Intervention for Web Agents under Deceptive Interfaces28 Sep 2026
- 2026LoginTrap: Uncovering Task-Agnostic Phishing-Style Indirect Prompt Injection Attacks against LLM-based Web Agents5 Aug 2026
- 2026SeClaw: Spec-Driven Security Task Synthesis for Evaluating Autonomous Agents1 Jun 2026
- 2026"I Strongly Suspect This Website Is a Scam": Benchmarking PII Leakage and Detection without Defense in Autonomous Web Agents30 May 2026
- 2026TourMart: A Parametric Audit Instrument for Commission Steering in LLM Travel Agents11 May 2026
- 2026Don't Click That: Teaching Web Agents to Resist Deceptive Interfaces10 May 2026
- 2026Securing Computer-Use Agents: A Unified Architecture-Lifecycle Framework for Deployment-Grounded Reliability8 May 2026
- 2026Claw-Eval-Live: A Live Agent Benchmark for Evolving Real-World Workflows30 Apr 2026
- 2026WebSP-Eval: Evaluating Web Agents on Website Security and Privacy Tasks7 Apr 2026
- 2026WebTrap Park: An Automated Platform for Systematic Security Evaluation of Web Agents13 Jan 2026
- 2026When Bots Take the Bait: Exposing and Mitigating the Emerging Social Engineering Attack in Web Automation Agent12 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2025DECEPTICON: How Dark Patterns Manipulate Web Agents
- 2026The Behavioral Fabric of LLM-Powered GUI Agents: Human Values and Interaction Outcomes
- 2026On the Suitability of LLM-Driven Agents for Dark Pattern Audits
- 2025AgentA/B: Automated and Scalable Web A/BTesting with Interactive LLM Agents
- 2024AgentOccam: A Simple Yet Strong Baseline for LLM-Based Web Agents
- 2024Evaluating Cultural and Social Awareness of LLM Web Agents
- 2026WAAA! Web Adversaries Against Agentic Browsers
- 2025BrowserArena: Evaluating LLM Agents on Real-World Web Navigation Tasks