It's a TRAP! Task-Redirecting Agent Persuasion Benchmark for Web Agents

Karolina Korgul, Yushi Yang, Arkadiusz Drohomirecki, Piotr Błaszczyk, Will Howard +5 more
12/29/2025
cs.HCcs.AIcs.MA

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Web-based agents powered by large language models are increasingly used for tasks such as email management or professional networking. Their reliance on dynamic web content, however, makes them vulnerable to prompt injection attacks: adversarial instructions hidden in interface elements that persuade the agent to divert from its original task. We introduce the Task-Redirecting Agent Persuasion Benchmark (TRAP), an evaluation for studying how persuasion techniques misguide autonomous web agents on realistic tasks. Across six frontier models, agents are susceptible to prompt injection in 25\% of tasks on average (13\% for GPT-5 to 43\% for DeepSeek-R1), with small interface or contextual changes often doubling success rates and revealing systemic, psychologically driven vulnerabilities in web-based agents. We also provide a modular social-engineering injection framework with controlled experiments on high-fidelity website clones, allowing for further benchmark expansion.

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. 1 weaker match is hidden by default — 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{korgul2025its,
  title  = {It's a TRAP! Task-Redirecting Agent Persuasion Benchmark for Web Agents},
  author = {Karolina Korgul and Yushi Yang and Arkadiusz Drohomirecki and Piotr Błaszczyk and Will Howard and Lukas Aichberger and Chris Russell and Philip H. S. Torr and Adam Mahdi and Adel Bibi},
  year   = {2025},
  eprint = {2512.23128},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.23128v1}
}

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/2512.23128.svg)](https://codeofpaper.com/paper/2512.23128)

Discussion