WASP: Benchmarking Web Agent Security Against Prompt Injection Attacks

I. Evtimov, A. Zharmagambetov, Aaron Grattafiori, Chuan Guo, Kamalika Chaudhuri
4/1/2025
benchmark-dataset

No confident code implementation found for this paper.

Abstract

Autonomous UI agents powered by AI have tremendous potential to boost human productivity by automating routine tasks such as filing taxes and paying bills. However, a major challenge in unlocking their full potential is security, which is exacerbated by the agent's ability to take action on their user's behalf.

Show full abstract

Existing tests for prompt injections in web agents either over-simplify the threat by testing unrealistic scenarios or giving the attacker too much power, or look at single-step isolated tasks. To more accurately measure progress for secure web agents, we introduce WASP -- a new publicly available benchmark for end-to-end evaluation of Web Agent Security against Prompt injection attacks. Evaluating with WASP shows that even top-tier AI models, including those with advanced reasoning capabilities, can be deceived by simple, low-effort human-written injections in very realistic scenarios. Our end-to-end evaluation reveals a previously unobserved insight: while attacks partially succeed in up to 86% of the case, even state-of-the-art agents often struggle to fully complete the attacker goals -- highlighting the current state of security by incompetence.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{evtimov2025wasp,
  title  = {WASP: Benchmarking Web Agent Security Against Prompt Injection Attacks},
  author = {I. Evtimov and A. Zharmagambetov and Aaron Grattafiori and Chuan Guo and Kamalika Chaudhuri},
  year   = {2025},
  eprint = {2504.18575},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2504.18575},
  url    = {https://doi.org/10.48550/arXiv.2504.18575},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.18575.svg)](https://codeofpaper.com/paper/2504.18575)

Discussion