
Image credit: Search Engine Journal
Google Chrome has issued new guidance for web and AI agent developers, warning that WebMCP tools can be exploited to manipulate and hijack AI agents through prompt injection.
The vulnerabilities, which allow malicious actors to gain control of AI agents, are not exclusive to WebMCP but stem from fundamental flaws inherent in Large Language Models (LLMs) and Chrome extensions, according to the guidance.
AI agents face two primary attack vectors: malicious manifests and contaminated outputs. Malicious manifests involve hidden prompt injections embedded within tool descriptions, while contaminated outputs deliver malicious instructions through returned information, even from seemingly trusted tools.
Google Chrome reported that LLMs struggle to reliably prevent prompt injection because their probabilistic nature processes instructions and user data as a single sequence of tokens, making it difficult to differentiate benign from malicious inputs.
To mitigate these risks, Chrome recommends a layered security approach. This strategy combines deterministic controls, such as token limits and user confirmation prompts, with probabilistic safeguards like prompt injection classifiers and critic models, according to the guidance.
Developers of WebMCP tools are advised to implement specific annotation hints. These include ‘untrustedContentHint’ and ‘readOnlyHint’ to signal potentially unsafe content or restricted access, and an ‘exposedTo’ setting to specify trusted origins for tool exposure.
The guidance acknowledges that prompt injection remains a significant and fundamental challenge for ensuring the security of AI agents, underscoring the ongoing need for defensive measures.
Source: Search Engine Journal
Written by
Palumbo Angela
Angela Palumbo, Senior Editor at Rabbit Rank since 2023, holds a bachelor's in communications. She focuses on fact-checking and simplifying complex topics while also leading strategy for the news department.
Keep reading
Related Articles

X Removes 42,000 AI Chatbot Accounts in Spam Combat
X’s head of product, Nikita Bier, live-tweeted the company’s battle against AI chatbot spam, revealing motivat...

Cloudflare, AWS Launch Pay-Per-Crawl Systems for AI Bots
Cloudflare and AWS introduce pay-per-crawl for AI bots using HTTP 402, empowering publishers to control and mo...

Google report shows AI queries diverge from daily life activities
Google’s AI & Economy ATLAS report shows a stark contrast between what Americans ask AI about and their daily...