atlas

Research map / Multi-agent systems and games / LLM agents

WASP: Benchmarking Web Agent Security Against Prompt Injection Attacks

NeurIPS 2025 · Multi-agent systems and games › LLM agents · approach: Software engineering agent benchmarks · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces WASP, a publicly available end-to-end benchmark for prompt injection attacks against web agents in self-hosted VisualWebArena GitLab and Reddit environments, finding high intermediate hijack rates but low full attacker-goal completion.

Problem

Existing prompt injection tests for web agents are unrealistic, over-powered, single-step, or not publicly released, so there is no standard end-to-end way to measure web agent security against injected instructions.

Approach

A black-box, realistic threat model where the attacker is only an adversarial user controlling specific webpage elements (posts/comments/issues), combined with multi-step attacker goals, plain-text and URL injection templates, and both rule-based end-to-end and LLM-judged intermediate attack success metrics on self-hosted sites.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add a defensive system prompt (ablation)GPT-4o, VisualWebArena axtree · WASP task-relatedASR-intermediate: 0.321 -> 0.167Helped
Add a defensive system prompt (ablation)GPT-4o, VisualWebArena axtree + SOM · WASP task-relatedASR-intermediate: 0.429 -> 0.226Helped
Add a defensive system prompt (ablation)GPT-4o-mini, VisualWebArena axtree · WASP task-relatedASR-intermediate: 0.345 -> 0.333Helped
Add a defensive system prompt (ablation)GPT-4o-mini, VisualWebArena axtree · WASP task-relatedUtility: 0.432 -> 0.351Hurt
Use Tool Calling with instruction hierarchy instead of VisualWebArena axtree (ablation)GPT-4o-mini · WASP task-relatedASR-intermediate: 0.345 -> 0.536Hurt
Place capability instructions in developer rather than system role (ablation)OpenAI o1, Tool Calling · WASP task-relatedASR-intermediate: 0.857 -> 0.583Helped
Add a defensive system prompt (ablation)Claude Sonnet 3.5 v2, CURI · WASP task-relatedASR-intermediate: 0.583 -> 0.512Helped
Add a defensive system prompt (ablation)Claude Sonnet 3.7 Extended Thinking, CURI · WASP task-relatedASR-intermediate: 0.536 -> 0.500Helped
Use URL rather than plain-text injection (ablation)GPT-4o, VisualWebArena axtree + SOM · WASP task-related injection comparisonASR-intermediate: 0.238 -> 0.619Helped
Use URL rather than plain-text injection (ablation)GPT-4o-mini, VisualWebArena axtree · WASP task-related injection comparisonASR-intermediate: 0.286 -> 0.405Helped
Use URL rather than plain-text injection (ablation)OpenAI o1, Tool Calling, system role · WASP task-related injection comparisonASR-intermediate: 0.738 -> 0.976Helped
Use plain-text rather than URL injection (ablation)Claude Sonnet 3.5 · WASP task-related injection comparisonASR-end-to-end: 0.048 -> 0.071Helped

Surprising findings

Limitations

Experimental setup

Datasets: VisualWebArena reddit and gitlab environments

Benchmarks: WASP

Metrics: ASR-intermediate ASR-end-to-end Utility

Baselines: InjecAgent AgentDojo ASB Claude Computer Use

Builds on: VisualWebArena indirect prompt injection instruction hierarchy InjecAgent AgentDojo

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy