在谷歌,我们的威胁情报团队致力于保持对现实世界中对抗性活动的领先优势,主动监控新兴威胁,防止其影响用户。目前,间接提示注入(Indirect Prompt Injection,简称 IPI)是安全社区的首要关注点,各方预期这将成为对手针对并破坏 AI 代理的主要攻击向量。然而,尽管 IPI 的危险性已被广泛讨论,但威胁行为者是否真的在利用这一向量进行攻击——如果是,又是如何操作的?
为了回答这些问题并揭露现实世界中的滥用行为,我们对公开网络进行了广泛扫描,以监控已知的间接提示注入模式。以下是我们的发现。
间接提示注入的威胁
与用户“越狱”聊天机器人的直接注入不同,IPI 发生在 AI 系统处理包含恶意指令的内容(如网站、电子邮件或文档)时。当 AI 读取这些被污染的内容时,它可能会默默地遵循攻击者的命令,而不是执行用户的原始意图。
这并非我们新的关注领域,谷歌一直在不懈地努力应对这些威胁。我们的工作涉及谷歌 DeepMind (GDM) 的研究人员与 Google Threat Intelligence Group (GTIG) 等防御团队之间的跨职能协作。我们此前曾详细阐述过我们在该领域的工作,研究人员也进一步强调了这些漏洞的不断演变性质。
尽管各方对此高度关注,但一个根本性问题依然存在:现实世界中的恶意行为者在多大程度上正在实际部署这些攻击?
谷歌的主动监控
网络上的 IPI 格局
攻击者可能通过多种渠道尝试发送提示注入。然而,有一个位置特别易于观察——公开网络。在这里,威胁行为者可能会在网站上植入提示注入,希望借此破坏浏览这些网站的 AI 系统。
公开研究证实了这些攻击是可能的;因此,我们应预期现实世界中的对手会利用这些漏洞造成危害。
因此,我们要问一个基本问题:当前的真实攻击者试图达成什么目标?
为了便于访问和复现,我们选择使用 Common Crawl,这是一个收录了大量来自英语网络爬取网站的大型存储库。Common Crawl 每月提供 20 亿至 30 亿个页面的快照。这些大多是静态网站,包括自我发布的内容,如博客、论坛以及这些网站上的评论,但需要注意的是,它并不包含大多数社交媒体内容(例如 LinkedIn、Facebook、X 等),因为 Common Crawl 会跳过设有登录墙和反爬指令的网站。
这意味着,尽管我们已在社交媒体上观察到提示注入,但我们将其留待后续单独的研究中探讨。作为初步观察,我们可以甚至在标准 HTML 中观察到提示注入,而 Common Crawl conveniently 不仅提供了源代码,还提供了解析后的纯文本。
假阳性的挑战
扫描大量文档以查找提示注入的任务听起来很简单,但在现实中却因海量的假阳性检测而受阻。
早期实验揭示了大量“良性”的提示注入文本,这说明了区分功能性威胁和无害内容的复杂性。许多提示注入被发现于研究论文、教育类博客文章或讨论这一主题的安全文章中。
At Google, our Threat Intelligence teams are dedicated to staying ahead of real-world adversarial activity, proactively monitoring emerging threats before they can impact users. Right now, Indirect Prompt Injection (IPI) is a top priority for the security community, anticipating it as a primary attack vector for adversaries to target and compromise AI agents. But while the danger of IPI is widely discussed, are threat actors actually exploiting this vector today – and if so, how?
To answer these questions and to uncover real-world abuse, we initiated a broad sweep of the public web to monitor for known indirect prompt injection patterns. This is what we found.
The threat of indirect prompt injection
Unlike a direct injection where a user "jailbreaks" a chatbot, IPI occurs when an AI system processes content—like a website, email, or document—that contains malicious instructions. When the AI reads this poisoned content, it may silently follow the attacker's commands instead of the user's original intent.
This is not a new area of concern for us and Google has been working tirelessly to combat these threats. Our efforts involve cross-functional collaboration between researchers at Google DeepMind (GDM) and defenders like the Google Threat Intelligence Group (GTIG). We have previously detailed our work in this area and researchers have further highlighted the evolving nature of these vulnerabilities.
Despite this collective focus, a fundamental question remains: to what degree are real-world malicious actors currently operationalizing these attacks?
Proactive monitoring at Google
The landscape of IPI on the web
There are many channels through which attackers might try to send prompt injections. However, one location is particularly easy to observe - the public web. Here, threat actors may simply seed prompt injections on websites in hope of corrupting AI systems that browse them.
Public research confirms these attacks are possible; consequently, we should expect real-world adversaries to exploit these vulnerabilities to cause harm.
Thus, we ask a basic question: What outcomes are real attackers trying to achieve today?
For ease of access and reproducibility, we chose to use Common Crawl , which is a large repository of crawled websites from the English-speaking web. Common Crawl provides monthly snapshots of 2-3 billion pages each. These are mostly static websites, which includes self-published content such as blogs, forums and comments on these sites, but as a caveat it does not contain most social media content (e.g., LinkedIn, Facebook, X, …) as Common Crawl skips websites with login walls and anti-crawl directives.
This means that, while prompt injections have been observed on social media, we reserve these for an upcoming separate study. For a first look, we can observe prompt injections even in standard HTML, for which Common Crawl conveniently provides not just the source, but also the parsed plaintext.
The challenge of false positives
The task of scanning large amounts of documents for prompt injections may sound simple, but in reality is hindered by an overwhelming number of false positive detections.
Early experiments revealed a significant volume of "benign" prompt injection text, which illustrates the complexity of distinguishing between functional threats and harmless content. Many prompt injections were found in research papers, educational blog posts, or security articles discussing this very topic.
| 刊期 | 得分 | 排名 | 结果 |
|---|---|---|---|
| 2026-11-30 | 6.4 | 55 | 入选 |
| 2026-11-22 | 6.4 | 82 | 入选 |
| 2026-11-14 | 6.4 | 98 | 入选 |