Adversarial Images Hijack Web Agents from Visual Grounding to Browser Execution
Wanjing Han, Levi Taiji Li, Mu Zhang, Yue Jiang, Guanhong Tao
Key points
From the paper's conclusion- We evaluate WebMirage across four agent configurations and six VLM backbones on 2,250 tasks covering 13 public websites and a sandbox benchmark.
Abstract
Modern web agents built on large vision-language models process webpages, select relevant UI elements, and translate model outputs into browser actions. Existing visual red-teaming approaches use adversarial visual content to manipulate this process. However, they primarily target model inference and do not explicitly account for structured input processing or action post-processing. Consequently, model-level success does not establish control over browser execution and cannot reliably characterize end-to-end agent robustness. To address this gap, we formulate red teaming for vision-grounded web agents as an end-to-end grounding-to-execution problem, and introduce WebMirage, a framework that crafts localized visual perturbations that cause agents to select attacker-controlled content and execute the corresponding browser action across varying webpage renderings. It uses a role-slot abstraction and webpage recomposition to capture competition among webpage elements, and dataflow analysis to align optimization with action post-processing. We evaluate WebMirage across four agent configurations and six VLM backbones on 2,250 tasks covering 13 public websites and a sandbox benchmark. WebMirage achieves an average attack success rate of 91.9%, compared with 17.4% for the strongest baseline, and remains effective against three agent-level defenses.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Benchmarking Web Agent Defenses Against Adaptive Visual Prompt InjectionarXiv · 2026
- AgentBreaker: Evaluating Context-Aware Indirect Prompt Injection Risks in Modern Web AgentsProceedings of the ACM on Software Engineering · 2026
- WebFovea: When the Model Is Right but the Click Is Wrong -- Reliable Round Trips for Vision-Based Web Agents on Live WebsitesarXiv · 2026
- MMA-SafetyBench: A Benchmark for Multimodal Agent Safety EvaluationarXiv · 2026
- Harness Matters: Measuring and Dissecting Security Resilience in Web AgentsarXiv · 2026
- Environmental Injection Attacks against GUI Agents in Realistic Dynamic EnvironmentsProceedings of the ACM on software engineering. · 2026