Prompt injection on the web: Google's crawl finds attackers experimenting, not yet at scale
Google's Threat Intelligence teams scanned Common Crawl for indirect prompt injection planted on public web pages. They found mostly pranks, SEO tricks and crude attacks, but malicious attempts rose 32% in three months.
Key Takeaways
- Google found indirect prompt injection (IPI) in the wild on public web pages, but judged overall sophistication low.
- Google reports a relative 32% increase in the malicious category between November 2025 and February 2026.
- Most hits were pranks, helpful hints to AI summarisers, SEO manipulation or notices telling AI agents to stay away. A small number tried data exfiltration or file deletion.
- Treat any web content an agent reads as untrusted input and constrain what the agent can do with it.
Indirect prompt injection is widely discussed as a primary route for attacking AI agents. Google's Threat Intelligence teams set out to measure whether attackers are actually using it today. Their April 2026 write-up is one of the first public attempts to put real-world data behind the question.
What IPI is, and how Google looked for it
In an IPI attack the attacker is a third party. They plant instructions in content an AI system later processes, such as a website, email or document. The system may then follow those instructions instead of the user's original intent.
Google's source was Common Crawl, a public archive of the English-speaking web. Each monthly snapshot holds roughly 2-3 billion pages. The pipeline worked from coarse to fine:
- 1Pattern matching for signatures such as "ignore … instructions" and "if you are an AI".
- 2Classification with Gemini to judge intent and whether the text fits the page's narrative.
- 3Human validation of what remained.
Google flags the limits itself. Common Crawl skips login-walled and anti-crawl sites, so most social media is excluded. The approach is not exhaustive and may miss uncommon signatures. Many raw matches were research papers or security articles about prompt injection rather than attacks.
What the crawl found
- Pranks: for example, an invisible injection telling agents to change their conversational tone.
- Helpful guidance: authors steering AI summaries towards extra context. Google calls this benign but notes it could become malicious if used for misinformation or redirection to third-party sites.
- SEO manipulation: injections meant to make AI assistants promote one business over its competitors. Some looked more sophisticated and appeared to come from automated SEO tools.
- Deterring agents: simple "if you are an AI, do not crawl this website" notices, plus a more hostile case that lures agents to a page streaming endless text to waste resources or cause timeouts.
- Data exfiltration: a small number of attempts. The example appeared to be a site author running an experiment.
- Destruction: several attempts to delete all files on a user's machine, which Google considers unlikely to succeed.
The trend matters more than the current severity
Google judges overall sophistication to be low. It saw no significant use of the advanced exfiltration prompts described in 2025 security research. Its reading is that attackers "have yet not productionized this research at scale". Most activity looked like individual authors running experiments or pranks.
The direction of travel is less comfortable. Across multiple archive versions, Google observed a relative 32% increase in the malicious category between November 2025 and February 2026. It gives no absolute counts, so the figure is a growth rate, not a measure of volume. Google expects growth in scale and sophistication as AI systems become more capable and agentic AI lowers the cost of attacking them.
What practitioners should take from it
This is evidence of attacker interest, not of widespread compromise, and it does not cover social media. Still, the SEO and agent-deterrence cases show that page authors already write for AI readers. Anything an agent browses can carry hostile instructions.
- Treat fetched web content as data, never as instructions, and keep it separated from the system prompt in your design.
- Apply least privilege to agent tools. File deletion and outbound data transfer are the capabilities the observed payloads targeted.
- Add timeouts and output limits so agents cannot be stalled by endless-content pages.
- Include indirect injection through browsed pages in AI red-team scope, not only direct jailbreaks.
Frequently Asked Questions
Is indirect prompt injection being exploited in the wild?
Google's analysis of Common Crawl found real injection attempts on public web pages, including a small number of data-exfiltration attempts and several file-deletion attempts. It rated overall sophistication as low and saw mostly experiments, pranks and SEO manipulation.
How fast are malicious prompt injections growing?
Google reports a relative 32% increase in the malicious category between November 2025 and February 2026. It does not publish absolute counts, and its method is not exhaustive.
What is the practical defence for teams deploying AI agents?
Treat all retrieved content as untrusted, restrict agent permissions to what each task needs, and red-team agents against injected web content. Google's own response combines hardening its models, red-teaming and sharing threat intelligence.