Environmental Injection Attacks against GUI Agents in Realistic Dynamic Environments
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Graphical User Interface (GUI) agents are increasingly deployed to interact with online web services, yet their exposure to open-world content renders them vulnerable to Environmental Injection Attacks (EIAs). In these attacks, an attacker can inject crafted triggers into website to manipulate the behavior of GUI agents used by other users. In this paper, we find that most existing EIA studies fall short of realism. In particular, they fail to capture the dynamic nature of real-world web content, often assuming that a trigger's on-screen position and surrounding visual context remain largely consistent between training and testing. To better reflect practice, we introduce a realistic dynamic-environment threat model in which the attacker is a regular user and the trigger is embedded within a dynamically changing environment. Under this threat model, existing approaches largely fail, suggesting that their effectiveness in exposing GUI agent vulnerabilities has been substantially overestimated. To expose the hidden vulnerabilities of existing GUI agents effectively, we propose Chameleon, an attack framework with two key novelties designed for dynamic environments. (1) To synthesize more realistic training data, we introduce LLM-Driven Environment Simulation, which automatically generates diverse, high-fidelity webpage simulations that mimic the variability of real-world dynamic environments. (2) To optimize the trigger more effectively, we introduce Attention Black Hole, which converts attention weights into explicit supervisory signals. This mechanism encourages the agent to remain insensitive to irrelevant surrounding content, thereby improving robustness in dynamic environments. We evaluate Chameleon on six realistic websites and four representative LVLM-powered GUI agents, where it significantly outperforms existing methods.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 33 of its 52 references that are in the map. First posted on arXiv 14 Sep 2025.
Builds on
33 of 52 references.
Closest ancestors · 9
Same direction, newest first
- 2025Manipulating LLM Web Agents with Indirect Prompt Injection Attack via HTML Accessibility Tree20 Jul
- 2025VisualTrap: A Stealthy Backdoor Attack on GUI Agents via Visual Grounding Manipulation9 Jul
- 2025MLA-Trust: Benchmarking Trustworthiness of Multimodal LLM Agents in GUI Environments2 Jun
- 2025The Obvious Invisible Threat: LLM-Powered GUI Agents' Vulnerability to Fine-Print Injections15 Apr
- 2025SafeArena: Evaluating the Safety of Autonomous Web Agents6 Mar
- 2024Attacking Vision-Language Computer Agents via Pop-ups4 Nov
- 2024AdvAgent: Controllable Blackbox Red-teaming on Web Agents22 Oct
- 2024EIA: Environmental Injection Attack on Generalist Web Agents for Privacy Leakage17 Sep
- 2024Dissecting Adversarial Robustness of Multimodal LM Agents18 Jun
Other references · 24
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2023GPT-4 Technical Reportcited by 18,132
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2025Qwen2.5-VL Technical Reportcited by 5,418
- 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,151
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
- 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,210
- 2023CogAgent: A Visual Language Model for GUI Agentscited by 692
- 2025UI-TARS: Pioneering Automated GUI Interaction with Native Agentscited by 584
- 2024DeepSeek-VL2: Mixture-of-Experts Vision-Language Models for Advanced Multimodal Understandingcited by 559
- 2024SeeClick: Harnessing GUI Grounding for Advanced Visual GUI Agentscited by 553
12 more
- 2024OS-ATLAS: A Foundation Action Model for Generalist GUI Agentscited by 370
- 2025Mobile-Agent-v3: Fundamental Agents for GUI Automationcited by 183
- 2024Large Language Model-Brained GUI Agents: A Surveycited by 160
- 2024AdaShield: Safeguarding Multimodal Large Language Models from Structure-based Attack via Adaptive Shield Promptingcited by 113
- 2024GUI Agents with Foundation Models: A Comprehensive Surveycited by 110
- 2024GUI Agents: A Surveycited by 101
- 2024Caution for the Environment: Multimodal LLM Agents are Susceptible to Environmental Distractionscited by 55
- 2024MobileFlow: A Multimodal LLM For Mobile GUI Agentcited by 31
- 2025API Agents vs. GUI Agents: Divergence and Convergencecited by 28
- 2025On the Robustness of GUI Grounding Models Against Image Attackscited by 14
- 2024CXSimulator: A User Behavior Simulation using LLM Embeddings for Web-Marketing Campaign Assessmentcited by 8
- 2025DAVSP: Safety Alignment for Large Vision-Language Models via Deep Aligned Visual Safety Promptcited by 7
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2026CoACT: Action-Preserving Observation Compression for Coding Agentscited by 4
- 2025Adversarial Confusion Attack: Disrupting Multimodal Large Language Modelscited by 3
- 2026Software Engineering for and with GUI Agentcited by 1
- 2026Securing Computer-Use Agents: A Unified Architecture-Lifecycle Framework for Deployment-Grounded Reliabilitycited by 0
- 2026MissClick: Execution-Aware Adversarial Attacks on Coordinate Generation in GUI Grounding Modelscited by 0
- 2026Software Engineering for and with GUI Agent10 Aug 2026
- 2026MissClick: Execution-Aware Adversarial Attacks on Coordinate Generation in GUI Grounding Models4 Aug 2026
- 2026CoACT: Action-Preserving Observation Compression for Coding Agents3 Jul 2026
- 2026Securing Computer-Use Agents: A Unified Architecture-Lifecycle Framework for Deployment-Grounded Reliability8 May 2026
- 2025Adversarial Confusion Attack: Disrupting Multimodal Large Language Models25 Nov 2025
Similar, not cited
Close in wording, no citation either way
- 2025BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agents
- 2025EVA: Evolving Semantic Adversaries for Red-Teaming GUI Agents Against Environmental Injection Attacks
- 2026MobileWorldSafety: Benchmarking GUI Agent Safety Against Environmental Injection Attacks in Android Apps
- 2026Poison Once, Exploit Forever: Environment-Injected Memory Poisoning Attacks on Web Agents
- 2025LaSM: Layer-wise Scaling Mechanism for Defending Pop-up Attack on GUI Agents
- 2025GUI-Robust: A Comprehensive Dataset for Testing GUI Agent Robustness in Real-World Anomalies
- 2025HackWorld: Evaluating Computer-Use Agents on Exploiting Web Application Vulnerabilities
- 2025Building Browser Agents: Architecture, Security, and Practical Solutions