Context-aware prompt injection fools mobile GUI VLM agents with up to 30% success
All evaluated VLM-driven mobile GUI agents can be misled by injected screenshots at 23-30% success rates
AI/ML arXiv 27 May 2026 Attack Prototype evidence
Published as “MIRAGE: Context-Aware Prompt Injection against Mobile GUI Agents via User-Generated Content”
Why it matters
Defenses must focus on payload semantics or action-grounding constraints rather than relying on visual-quality filtering.
Summary
All five evaluated VLM-based mobile GUI agents are vulnerable to MIRAGE, achieving attack success rates between 23% and 30% on a 1,111-sample benchmark. MIRAGE’s injected screenshots are rated more realistic by humans than the strongest prior attack (3.02 vs 2.52 out of 5). Visual-quality filtering does not reliably detect MIRAGE attacks because per-sample realism is uncorrelated with success. However, MIRAGE’s raw attack success is lower than that of the prior AgentHazard attack by 5-21 percentage points, trading some effectiveness for higher plausibility.
What they found 2
- All five evaluated VLM agents are vulnerable, with attack success rates of 23%-30%
“all five evaluated VLM agents are vulnerable, with attack success rates of 23%-30%”
- Visual-quality filtering does not work as a runtime defense against MIRAGE
“Visual-quality filtering does not work as a runtime defense against MIRAGE.”
Caveats 5
- AgentHazard’s paired attacks reach 5-21pp higher ASR than MIRAGE.
- We evaluate five VLM-based GUI agents accessed through inference APIs (the closed-weight gpt-4o-mini, the open-weight GLM-4.5V, and three sizes of the Qwen3-VL family). We exclude native GUI-specialised agents that require local GPU hosting, such as UI-TARS, UI-Venus, and MAI-UI, so whether purpose-built GUI agents are as vulnerable as general VLM backbones behind an action wrapper remains untested;
- MIRAGE measures whether an agent commits the attacker-intended action on a single injected screenshot, not how an attack propagates through a multistep interaction trajectory.
- We report attack success rate but not a paired benign task-success rate that would separate payload-induced failures from ordinary clean-task perception errors.
- Because MIRAGE expands a fixed pool of base screenshots into controlled per-intent variants rather than sampling independently authored screens, its outputs show lower CLIP screenshot dispersion and lower goal-text cluster entropy than hand-authored baselines.
What’s new here 4
- Automates prompt-injection attacks on mobile GUI agents that only see rendered screenshots, without modifying the app or OS.
- Introduces a three-stage pipeline (Localizer, Generator, Curator) that creates context-aware, style-preserving payloads in user-generated content regions.
- Provides a balanced benchmark covering ten apps, eleven attack intents, and five VLM agents, with human realism ratings.
- Shows that visual-quality filtering is ineffective, highlighting the need for semantic-level defenses.