Benchmarking Web Agent Defenses Against Adaptive Visual Prompt Injection
Haichuan Zhang, Zhiyuan Zhong, Shih-Chieh Dai, Xinyu Sun, Guanhong Tao
Abstract
Multimodal web agents automate website interactions but remain vulnerable to visual prompt injection (VPI), where malicious webpage content manipulates their visual processing and induces unintended actions. Although several defenses focus on detecting injected instructions in screenshots, malicious destinations such as phishing URLs embedded in HTML can remain hidden yet accessible through agent interactions. Existing evaluations have also not sufficiently examined adaptive attackers who know the defense mechanisms. To address these limitations, we introduce AdaptiveVPI, the first benchmark for systematically evaluating adaptive VPI threats in web agents. Specifically, we present a dataset of 360 webpage instances spanning 6 distinct hijack strategies across 10 real-world websites, with malicious destinations not visible in screenshots. We design an adaptive attack framework that iteratively refines malicious instructions based on feedback from the defense mechanism being evaluated. We also introduce three metrics to measure the extent of agent hijacking at three different levels. Across 10 defense configurations for computer-use agents and 11 defense configurations for browser-use agents, our adaptive attacks achieve average success rates of 91.87% and 91.99%, respectively. These results reveal a gap between current VPI defenses and realistic threats and highlight the need for defenses designed with adaptive attackers in mind.
Create a lesson
Related papers
AutoPI: Taxonomy-Guided Adaptive Red Teaming for Prompt Injection in LLM Agents
Shared title terminology · Stavros Damianakis, Konstantinos Psounis
Who Is Prompt-Injecting Coding Agents? An Empirical Study of Hidden AI-Directed Text on GitHub
Shared title terminology · Gabi Nakibly, Zvika Babo
PIPETTE: Prompt Injection Purple-Teaming for Robust LLM Agents
Shared title terminology · Lipeng He, Yihan Wang, Jiawen Zhang et al.
Who Grades the Agent? Privilege Separation for Coding-Agent Benchmarks
Shared title terminology · Nathan Nour Houlamy, Mattia Favretto, Earlence Fernandes et al.
Proactive Defense Benchmark against Deepfake Generation
Shared title terminology · Joonhyuk Baek, Wonjune Seo, Jae-yun Kim et al.
Subverting Tool Arguments: Defense-Evading Metadata Poisoning in LLM Agents
Shared title terminology · Shih-Chieh Dai, Xinyu Sun, Haichuan Zhang et al.