Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

VPI-Bench: Visual Prompt Injection Attacks for Computer-Use Agents

About

Computer-Use Agents (CUAs) with full system access enable powerful task automation but pose significant security and privacy risks due to their ability to manipulate files, access user data, and execute arbitrary commands. While prior work has focused on browser-based agents and HTML-level attacks, the vulnerabilities of CUAs remain underexplored. In this paper, we investigate Visual Prompt Injection (VPI) attacks, where malicious instructions are visually embedded within rendered user interfaces, and examine their impact on both CUAs and Browser-Use Agents (BUAs). We propose VPI-Bench, a benchmark of 306 test cases across five widely used platforms, to evaluate agent robustness under VPI threats. Each test case is a variant of a web platform, designed to be interactive, deployed in a realistic environment, and containing a visually embedded malicious prompt. Our empirical study shows that current CUAs and BUAs can be deceived at rates of up to 51% and 100%, respectively, on certain platforms. The experimental results also indicate that system prompt defenses offer only limited improvements. These findings highlight the need for robust, context-aware defenses to ensure the safe deployment of multimodal AI agents in real-world environments. The code and dataset are available at: https://github.com/cua-framework/agents

Tri Cao, Bennett Lim, Yue Liu, Yuan Sui, Yuexin Li, Shumin Deng, Lin Lu, Nay Oo, Shuicheng Yan, Bryan Hooi• 2025

Related benchmarks

TaskDatasetResultRank
Indirect Prompt Injection DefenseImage Modality (test)
UIAinject38.2
10
Indirect Prompt Injection DefenseVideo Modality (test)
UIAinject25.4
10
Indirect Prompt Injection DefenseAudio Modality (test)
UIAinject7.5
9
Prompt Injection DefenseInternVL Image Evaluation Set 3.5-8B
UIAinject58
7
Prompt Injection DefenseQwen2.5-VL-7B Video Evaluation Set
UIAinject38.5
7
Prompt Injection DefenseQwen2-Audio-7B Audio Evaluation Set
UIAinject30.9
6
Showing 6 of 6 rows

Other info

Follow for update