mlsanityData to 7 Oct 2026

WebSentinel: Detecting and Localizing Prompt Injection Attacks for Web Agents

arXiv 2602.03792 ↗First posted 3 Feb 2026cs.CR cs.AI cs.CLcited by 10

On the map: LLM agents and tool use → Agent threats, guardrails and governance

also in 1 more
Abstract (arXiv)

Prompt injection attacks manipulate webpage content to cause web agents to execute attacker-specified tasks instead of the user's intended ones. Existing methods for detecting and localizing such attacks achieve limited effectiveness, as their underlying assumptions often do not hold in the web-agent setting. In this work, we propose WebSentinel, a two-step approach for detecting and localizing prompt injection attacks in webpages. Given a webpage, Step I extracts segments of interest that may be contaminated, and Step II evaluates each segment by checking its consistency with the webpage content as context. We show that WebSentinel is highly effective, substantially outperforming baseline methods across multiple datasets of both contaminated and clean webpages that we collected. Our code is available at: https://github.com/wxl-lxw/WebSentinel.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 18 of its 23 references that are in the map. First posted on arXiv 3 Feb 2026.

Builds on

18 of 23 references.

Closest ancestors · 8

Same direction, newest first

  1. 2025WAInjectBench: Benchmarking Prompt Injection Detections for Web Agents1 Oct
  2. 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul
  3. 2025VPI-Bench: Visual Prompt Injection Attacks for Computer-Use Agents3 Jun
  4. 2025WebInject: Prompt Injection Attack to Web Agents16 May
  5. 2025WASP: Benchmarking Web Agent Security Against Prompt Injection Attacks22 Apr
  6. 2024Attacking Vision-Language Computer Agents via Pop-ups4 Nov
  7. 2024EIA: Environmental Injection Attack on Generalist Web Agents for Privacy Leakage17 Sep
  8. 2024Dissecting Adversarial Robustness of Multimodal LM Agents18 Jun

Other references · 10

  1. 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
  2. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
  3. 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,210
  4. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 328
  5. 2025DataSentinel: A Game-Theoretic Detection of Prompt Injection Attackscited by 124
  6. 2024Attention Tracker: Detecting Prompt Injection Attacks in LLMscited by 82
  7. 2025Can Indirect Prompt Injection Attacks Be Detected and Removed?cited by 43
  8. 2024Embedding-based classifiers can detect prompt injection attackscited by 24
  9. 2025PromptLocate: Localizing Prompt Injection Attackscited by 23
  10. 2025BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agentscited by 23

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 10.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SnapGuard: Lightweight Prompt Injection Detection for Screenshot-Based Web Agents
  2. 2026WebAgentGuard: A Reasoning-Driven Guard Model for Detecting Prompt Injection Attacks in Web Agents
  3. 2025Mind the Web: The Security of Web Use Agents
  4. 2025Context manipulation attacks : Web agents are susceptible to corrupted memory
  5. 2026WAAA! Web Adversaries Against Agentic Browsers
  6. 2026MalURLBench: A Benchmark Evaluating Agents' Vulnerabilities When Processing Web URLs
  7. 2026From Prompt Injection to Web Exploitation: Revisiting Classic Vulnerabilities in LLM-Integrated Applications
  8. 2026WebMCP Tool Surface Poisoning: Runtime Manipulation Attacks on LLM Agents