WAInjectBench: Benchmarking Prompt Injection Detections for Web Agents
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
Multiple prompt injection attacks have been proposed against web agents. At the same time, various methods have been developed to detect general prompt injection attacks, but none have been systematically evaluated for web agents. In this work, we bridge this gap by presenting the first comprehensive benchmark study on detecting prompt injection attacks targeting web agents. We begin by introducing a fine-grained categorization of such attacks based on the threat model. We then construct datasets containing both malicious and benign samples: malicious text segments generated by different attacks, benign text segments from four categories, malicious images produced by attacks, and benign images from two categories. Next, we systematize both text-based and image-based detection methods. Finally, we evaluate their performance across multiple scenarios. Our key findings show that while some detectors can identify attacks that rely on explicit textual instructions or visible image perturbations with moderate to high accuracy, they largely fail against attacks that omit explicit instructions or employ imperceptible perturbations. Our datasets and code are released at: https://github.com/Norrrrrrr-lyn/WAInjectBench.
Key facts. Cited by 24 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 24 of its 32 references that are in the map. First posted on arXiv 1 Oct 2025.
Builds on
24 of 32 references.
Closest ancestors · 7
Same direction, newest first
- 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul
- 2025VPI-Bench: Visual Prompt Injection Attacks for Computer-Use Agents3 Jun
- 2025WASP: Benchmarking Web Agent Security Against Prompt Injection Attacks22 Apr
- 2025Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents17 Mar
- 2024Attacking Vision-Language Computer Agents via Pop-ups4 Nov
- 2024EIA: Environmental Injection Attack on Generalist Web Agents for Privacy Leakage17 Sep
- 2024Dissecting Adversarial Robustness of Multimodal LM Agents18 Jun
Other references · 17
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
- 2013Intriguing properties of neural networkscited by 5,155
- 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
- 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
- 2017Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methodscited by 546
- 2017Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networkscited by 486
- 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 364
5 more
- 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 245
- 2025DataSentinel: A Game-Theoretic Detection of Prompt Injection Attackscited by 143
- 2019Improving Robustness Without Sacrificing Accuracy with Patch Gaussian Augmentationcited by 105
- 2023JailGuard: A Universal Detection Framework for LLM Prompt-based Attackscited by 50
- 2024Embedding-based classifiers can detect prompt injection attackscited by 27
Built on by
Citing papers per year: 2025: 2; 2026: 22.
24 papers.
Sort:
By area:
- 2025BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agentscited by 24
- 2026ClawSafety: "Safe" LLMs, Unsafe Agentscited by 17
- 2025ceLLMate: Sandboxing Browser AI Agentscited by 16
- 2026A Framework for Formalizing LLM Agent Securitycited by 16
- 2026WebSentinel: Detecting and Localizing Prompt Injection Attacks for Web Agentscited by 11
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 7
- 2026Measuring Real-World Prompt Injection Attacks in LLM-based Resume Screeningcited by 5
- 2026SnapGuard: Lightweight Prompt Injection Detection for Screenshot-Based Web Agentscited by 4
- 2026Web Agents Should Adopt the Plan-Then-Execute Paradigmcited by 4
- 2026Clawed and Dangerous: Can We Trust Open Agentic Systems?cited by 3
- 2026Domain-Conditioned Safety in Frontier Computer-Using Agents: A 793-Episode Browser Benchmark, a Coding-Domain Cross-Reference, and a Reproducibility Audit of Recent Red-Teamingcited by 1
- 2026Same-Origin Policy for Agentic Browserscited by 1
12 more
- 2026LongPIBench: A Long-Context Benchmark for Prompt Injectioncited by 1
- 2026Securing Computer-Use Agents: A Unified Architecture-Lifecycle Framework for Deployment-Grounded Reliabilitycited by 0
- 2026Send a SCOUT First: Pre-hoc Reasoning for Adaptive Detector Allocation in Prompt-Injection Defensecited by 0
- 2026MOSAIC: Knowledge-Guided CLI Command Composition Attack in LLM Coding Agentscited by 0
- 2026Piggybacking on Perception: Stealthy Concurrent Audio Prompt Injections against Multimodal LLM Agentscited by 0
- 2026From Monoliths to Swarms: A Study of Attack Surface Evolution in the Transition to Multi-Agent Web Systemscited by 0
- 2026Beyond the Verdict: Evidence-Aligned Evaluation of Visual Prompt-Injection Guardrailscited by 0
- 2026AgentHijack: Visual Patch Attacks on Multimodal Computer-Use Agentscited by 0
- 2026Evaluating System One Models for Agent Security Decisions: Reliability, Calibration, and Selective Automationcited by 0
- 2026RAG-PIBench: A Leakage-Aware Benchmark for Prompt-Injection Detection in Trustworthy RAG Systemscited by 0
- 2026BrowseSafe++: Benchmarking Prompt Injection Detection Across Web Contexts, Languages, and Browser Viewscited by 0
- 2026Are You Reading the Right Thing? Rethinking Internal Signals for Prompt-Injection Detectioncited by 0
- 2026Are You Reading the Right Thing? Rethinking Internal Signals for Prompt-Injection Detection14 Oct 2026
- 2026BrowseSafe++: Benchmarking Prompt Injection Detection Across Web Contexts, Languages, and Browser Views12 Oct 2026
- 2026RAG-PIBench: A Leakage-Aware Benchmark for Prompt-Injection Detection in Trustworthy RAG Systems6 Oct 2026
- 2026Evaluating System One Models for Agent Security Decisions: Reliability, Calibration, and Selective Automation27 Sep 2026
- 2026AgentHijack: Visual Patch Attacks on Multimodal Computer-Use Agents6 Sep 2026
- 2026Beyond the Verdict: Evidence-Aligned Evaluation of Visual Prompt-Injection Guardrails2 Sep 2026
- 2026LongPIBench: A Long-Context Benchmark for Prompt Injection28 Aug 2026
- 2026From Monoliths to Swarms: A Study of Attack Surface Evolution in the Transition to Multi-Agent Web Systems31 Jul 2026
- 2026Piggybacking on Perception: Stealthy Concurrent Audio Prompt Injections against Multimodal LLM Agents30 Jul 2026
- 2026MOSAIC: Knowledge-Guided CLI Command Composition Attack in LLM Coding Agents3 Jul 2026
- 2026Same-Origin Policy for Agentic Browsers12 Jun 2026
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation9 Jun 2026
12 more
- 2026Domain-Conditioned Safety in Frontier Computer-Using Agents: A 793-Episode Browser Benchmark, a Coding-Domain Cross-Reference, and a Reproducibility Audit of Recent Red-Teaming3 Jun 2026
- 2026Send a SCOUT First: Pre-hoc Reasoning for Adaptive Detector Allocation in Prompt-Injection Defense29 May 2026
- 2026Measuring Real-World Prompt Injection Attacks in LLM-based Resume Screening27 May 2026
- 2026Web Agents Should Adopt the Plan-Then-Execute Paradigm14 May 2026
- 2026Securing Computer-Use Agents: A Unified Architecture-Lifecycle Framework for Deployment-Grounded Reliability8 May 2026
- 2026SnapGuard: Lightweight Prompt Injection Detection for Screenshot-Based Web Agents28 Apr 2026
- 2026ClawSafety: "Safe" LLMs, Unsafe Agents1 Apr 2026
- 2026Clawed and Dangerous: Can We Trust Open Agentic Systems?27 Mar 2026
- 2026A Framework for Formalizing LLM Agent Security19 Mar 2026
- 2026WebSentinel: Detecting and Localizing Prompt Injection Attacks for Web Agents3 Feb 2026
- 2025ceLLMate: Sandboxing Browser AI Agents14 Dec 2025
- 2025BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agents25 Nov 2025
- 2026ClawSafety: "Safe" LLMs, Unsafe Agentscited by 17
- 2026A Framework for Formalizing LLM Agent Securitycited by 16
- 2026WebSentinel: Detecting and Localizing Prompt Injection Attacks for Web Agentscited by 11
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 7
- 2026SnapGuard: Lightweight Prompt Injection Detection for Screenshot-Based Web Agentscited by 4
- 2026Web Agents Should Adopt the Plan-Then-Execute Paradigmcited by 4
- 2026Clawed and Dangerous: Can We Trust Open Agentic Systems?cited by 3
- 2026Domain-Conditioned Safety in Frontier Computer-Using Agents: A 793-Episode Browser Benchmark, a Coding-Domain Cross-Reference, and a Reproducibility Audit of Recent Red-Teamingcited by 1
- 2026Same-Origin Policy for Agentic Browserscited by 1
- 2026Securing Computer-Use Agents: A Unified Architecture-Lifecycle Framework for Deployment-Grounded Reliabilitycited by 0
- 2026MOSAIC: Knowledge-Guided CLI Command Composition Attack in LLM Coding Agentscited by 0
- 2026Piggybacking on Perception: Stealthy Concurrent Audio Prompt Injections against Multimodal LLM Agentscited by 0
12 most cited of 15 All 15 (JSON)
- 2026Evaluating System One Models for Agent Security Decisions: Reliability, Calibration, and Selective Automation27 Sep 2026
- 2026AgentHijack: Visual Patch Attacks on Multimodal Computer-Use Agents6 Sep 2026
- 2026From Monoliths to Swarms: A Study of Attack Surface Evolution in the Transition to Multi-Agent Web Systems31 Jul 2026
- 2026Piggybacking on Perception: Stealthy Concurrent Audio Prompt Injections against Multimodal LLM Agents30 Jul 2026
- 2026MOSAIC: Knowledge-Guided CLI Command Composition Attack in LLM Coding Agents3 Jul 2026
- 2026Same-Origin Policy for Agentic Browsers12 Jun 2026
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation9 Jun 2026
- 2026Domain-Conditioned Safety in Frontier Computer-Using Agents: A 793-Episode Browser Benchmark, a Coding-Domain Cross-Reference, and a Reproducibility Audit of Recent Red-Teaming3 Jun 2026
- 2026Web Agents Should Adopt the Plan-Then-Execute Paradigm14 May 2026
- 2026Securing Computer-Use Agents: A Unified Architecture-Lifecycle Framework for Deployment-Grounded Reliability8 May 2026
- 2026SnapGuard: Lightweight Prompt Injection Detection for Screenshot-Based Web Agents28 Apr 2026
- 2026ClawSafety: "Safe" LLMs, Unsafe Agents1 Apr 2026
12 newest of 15 All 15 (JSON)
- 2025BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agentscited by 24
- 2025ceLLMate: Sandboxing Browser AI Agentscited by 16
- 2026Measuring Real-World Prompt Injection Attacks in LLM-based Resume Screeningcited by 5
- 2026LongPIBench: A Long-Context Benchmark for Prompt Injectioncited by 1
- 2026BrowseSafe++: Benchmarking Prompt Injection Detection Across Web Contexts, Languages, and Browser Viewscited by 0
- 2026Are You Reading the Right Thing? Rethinking Internal Signals for Prompt-Injection Detectioncited by 0
- 2026Are You Reading the Right Thing? Rethinking Internal Signals for Prompt-Injection Detection14 Oct 2026
- 2026BrowseSafe++: Benchmarking Prompt Injection Detection Across Web Contexts, Languages, and Browser Views12 Oct 2026
- 2026LongPIBench: A Long-Context Benchmark for Prompt Injection28 Aug 2026
- 2026Measuring Real-World Prompt Injection Attacks in LLM-based Resume Screening27 May 2026
- 2025ceLLMate: Sandboxing Browser AI Agents14 Dec 2025
- 2025BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agents25 Nov 2025
Similar, not cited
Close in wording, no citation either way
- 2025WebInject: Prompt Injection Attack to Web Agents
- 2026WebAgentGuard: A Reasoning-Driven Guard Model for Detecting Prompt Injection Attacks in Web Agents
- 2026Prompt Injection Detection for Email Agents Through Attack Chain Modeling
- 2026Indirect Prompt Injection in the Wild: An Empirical Study of Prevalence, Techniques, and Objectives
- 2026WARD: Adversarially Robust Defense of Web Agents Against Prompt Injections
- 2026When AUC 0.998 Is Not Enough: A Candidate Evaluation Protocol for Hidden-State Probes of Indirect Prompt Injection in Multimodal Computer-Use Agents
- 2026AgentWatcher: A Rule-based Prompt Injection Monitor
- 2026MUZZLE: Adaptive Agentic Red-Teaming of Web Agents Against Indirect Prompt Injection Attacks