Papers › Dissecting Adversarial Robustness of Multimodal LM Agents

Dissecting Adversarial Robustness of Multimodal LM Agents

18 Jun 2024arXiv:2406.12814archive 2025-07-28

Chen Henry Wu, Rishi Shah, Jing Yu Koh, Ruslan Salakhutdinov, Daniel Fried, aditi raghunathan

As language models (LMs) are used to build autonomous agents in real environments, ensuring their adversarial robustness becomes a critical challenge. Unlike chatbots, agents are compound systems with multiple components taking actions, which existing LMs safety evaluations do not adequately address. To bridge this gap, we manually create 200 targeted adversarial tasks and evaluation scripts in a realistic threat model on top of VisualWebArena, a real environment for web agents. To systematically examine the robustness of agents, we propose the Agent Robustness Evaluation (ARE) framework. ARE views the agent as a graph showing the flow of intermediate outputs between components and decomposes robustness as the flow of adversarial information on the graph. We find that we can successfully break latest agents that use black-box frontier LMs, including those that perform reflection and tree search. With imperceptible perturbations to a single image (less than 5% of total web page pixels), an attacker can hijack these agents to execute targeted adversarial goals with success rates up to 67%. We also use ARE to rigorously evaluate how the robustness changes as new components are added. We find that inference-time compute that typically improves benign performance can open up new vulnerabilities and harm robustness. An attacker can compromise the evaluator used by the reflexion agent and the value function of the tree search agent, which increases the attack success relatively by 15% and 20%. Our data and code for attacks, defenses, and evaluation are at https://github.com/ChenWu98/agent-attack

PaperPDFCodeCode 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="2406.12814")

Code

Syntology Ran 16 of 21 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 5 ran · our draft was wrong; 11 ran with no contract checked.

By repository: official repository: 21 samples from 1 repository, 16 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

chenwu98/agent-attack officialmentioned in papermentioned on GitHubpytorchMIT 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

21 samples harvested; 16 ran; 0 honoured the contract we drafted; 5 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.

5ran · our draft was wrong
11ran
5unverified

Licence: 0 of the 21 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 chenwu98/agent-attack. “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.

SpectrumSimulationAttack chenwu98/agent-attack/agent_attack/attacks/clip_attack.py official repository ran MIT (permissive) · 2eb813117afbc4ca · report
clamp chenwu98/agent-attack/agent_attack/attacks/clip_attack.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 6007bd5812bfaa0f · report
create_prompt_with_image ChenWu98/agent-attack/agent_attack/models/claude.py official repository ran MIT (permissive) · 3da9b64f831dd75a · report
create_prompt_with_image ChenWu98/agent-attack/agent_attack/models/gemini.py official repository ran MIT (permissive) · 2da643c5a93d2c26 · report
create_prompt_with_image ChenWu98/agent-attack/agent_attack/models/gpt4v.py official repository ran MIT (permissive) · d4d849884c643a02 · report
dct chenwu98/agent-attack/agent_attack/attacks/clip_attack.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 4c3d07280a79397a · report
dct_2d chenwu98/agent-attack/agent_attack/attacks/clip_attack.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · f9e84f203184602f · report
edit_distance ChenWu98/agent-attack/agent_attack/attacks/utils.py official repository ran fingerprinted MIT (permissive) · 018efd26b7538a9c · report
encode_image ChenWu98/agent-attack/agent_attack/models/claude.py official repository ran MIT (permissive) · b594d1567e135be0 · report
encode_image ChenWu98/agent-attack/agent_attack/models/gemini.py official repository ran MIT (permissive) · 72cb0591b722709a · report
evaluate_from_tensor ChenWu98/agent-attack/agent_attack/attacks/utils.py official repository ran MIT (permissive) · a911ed75f6ec5cad · report
idct chenwu98/agent-attack/agent_attack/attacks/clip_attack.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · d7527095d5399c56 · report
idct_2d chenwu98/agent-attack/agent_attack/attacks/clip_attack.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 7505f98253d5552a · report
inplace_clamp ChenWu98/agent-attack/agent_attack/attacks/clip_attack.py official repository ran fingerprinted MIT (permissive) · 508ada73b3187beb · report
normalize_question_suffix ChenWu98/agent-attack/agent_attack/models/instructblip.py official repository ran fingerprinted MIT (permissive) · 2d7d16ad4a161f63 · report
scale_and_show_tensor ChenWu98/agent-attack/agent_attack/util/image_handling.py official repository ran MIT (permissive) · 88fafc0c5b0a5f8d · report
AdversarialInputAttacker chenwu98/agent-attack/agent_attack/attacks/clip_attack.py official repository unverified MIT (permissive) · af1755102f0fb6e8 · report
dct1 ChenWu98/agent-attack/agent_attack/attacks/clip_attack.py official repository unverified MIT (permissive) · 997a65deb3a03f4b · report
evaluate_from_pil ChenWu98/agent-attack/agent_attack/attacks/utils.py official repository unverified MIT (permissive) · fafceff1adc1b23c · report
save_image ChenWu98/agent-attack/agent_attack/util/image_handling.py official repository unverified MIT (permissive) · ddec91d5abd56bb7 · report
show_image ChenWu98/agent-attack/agent_attack/util/image_handling.py official repository unverified MIT (permissive) · 014944e169d043ef · report

Tasks

Adversarial RobustnessAdversarial Text

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

CLIPSET

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