Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

MIRAGE: Context-Aware Prompt Injection against Mobile GUI Agents via User-Generated Content

About

Mobile graphical user interface (GUI) agents driven by vision-language models (VLMs) perceive the screen as rendered pixels and choose actions from what they see, so they cannot reliably separate trusted interface elements from user-generated content. We present MIRAGE (Mobile Injection of Realistic Adversarial GUI Examples), a pipeline that turns benign mobile screenshots into prompt-injection samples by placing attacker-controlled text into ordinary user-generated content regions, without modifying the agent, the application, or the operating system. MIRAGE operates in three stages: a Localizer identifies user-controllable regions on the screenshot, a Generator synthesises context-aware payloads and renders them in the application's native style, and a Curator moderates realism and balances the samples across applications, region types, and attack intents. A key challenge is that an injected screenshot must stay visually indistinguishable from genuine user content while still diverting the agent; we address this by separating the stages that control reach, realism, and distributional balance. On a 1,111-sample benchmark spanning ten applications and eleven attack intents, all five evaluated VLM agents are vulnerable, with attack success rates of 23%-30%, and MIRAGE scores higher on human realism ratings than the strongest prior attack (3.02 versus 2.52 out of 5). We further find that per-sample realism and attack success are uncorrelated, so visual-quality filtering alone cannot reliably defend against this threat.

Ruoqi Guo, Yi Liu, Gelei Deng, Yiheng Xiong, Yuekang Li, Ying Zhang, Leo Yu Zhang, Lida Zhao, Ji Jie, Yuxiao Lu• 2026

Related benchmarks

TaskDatasetResultRank
GUI Agent Attack Success Rate EvaluationMIRAGE (1,111-sample main set)--
5
Realism Assessment200-sample
Visual Integration3.06
2
Dataset Diversity and Coverage EvaluationMIRAGE full
Goal-text Entropy0.933
1
Dataset Diversity and Coverage EvaluationMIRAGE matched-n
Goal-text Entropy0.927
1
Dataset Diversity and Coverage EvaluationMIRAGE 3-app overlap
Goal-Text Entropy0.918
1
Dataset Diversity and Coverage EvaluationGhostEI-Bench--
1
Dataset Diversity and Coverage EvaluationAgentHazard 3-app--
1
Dataset Diversity and Coverage EvaluationAgentHazard full--
1
Showing 8 of 8 rows

Other info

Follow for update