WebMCP Tool Surface Poisoning: Runtime Manipulation Attacks on LLM Agents
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
WebMCP is a newly emerging protocol that enables websites to expose tools directly to AI agents, bypassing traditional user interfaces and introducing new security risks. The dynamic exposure of agent-accessible tools in WebMCP expands the attack surface of web sessions, especially when third-party scripts are involved. In this study, we identify a new potential threat, termed Mid-Session Tool Injection (MSTI), in which attackers leverage third-party scripts to inject malicious tools during an active session. To better characterize this threat, we classify MSTI based on the stage and target of manipulation, distinguishing between Tool Hijacking and Tool Framing. Tool Hijacking modifies the set of tools visible to the agent through mechanisms such as the AbortSignal API or race conditions during tool registration. In contrast, Tool Framing influences the agent's perception of tool roles through metadata fields such as tool name, description, readOnlyHint, and inputSchema. Our implementation demonstrates that both Tool Hijacking and Tool Framing can successfully disrupt the intended functionality of WebMCP. Based on these results, we outline potential mitigation directions and provide security design recommendations for WebMCP, including binding tool identity to its origin, ensuring lifecycle consistency, enforcing data boundaries for third-party tools, and maintaining traceable logs of tool registration and invocation. These findings indicate that MSTI arises from WebMCP's unique tool lifecycle and structured metadata, making the tool surface itself an emerging security concern.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 15 of its 24 references that are in the map. First posted on arXiv 4 Jun 2026.
Builds on
15 of 24 references.
Closest ancestors · 8
Same direction, newest first
- 2026Clawed and Dangerous: Can We Trust Open Agentic Systems?27 Mar
- 2026A Framework for Formalizing LLM Agent Security19 Mar
- 2026AdapTools: Adaptive Tool-based Indirect Prompt Injection Attacks on Agentic LLMs24 Feb
- 2025ObliInjection: Order-Oblivious Prompt Injection Attack to LLM Agents with Multi-source Data10 Dec
- 2025Automatic Red Teaming LLM-based Agents with Model Context Protocol Tools25 Sep
- 2025WebInject: Prompt Injection Attack to Web Agents16 May
- 2025Advancing Embodied Agent Security: From Safety Benchmarks to Input Moderation22 Apr
- 2025Les Dissonances: Cross-Tool Harvesting and Polluting in Pool-of-Tools Empowered LLM Agents4 Apr
Other references · 7
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
- 2025Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directionscited by 265
- 2024Odyssey: Empowering Minecraft Agents with Open-World Skillscited by 26
- 2025TopicAttack: An Indirect Prompt Injection Attack via Topic Transitioncited by 17
- 2025When MCP Servers Attack: Taxonomy, Feasibility, and Mitigationcited by 17
- 2024TL-Training: A Task-Feature-Based Framework for Training Large Language Models in Tool Usecited by 11
- 2026From Component Manipulation to System Compromise: Understanding and Detecting Malicious MCP Serverscited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026MCP-ITP: An Automated Framework for Implicit Tool Poisoning in MCP
- 2025MCPTox: A Benchmark for Tool Poisoning Attack on Real-World MCP Servers
- 2025MCPXKIT: The Unified Toolkit for Analyzing Model Context Protocol Security
- 2026WebTrap: Stealthy Mid-Task Hijacking of Browser Agents During Navigation
- 2026When the Manual Lies: A Realistic Benchmark to Evaluate MCP Poisoning Attacks for LLM Agents
- 2025Prompt Injection Attack to Tool Selection in LLM Agents
- 2025MCP Security Bench (MSB): Benchmarking Attacks Against Model Context Protocol in LLM Agents
- 2026The Framing Gap: Indirect Prompt-Injection Exfiltration Defeats Surface-Level Defenses in Tool-Using Agents