Papers › Attacking Multimodal OS Agents with Malicious Image Patches

Attacking Multimodal OS Agents with Malicious Image Patches

13 Mar 2025arXiv:2503.10809archive 2025-07-28

Lukas Aichberger, Alasdair Paren, Yarin Gal, Philip Torr, Adel Bibi

Recent advances in operating system (OS) agents enable vision-language models to interact directly with the graphical user interface of an OS. These multimodal OS agents autonomously perform computer-based tasks in response to a single prompt via application programming interfaces (APIs). Such APIs typically support low-level operations, including mouse clicks, keyboard inputs, and screenshot captures. We introduce a novel attack vector: malicious image patches (MIPs) that have been adversarially perturbed so that, when captured in a screenshot, they cause an OS agent to perform harmful actions by exploiting specific APIs. For instance, MIPs embedded in desktop backgrounds or shared on social media can redirect an agent to a malicious website, enabling further exploitation. These MIPs generalise across different user requests and screen layouts, and remain effective for multiple OS agents. The existence of such attacks highlights critical security vulnerabilities in OS agents, which should be carefully addressed before their widespread adoption.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2503.10809")

Code

Syntology Ran 0 of 22 code samples harvested from 1 repository linked to this paper; 22 have no recorded run.

By repository: found in paper text by Syntology: 22 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

AIchberger/mip-against-agent found in paper text by SyntologyApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

22 samples harvested; 0 ran; 0 honoured the contract we drafted; 22 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

22unverified

Licence: 0 of the 22 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from AIchberger/mip-against-agent. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

append_results AIchberger/mip-against-agent/src/mip_attack/reporting.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 4a1f4e792a6ed7cd · report
backward_model_loss AIchberger/mip-against-agent/src/mip_attack/optimization.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 695a398a0fdd89e9 · report
best_patch_rank AIchberger/mip-against-agent/src/mip_attack/optimization.py found in paper text by Syntology unverified Apache-2.0 (permissive) · b9361dc2dda419da · report
build_user_msg_visual AIchberger/mip-against-agent/src/mip_attack/prompts.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 7f1dd1b398ed9382 · report
centered_patch_ranges AIchberger/mip-against-agent/src/mip_attack/config.py found in paper text by Syntology unverified Apache-2.0 (permissive) · d73031427f43ab3b · report
ensure_results_file AIchberger/mip-against-agent/src/mip_attack/reporting.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 6ea9ca43cd05ac45 · report
filter_entities_with_mask AIchberger/mip-against-agent/src/mip_attack/a11y.py found in paper text by Syntology unverified Apache-2.0 (permissive) · d690aada5f8669d2 · report
filter_nonvis_and_oob_entities AIchberger/mip-against-agent/src/mip_attack/a11y.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 7cbc0ee1e93d5dec · report
get_mask_from_entities AIchberger/mip-against-agent/src/mip_attack/a11y.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 023a841443ebee6c · report
normalize_image AIchberger/mip-against-agent/src/mip_attack/model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 0d40f28ae88b0be6 · report
paper_conditions AIchberger/mip-against-agent/src/mip_attack/protocol.py found in paper text by Syntology unverified Apache-2.0 (permissive) · fa74fb20ad5c6635 · report
place_png_patch AIchberger/mip-against-agent/src/mip_attack/agent.py found in paper text by Syntology unverified Apache-2.0 (permissive) · b8f593e790ff6e89 · report
previous_actions_text AIchberger/mip-against-agent/src/mip_attack/agent.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 8df7273a1174a5b9 · report
read_target AIchberger/mip-against-agent/src/mip_attack/config.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 812af51bcfcfea5c · report
relative_artifact_path AIchberger/mip-against-agent/src/mip_attack/artifacts.py found in paper text by Syntology unverified Apache-2.0 (permissive) · a2421fdbc5dc7073 · report
resolve_path AIchberger/mip-against-agent/src/mip_attack/config.py found in paper text by Syntology unverified Apache-2.0 (permissive) · ff0604a9ed196593 · report
retain_best_patch AIchberger/mip-against-agent/src/mip_attack/optimization.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 6d4d608b0d69807f · report
select_targeted_pair AIchberger/mip-against-agent/src/mip_attack/protocol.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 00eed04c6bc6f9c9 · report
tile_image AIchberger/mip-against-agent/src/mip_attack/model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 237d78c2b5521450 · report
torch_load AIchberger/mip-against-agent/src/mip_attack/artifacts.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 4cf99e43d4302ec0 · report
unnormalize_image AIchberger/mip-against-agent/src/mip_attack/model.py found in paper text by Syntology unverified Apache-2.0 (permissive) · be561a8361863fa7 · report
validate_id AIchberger/mip-against-agent/src/mip_attack/artifacts.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 5b1a5a43a05c36df · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections