Agents

Forged screen alerts steer multimodal AI agents off task

Reviewing MMA-SafetyBench: A Benchmark for Multimodal Agent Safety Evaluation · Yuke Wang, Benlei Cui, Shen Pang et al.

Forged screen alerts steer multimodal AI agents off task

Researchers planted fake system alerts, dialogs and document directives into the screens that multimodal agents read, and most models followed them away from their real task. A strong safety prompt cuts the damage but does not stop it, which points the fix at permissions outside the model.

Show an AI agent a fake system alert and it will often do what the alert says. That is the plain finding of a study that planted forged interface elements into the screens multimodal agents read. It might be a pop-up styled like the OS, a dialog styled like the app, or a directive tucked into a document. The agent reads it. Then it changes course.

To see why, start with how these agents are meant to work. A vision-language model receives a screenshot or video frame and works out where it is in the task. Then it picks an action: click here, type that, open this file. Its only view of state is the screen. Nothing in that loop tells the model which pixels came from the trusted system and which came from an attacker.

Picture it from the attacker's side. You find the step in a multi-step task where a forged element would matter most. You drop a fixed, realistic payload in at that point. Then you wait.

That is roughly what the researchers automated. They did it across web browsing, desktop control, mobile apps, documents and video, against nine proprietary and open-weight models. On some pairings of model and domain, the attacker got exactly the action they wanted nearly nine times in ten. Desktop and video fared worst.

This is not a new attack. It is phishing. Forged warnings have fooled people for decades. What is new is the target, and arguably it is easier to fool, because the model has no instinct that a dialog appearing mid-task is odd.

What interested me most is the gap between the two scores. One counts only cases where the agent did precisely what the payload asked. A second also counts cases where the agent adopted the attacker's intent or abandoned its real task. That second score is almost always higher, sometimes by a wide margin. So even when the attack misses its target, it often still breaks the job. For an agent moving money or editing files, a derailed task is a failure in its own right.

An obvious defence is a stronger system prompt. So the researchers tried one that told the agent to refuse malicious requests above all else. It helped a lot: average attack success fell from 55.20% to 19.54%. But it did not close the hole. Several models still failed often. Nor was it tested against an attacker who knows the prompt is there and writes payloads to slip past it. I would treat that lower figure as a best case.

Preconditions are real but modest. If you control some rendered content the agent will see, and know roughly when it will look, you have most of what you need. A web page, shared document or message preview could be enough.

So the fix belongs outside the model, in permissions the tooling enforces regardless of what a screenshot says. Treat the screen as untrusted input.

Further analysis

Problem

This paper studies Visual Semantic Hijacking, a failure mode in which forged, semantically meaningful interface elements in an agent's visual observation stream cause a multimodal agent to abandon or deprioritise its authorised task. As agents increasingly act on visual interfaces rather than text alone, this attack surface can produce actions with safety, privacy, and integrity consequences that text-only evaluations do not capture.

Approach

The authors propose a trajectory-guided procedure that identifies task-relevant injection points in multi-step observation-action traces and inserts fixed, context-matched visual payloads into the observation stream. They build MMA-SafetyBench, a dataset of 1,083 adversarial trajectories spanning five domains: Web automation (200), OS-level desktop GUI control (209), Mobile navigation (283), Visual document understanding (200), and Video comprehension (191). Payloads are pre-synthesised to resemble native UI elements and held constant across victim-model evaluations to avoid generator-side variation. Nine representative vision-language models are evaluated, including proprietary and open-weight systems. Outcomes are scored with a three-level 1–3–5 rubric adjudicated by an LLM judge, producing two main metrics: Attack Success Rate (ASR), which requires a target-matching output or interaction, and Semantic Compromise Rate (SCR), which also counts semantic impairment or adoption of adversarial intent without a precise target hit. Two prompt-level controls are tested: a neutral-lite prompt and a Safety-Priority Prompt (SPP) that instructs the agent to refuse malicious or illegal requests with highest priority.

Key Findings

  • High susceptibility across models and domains: ASR reaches up to 87.96% on some model–domain pairs and SCR reaches 98.09% in aggregate, showing widespread vulnerability to visual-semantic payloads.
  • Domain variation: Mean ASR across models is highest in GUI (63.69%) and Video (69.17%), lower in Web (43.00%), Document (48.89%), and Mobile (51.24%), indicating domain-dependent attack success.
  • Semantic compromise exceeds target hits: SCR frequently exceeds ASR, revealing many cases where agents adopt adversarial intent or disrupt the benign task without producing a target-matching action; for example, a 36.37 percentage-point SCR–ASR gap was observed for one model on GUI.
  • Controls only partially effective: a neutral-lite prompt reduced macro-average ASR modestly (55.20% to 50.60%), while the Safety-Priority Prompt substantially lowered ASR on average (55.20% to 19.54%) but did not eliminate failures; residual ASR values remain notable for several models and domains.
  • Judge validity: the GPT-5 adjudicator agreed with three human security researchers on 290 of 300 sampled trajectories (96.67% agreement), supporting scalable scoring.

Limitations

The benchmark evaluates controlled, pre-synthesised payloads in curated environments rather than production deployments, excludes adaptive attacker strategies and UI provenance mechanisms, and measures predicted actions or outputs rather than verified environment-side effects. Closed-model updates and API changes may affect reproducibility, and adjudication boundaries between refusal and partial compliance can be sensitive.

Implications

An attacker that can modify rendered visual content could steer multimodal agents to perform unauthorised transactions, execute destructive commands, or disclose sensitive data by inserting convincing forged dialogs, alerts, or document directives. Prompt-only defences are insufficient; attackers need only the visual observation surface and knowledge of task timing. Offensive use cases include automated phishing of agent workflows, privilege escalation via forged system prompts, and exfiltration through manipulated document layouts. Defenders should prioritise authenticated rendering, provenance checks, cross-modal consistency checks, external permission enforcement, and UI integrity verification.

The paper title, authors and abstract

MMA-SafetyBench: A Benchmark for Multimodal Agent Safety Evaluation

Yuke Wang, Benlei Cui, Shen Pang, Xuemei Dong, Longtao Huang, Hui Xue, Yuwen Zhai, Junjie Li, Jingqun Tang, Haiwen Hong

Multimodal agents increasingly rely on visual interfaces to perceive state and select actions, creating an attack surface not captured by text-only safety evaluations. We study Visual Semantic Hijacking, in which deceptive but semantically meaningful interface elements, such as forged system alerts, cause an agent to depart from its authorized task. We propose a trajectory-guided procedure that identifies candidate injection points and inserts reproducible visual payloads into the observation stream. Using this procedure, we construct MMA-SafetyBench, which contains 1,083 adversarial trajectories across web automation, desktop GUI control, mobile navigation, document understanding, and video processing. Across nine evaluated models, Attack Success Rate (ASR) reaches 87.96%, while Semantic Compromise Rate (SCR) reaches 98.09%. A 1--3--5 scoring scheme distinguishes target-matching outputs, semantic disruption without a target match, and successful preservation of the benign task. Controls covering all nine models and five domains show that attacks persist under neutral prompts. A safety-priority prompt lowers ASR without eliminating the failure mode.