AgentRAE: Remote Action Execution through Notification-based Visual Backdoors against Screenshots-based Mobile GUI Agents

Yutao Luo, Haotian Zhu, Shuchao Pang, Zhigang Lu, Tian Dong, Yongbin Zhou, Minhui XuearXiv 2026

TL;DR

AgentRAE introduces a highly stealthy backdoor attack against screenshot-based mobile GUI agents by weaponizing native OS notification icons as visual triggers. By leveraging a novel two-phase training pipeline that decouples feature separation from action mapping, the attack achieves a 90%+ success rate in executing remote malicious actions. Crucially, it maintains normal agent performance on clean tasks and easily evades state-of-the-art backdoor defenses.

What Problem Does This Paper Address?

Multimodal Large Language Models (MLLMs) are increasingly used as autonomous mobile GUI agents that control applications by processing smartphone screenshots and executing sequential actions (e.g., clicking, typing). While web-based GUI agents are vulnerable to environmental injections (like malicious text hidden in webpages), mobile operating systems enforce strict sandboxing and safety mechanisms that block these attack vectors.

To exploit mobile agents, attackers must shift to the perception-decision layer. A natural candidate for a stealthy, remote trigger is the OS notification banner. However, using small app icons within notifications as backdoor triggers introduces three major challenges:

  1. Native OS Constraints: Attackers cannot alter the appearance or structure of system-defined notification frames.
  2. Attention Failure: Notification icons are tiny. Standard vision models tend to focus on the dominant screen background, ignoring subtle iconographic differences.
  3. Multi-Target Mapping Conflicts: A sophisticated attacker wants different icons to trigger different malicious actions (e.g., a Discord icon triggers a CLICK on a phishing link, while a WeChat icon triggers a HOME command). Standard backdoor methods struggle when nearly identical visual inputs must map to completely distinct outputs.
Fig. 1: Overview of our backdoor framework. The framework leverages a compromised MLLM to execute adversary-intended actions when triggered by benign-looking notifications. By leveraging contact details exposed in recent data breaches (e.g., the Optus incident [1]), adversaries can easily target specific users to deliver these notification triggers.

Methods

To overcome these challenges, the authors propose AgentRAE, a two-phase training framework that implants multi-target backdoors via lightweight fine-tuning (using LoRA):

  • Phase 1: Supervised Contrastive Learning: To prevent the model from ignoring small triggers, the authors introduce a Trigger-Separation Loss. By average-pooling hidden states across layers, they create a unified representation of the screenshot. Contrastive learning is then used to pull screenshots with identical notification triggers closer together in the embedding space while pushing apart screenshots with different triggers. This forces the MLLM to become highly sensitive to subtle iconographic variations.
  • Phase 2: Supervised Poisoning Training: Once the trigger representations are well-separated, the model undergoes targeted fine-tuning using a Balanced Poison Loss. This phase explicitly maps each distinct icon to its corresponding malicious target action while simultaneously training on clean data to preserve the agent's core utility.
Fig. 2: Overview of AgentRAE: First, we build poisoned data along task navigation in two phases. Then, we apply two-phase training: Phase 1 separates trigger representations, while Phase 2 injects multi-target backdoors with utility preserved. Finally, the notification trigger activates the adversary-intended action from the action space supported by existing mobile GUI agents.

Datasets

The authors evaluated AgentRAE using two prominent mobile GUI navigation datasets:

  1. GUIOdyssey: A cross-app mobile navigation benchmark containing 8,334 episodes across multiple device splits (Random, App, Task, Device).
  2. AITW (Android In The Wild): A large-scale dataset encompassing 30k instructions and 715k operation trajectories.

To construct the poisoned datasets, the authors embedded realistic message notifications featuring popular app icons (TikTok, Discord, WeChat, etc.) into a subset of the training screenshots.

Key Insights and Ideas

  • Carrier Interference: Traditional "BadNets-style" pixel patches fail on mobile screens because the uniform layout of the notification frame acts as a dominant visual "carrier," causing representation overlap. Decoupling the training into feature separation and behavioral mapping is the key to unlocking multi-target attacks.
  • Exploiting the Perception-Decision Loop: Because mobile agents take screenshots every few seconds and notifications typically linger for 2 to 5 seconds, an attacker can send a coordinated stream of different notifications to orchestrate a complex, multi-step malicious macro (e.g., CLICK phishing link $\rightarrow$ TYPE credentials $\rightarrow$ HOME to hide the activity).
  • The Open-Ended Output Defense Blindspot: Most traditional backdoor defenses assume a fixed-label classification problem (e.g., identifying a stop sign). Because mobile agents generate open-ended, multi-step action sequences, traditional defenses suffer from a fundamental structural mismatch.

Key Results

  • High Attack Success Rate (ASR): AgentRAE achieved an average ASR exceeding 90% across both OdysseyAgent and SeeClick-aitw models. When mapping nine distinct triggers to nine different actions simultaneously, it achieved an impressive 99.58% ASR on SeeClick-aitw.
  • Minimal Utility Degradation: The agent's performance on clean tasks remained virtually unharmed. The Action Matching Score (AMS) dropped by less than 1% on most tasks, ensuring the backdoor remains completely latent during normal usage.
  • Robust Generalization: Although trained on a single standard resolution ($1080 \times 2400$), the backdoor generalized robustly to other smartphone resolutions, maintaining an ASR above 87%.
  • Defense Evasion: AgentRAE successfully bypassed eight state-of-the-art defense mechanisms. Standard model-level mitigations like Fine-Pruning and Neural Attention Distillation (NAD) failed to erase the backdoor, leaving ASRs largely unchanged (~88%).

Limitations and Future Work

The authors note that AgentRAE requires a delicate balancing act during Phase 1; if contrastive learning is pushed too far without achieving convergence, it can inadvertently degrade the model's clean mapping capabilities.

Furthermore, defending against such attacks remains an open problem. Because masking notification areas entirely would cripple an agent's ability to perform legitimate notification-dependent tasks, future work must focus on internal representation analysis and post-deployment runtime monitoring to detect anomalous action sequences.

Summary updated

BibTeX
@misc{luo2026agentrae,
  author = {Yutao Luo and Haotian Zhu and Shuchao Pang and Zhigang Lu and Tian Dong and Yongbin Zhou and Minhui Xue},
  title = {{AgentRAE: Remote Action Execution through Notification-based Visual Backdoors against Screenshots-based Mobile GUI Agents}},
  year = {2026},
  eprint = {2603.23007},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.23007},
}
Figure