DECEPTICON: How Dark Patterns Manipulate Web Agents
Phil Cuvin, Hao Zhu, Diyi Yang
TL;DR
Decepticon introduces a large, reproducible benchmark to quantify how dark patterns manipulate autonomous web agents. It reveals that dark patterns reliably steer agent behavior toward malicious ends, with effectiveness rising with model capability and reasoning depth, while current defenses offer only partial mitigation. The work provides extensive generated and in-the-wild task data, human baselines, and defense analyses, underscoring the urgent need for robust, cross-scale defenses against manipulative web designs. The open-source nature of the benchmark supports ongoing research in adversarial robustness for web agents and informs safer deployment of autonomous browsing systems.
Abstract
Deceptive UI designs, widely instantiated across the web and commonly known as dark patterns, manipulate users into performing actions misaligned with their goals. In this paper, we show that dark patterns are highly effective in steering agent trajectories, posing a significant risk to agent robustness. To quantify this risk, we introduce DECEPTICON, an environment for testing individual dark patterns in isolation. DECEPTICON includes 700 web navigation tasks with dark patterns -- 600 generated tasks and 100 real-world tasks, designed to measure instruction-following success and dark pattern effectiveness. Across state-of-the-art agents, we find dark patterns successfully steer agent trajectories towards malicious outcomes in over 70% of tested generated and real-world tasks -- compared to a human average of 31%. Moreover, we find that dark pattern effectiveness correlates positively with model size and test-time reasoning, making larger, more capable models more susceptible. Leading countermeasures against adversarial attacks, including in-context prompting and guardrail models, fail to consistently reduce the success rate of dark pattern interventions. Our findings reveal dark patterns as a latent and unmitigated risk to web agents, highlighting the urgent need for robust defenses against manipulative designs.
