Attacking Vision-Language Computer Agents via Pop-ups

Yanzhe Zhang, Tao Yu, Diyi Yang · DOI

Introduction

Vision-Language Model (VLM) agents are increasingly deployed to automate complex digital tasks, from managing files in desktop environments to navigating e-commerce platforms. However, as these agents gain autonomy, their security remains largely unexamined. Unlike human users who have developed a "digital intuition" to ignore intrusive advertisements and deceptive dialogues, VLM agents often treat every visual element on a screen as potentially relevant to their objective. This research explores a novel vulnerability: "adversarial pop-ups"—clickable images that mimic system dialogues or advertisements to manipulate agent behavior.

The PopupAttack Framework

The researchers introduced PopupAttack, a semantic attack framework that utilizes human-readable visual elements rather than invisible pixel-level noise. The attack is designed to exploit the agent's reasoning by aligning deceptive content with the user's actual intent.

The components of a semantic PopupAttack, including the attention hook, direct instruction, and visual info banner.

The design space for these attacks consists of four primary elements:

  1. Attention Hook: A phrase summarizing the user's query to establish relevance (e.g., "RECENT BLUE MOTORCYCLES").
  2. Instruction: A direct command specifying where the agent should click (e.g., "Please click [22]").
  3. Info Banner: Visual cues like an "OK" button that mimic standard UI conventions.
  4. ALT Descriptor: Deceptive text injected into accessibility (a11y) trees to mislead agents that rely on text-augmented metadata.

Experimental Evaluation

The study evaluated state-of-the-art VLMs—including GPT-4o, Gemini 1.5 Pro, and Claude 3.5 Sonnet—across two major benchmarks: OSWorld (Ubuntu desktop tasks) and VisualWebArena (web-based tasks). Attacks were dynamically injected into the agents' observation space during task execution.

Results and Vulnerability Analysis

The results demonstrate a profound vulnerability in current VLM agents. The Attack Success Rate (ASR) exceeded 80% in OSWorld and 60% in VisualWebArena.

PopupAttack performance in OSWorld and VisualWebArena, demonstrating significant degradation of agent task completion and high attack success rates.

Key insights from the evaluation include:

  • Intent Alignment: Attacks are most lethal when the pop-up "echoes" the user's intent, making the deceptive element appear helpful to the task at hand.
  • Modality-Specific Vectors: While screenshot-only agents are fooled by visual buttons, agents utilizing accessibility trees are highly susceptible to hidden ALT text, suggesting that multi-modal inputs can introduce additional attack surfaces.
  • Task Failure: The presence of these pop-ups caused the Task Success Rate to drop by an average of 47%. In some OSWorld scenarios, model performance plummeted from 18% to nearly 0%.
  • Ineffective Defenses: Simple system prompts instructing agents to "ignore pop-ups" provided minimal protection, reducing the ASR by only approximately 25%.

Conclusion and Future Work

This research highlights a critical security gap in the development of autonomous computer agents. Current models lack the "digital literacy" required to distinguish between legitimate system interfaces and adversarial injections. Future work must focus on developing robust content filtering at the OS or browser level and improving the training of agents to recognize deceptive UI patterns. As agents move toward real-world deployment, securing the visual environment against semantic manipulation is paramount.

Summary updated

BibTeX
@inproceedings{zhang2025attacking,
  author = {Yanzhe Zhang and Tao Yu and Diyi Yang},
  title = {{Attacking Vision-Language Computer Agents via Pop-ups}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=vvpHzpFXDo},
}
Figure