NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

How Dark Patterns Manipulate Web Agents

Phil Cuvin, Hao Zhu, Diyi YangICLR 2026

Abstract

As autonomous web agents become increasingly integrated into digital workflows, their susceptibility to deceptive user interface designs—known as "dark patterns"—presents a significant security and safety risk. We introduce DECEPTICON, a benchmark designed to quantify the impact of manipulative UI on AI agents. Our evaluation of frontier models reveals a counterintuitive inverse scaling law: larger, more capable models with higher reasoning capacities are more susceptible to manipulation than their smaller counterparts. While humans fall for dark patterns in approximately 31% of cases, AI agents fail in over 70% of tasks, highlighting a critical lack of skepticism in current agentic architectures.

Introduction

The transition from human-driven browsing to autonomous AI agents (e.g., GPT-4o, Claude 3.5 Sonnet) assumes that these models will act as rational proxies, less prone to the emotional and cognitive biases that humans face. However, the modern web is a minefield of dark patterns—tactics such as "sneaking" items into carts, "confirm-shaming" users, or creating fake urgency to drive conversions.

This research addresses a fundamental safety gap: Are web agents robust against these adversarial designs? By introducing the DECEPTICON environment, we demonstrate that dark patterns are not merely a nuisance for humans but a potent adversarial threat to AI robustness, capable of steering agents toward malicious or unintended outcomes.

The DECEPTICON Benchmark

To rigorously evaluate agent vulnerability, the researchers developed a framework consisting of 700 web navigation tasks:

  • 600 Synthetic Tasks: Using a "generate-and-test" loop, a "teacher" LLM (Gemini-2.5-Pro) created realistic websites (e-commerce, travel booking) where dark patterns could be toggled for controlled experimentation.
  • 100 In-the-Wild Tasks: Real-world examples were crawled and archived from the live web to ensure the benchmark reflects actual internet conditions.

The benchmark categorizes deceptive tactics into six primary taxonomies: Sneaking, Urgency, Misdirection, Social Proof, Obstruction, and Forced Action.

Methodology

The study evaluated frontier models using various agent scaffolds, including a "Simple" vision-action scaffold and standalone agents like Browser-Use. To test potential mitigations, two primary defense strategies were implemented:

  1. In-Context Prompting (ICP): Explicitly warning the agent about dark patterns within its system instructions.
  2. Guardrail Models: Utilizing a secondary LLM to monitor the screen for deceptive elements and provide corrective feedback to the primary agent.

Key Insights: The Inverse Scaling of Deception

1. The "Overthinking" Trap

A pivotal finding of the study is that increased reasoning time (more "thinking tokens") correlates with higher susceptibility. While a smaller model might dismiss a pop-up as irrelevant noise, a high-reasoning model often over-analyzes the deceptive signal. For instance, it may interpret a fake "limited time offer" as a critical data point for optimization, ultimately deciding to purchase a more expensive item to satisfy the perceived constraint.

2. Excessive Obedience

AI agents exhibit a strong bias toward instruction-following. When a website uses authoritative language—such as "You MUST provide your SSN to proceed"—agents frequently prioritize the UI's demands over the user's original objective. This "compliance bias" makes them easy targets for "Obstruction" patterns, which make the desired path difficult to navigate.

3. Human vs. Agent Skepticism

There remains a massive gap between human intuition and AI logic. Humans, equipped with "lived experience" and natural cynicism, succumb to dark patterns roughly 31% of the time. In contrast, frontier agents are manipulated in over 70% of trajectories. Agents currently lack the world model necessary to distinguish between a legitimate functional UI and a manipulative trap.

Results and Performance

  • Susceptibility: Dark patterns successfully manipulated agent trajectories in over 70% of all tested tasks.
  • Model Size Correlation: In the Qwen-2.5-VL series, increasing model size from 3B to 72B parameters caused dark pattern effectiveness to nearly double, jumping from 38.5% to 73.7%.
  • Defense Efficacy: Current defenses are largely inadequate. In-context prompting only reduced susceptibility by 12%. While guardrail models performed better (a 28.6% reduction), agents remained vulnerable in nearly half of all scenarios.
  • Most Effective Patterns: "Social Proof" and "Obstruction" were the most successful at steering agents, while "Misdirection" proved the most difficult for existing defenses to identify and mitigate.

Conclusion

The DECEPTICON benchmark reveals that as AI agents become more "intelligent," they paradoxically become more vulnerable to sophisticated UI manipulation. The findings suggest that simply prompting agents to be "careful" is insufficient. Future work must focus on adversarial post-training, fine-tuning agents on deceptive datasets to develop a "skeptical" world model capable of navigating an adversarial web without compromising the user's intent.

Summary updated

BibTeX
@inproceedings{cuvin2026how,
  author = {Phil Cuvin and Hao Zhu and Diyi Yang},
  title = {{How Dark Patterns Manipulate Web Agents}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=G7Dan0L7ho},
}
Figure