A Legion of Unruly Robots! A Honeypot Audit of Generative AI Chatbot Services’ Compliance with robots.txt(一群不守规矩的机器人!生成式人工智能聊天机器人服务遵守 robots.txt 协议的蜜罐审计)于 2026-12-03 提交到 arXiv,作者 David Hartmann, Hadi Asghari, Bettina Berendt, Arman Noroozian。去 arXiv 读原文,或下载 PDF。
主要发现
- 在 120 天内通过官方接口对 24 个合成研究人员档案进行的每日探测中,六个服务商里有四个(OpenAI、Anthropic、Google Gemini 和 Perplexity)在页面发布时就带有 robots.txt 限制的情况下没有返回档案内容。
- 没有任何服务商的声明爬虫直接抓取过受 robots.txt 限制的页面,但 xAI 的 Grok 仍然返回了受限档案内容,且在探测发出后几秒内,服务器日志中出现了来自无法关联至 xAI 的地址的模拟浏览器请求。
- 当 7 月 7 日解除原有的 robots.txt 限制指令后,有几个服务商在几天内就恢复了对先前受限档案内容的检索。
- 当通过向已收录档案添加 robots.txt 限制来撤回同意时,在为期四周的观察窗口内,大多数服务商对已索引内容的检索变化很小;只有 Google Gemini 的绝对检索率明显下降,但仍远高于其对发布即受限内容的检索率。
- 服务器日志显示,读取 robots.txt 指令的自动化代理往往不同于为回答用户提问而抓取网页内容的代理,这意味着抓取阶段的合规检查并不能控制回答阶段的内容调用。
最重要的一点。 在这项针对六个生成式人工智能聊天机器人服务商接口的 120 天审计中,页面发布时设置的 robots.txt 限制阻止了四家服务商在回答中输出页面内容,而在页面已被索引后再添加限制,四周内并不能有效阻止内容被检索。对于希望管理页面被引用的发布者而言,robots.txt 指令的设置时机十分关键,因为抓取检查与提示词实时检索往往运行在相互独立的流水线上。
摘要
Generative AI chatbot services increasingly answer user prompts by retrieving and synthesising web content, intensifying tensions over the bots that scour the open web. In the absence of other low-barrier technical solutions, the Robots Exclusion Protocol (robots.txt) remains the primary way for web publishers to grant or deny bots access to their content. This voluntary consent system is in crisis, yet prior evidence is largely observational, and to our knowledge no controlled audit of GenAI chatbot services’ compliance exists. Moreover, providers now run separate pipelines for training data collection, search indexing, and prompt-time retrieval, so honouring a consent signal in one pipeline need not carry over to another. We ran a controlled honeypot audit of six chatbot services: we published 24 synthetic researcher profiles, each under one of four consent-signal settings, probed them daily through provider APIs for 120 days, and compared the responses with our server logs. Chatbot services do not all behave alike. Four of six providers largely honour consent signals present at publication, and when a restriction is lifted, several resume retrieval within days. One provider kept returning restricted content regardless. When consent is withdrawn, however, a case prior research has left unexplored, retrieval of already indexed content changes very little. Our server logs explain why: the agents that read the directive are often not the ones that fetch content to answer prompts. Consent can thus be given but not effectively withdrawn. We argue that this asymmetry matters for fairness and AI governance, as it places the burden of consent on content producers, who have the least technical leverage. We contribute a reusable honeypot method for auditing inference-time compliance.
译文:生成式人工智能聊天机器人服务越来越多地通过检索和整合网页内容来回答用户提问,加剧了围绕网络爬虫抓取开放网页的争议。在缺乏其他低门槛技术方案的情况下,爬虫排除协议(robots.txt)仍然是网页发布者允许或拒绝机器人访问其内容的主要方式。这一自愿同意机制正面临危机,但此前的证据大多来自观察性研究,据我们所知,尚未有针对生成式人工智能聊天机器人服务合规性的受控审计。此外,服务商现在为训练数据收集、搜索索引和提示词实时检索运行着彼此独立的流水线,因此某一条流水线遵守同意信号并不意味着另一条流水线也会遵守。我们对六个聊天机器人服务开展了一项受控蜜罐审计:我们发布了 24 个合成研究人员档案,每个档案采用四种同意信号设置之一,在 120 天内每天通过服务商接口进行探测,并将回答结果与我们的服务器日志进行对比。聊天机器人服务的行为并不一致。六个服务商中有四个在很大程度上遵守发布时即存在的同意信号,当限制解除时,有几个服务商在几天内就恢复了检索。然而,有一个服务商无论设置如何都持续返回受限内容。此外,在先前研究尚未探索的撤回同意场景下,已建立索引内容的检索变化很小。我们的服务器日志解释了原因:读取指令的代理往往不是为回答提问而抓取内容的代理。因此,同意可以被授予,却无法被有效撤回。我们认为这种不对称性对公平性和人工智能治理具有重要意义,因为它将同意的负担压在了技术议价能力最弱的内容生产者身上。我们提供了一套可用于审计推理阶段合规性的可复用蜜罐方法。
关键术语
- 爬虫排除协议(robots.txt):放置在网站上的纯文本标准文件,用于告知自动化爬虫允许或禁止访问哪些页面或目录。
- 蜜罐审计:一种通过发布内容独特且受控的合成网页,来精确追踪外部系统如何访问和展示这些页面的实验方法。
- 提示词实时检索:聊天机器人为回答用户当前提问而实时获取或查询网页内容的过程,与离线抓取训练数据相互独立。
- 信号反转:在实验中途改变页面的同意指令,包括移除最初的 robots.txt 限制,或向原本开放的页面新增限制。
- 第三方索引中介:通过外部搜索引擎索引返回网页内容,而非使用服务商自有爬虫直接抓取页面,因此在宿主服务器上不会留下直接的爬虫访问记录。
论文原文
作者总结了六个受审计聊天机器人服务在 120 天内表现出的主要合规不对称现象。
Four of six providers (OpenAI, Athropic, Google Gemini and Perplexity) do not return profile content when a robots.txt directive is present from the start, but the retrieval mechanism rarely matches what the content owner expects or what the protocol describes. Changing signals later has little effect on content that was unrestricted before: adding a directive to already-indexed content does not reproduce the suppression we see when the directive is present from publication.
译文:六个服务商中有四个(OpenAI、Anthropic、Google Gemini 和 Perplexity)在 robots.txt 指令从一开始就存在时不会返回档案内容,但其检索机制很少符合内容所有者的预期或协议的描述。之后再更改信号对先前未受限制的内容影响很小:向已建立索引的内容添加指令,无法重现指令在发布时就存在时所看到的抑制效果。
作者解释了为何服务器日志显示读取 robots.txt 与回答用户提问之间存在脱节。
Our server logs explain this through the observation that the agents that read the directive are often different from the ones that access content to answer prompts. In practice, consent can be given, but within our observation window it could not be effectively withdrawn.
译文:我们的服务器日志通过以下观察解释了这一点:读取指令的代理往往不同于为回答提示词而访问内容的代理。在实践中,同意可以被授予,但在我们的观察窗口内却无法被有效撤回。
作者对比了 xAI 的 Grok 声明爬虫行为与实际观测到的受限页面召回情况。
No provider’s declared bot fetched a page restricted by robots.txt . xAI´s Grok nevertheless returned restricted content, and browser-like requests from addresses we could not link to xAI followed its probes within seconds.
译文:没有任何服务商的声明机器人抓取过受 robots.txt 限制的页面。然而,xAI 的 Grok 仍然返回了受限内容,并且在探测发出后几秒内,来自我们无法关联到 xAI 的地址的类似浏览器请求便紧随而至。
论文里的图
该图表按限制状态对比了六个服务商每日在知识探测中返回合成档案内容的比例。
图来自论文 arXiv:2612.05667,版权归作者。原图说明:Figure 3. Daily share of knowledge probes returning profile-page content per provider. Knowledge probes ( P 1 P_{1} to P 3 P_{3} ), grouped by provider and restriction status.
该时间线展示了 4 月 10 日至 8 月 7 日期间、7 月 7 日解除初始限制后的检索比例变化,显示出多家服务商在几天内便恢复了内容召回。
图来自论文 arXiv:2612.05667,版权归作者。原图说明:Figure 5. The retrieval ratio of profile-page content for T 1 T_{1} profiles (restricted at publication, released July 7) from 10 April to 7 August (120 days), with separate lines for each provider. In this and Figure 6 , the dashed vertical line marks the signal inversion on 7 July and the dotted vertical line marks the end of Round 1 of data collection on 25 May (Appendix A.5 ); treatments and probe schedule were the same in both rounds.
作者自己说的含义
- 将训练爬虫、搜索索引和提示词回答流水线相互分离,意味着在抓取阶段得到遵守的同意信号并不会自动约束回答阶段输出的内容。
- 由于发布时授予的同意在限制解除后几天内就能恢复访问,而在内容建立索引后却无法有效撤回同意,现有协议把不公平的技术负担强加给了内容生产者。
- 依赖机器可读保留声明的同意制网络治理与监管规则,应当沿着向用户交付内容的检索路径评估约束力,而不能只在初始抓取阶段进行判断。
可以怎么做
- 沿着提示词实时检索路径审计生成式人工智能聊天机器人服务,而不要只检查声明爬虫是否读取了 robots.txt。 依据:在 120 天内对六个服务商的审计中,没有任何声明爬虫抓取过受限页面,但 xAI 的 Grok 仍返回了受限内容,且四家服务商在新增限制后大多未停止返回已索引页面。
- 在评估聊天机器人服务是否尊重发布者退出信号时,同时测试发布初期的限制设置以及实验途中的信号反转。 依据:六个服务商中有四家(OpenAI、Anthropic、Google Gemini 和 Perplexity)在发布即设限时会拦截内容,但 7 月 7 日对已索引档案新增 robots.txt 限制后,接下来四周内的检索率几乎没有下降。
- 要求生成式人工智能代理服务商在用户撤回同意后验证并证明检索阶段的合规性,而不能仅依赖抓取阶段的日志。 依据:服务器日志表明读取 robots.txt 的代理往往与为提示词抓取内容的代理不同,导致信号反转后的四周观察窗口内撤回同意未能生效。
注意。 该审计在 120 天(4 月 10 日至 8 月 7 日)内通过官方接口测试了虚构机构子域名上的 24 个合成研究人员档案,使用了 OpenAI 模型作为自动裁判、模型别名而非固定日期快照,且 Grok 的搜索调用被限制为最多返回两条结果。作者指出,研究无法将机构层面效应与全站 robots.txt 设置完全区分,也无法始终区分第三方索引中介与直接违规,且因验证码和个性化机制未能持续开展浏览器端测试。
一句话
在这项使用 24 个合成研究人员档案对六个商业聊天机器人接口开展的 120 天受控蜜罐审计中,四家服务商遵守了页面发布时即存在的 robots.txt 限制,而 xAI 的 Grok 仍返回了受限内容。一旦页面已被建立索引,再添加 robots.txt 限制在四周内并不能有效阻止内容被检索,因为抓取阶段的检查与提示词实时抓取往往由不同的代理执行。
这篇解读根据论文原文写成。引用的段落是原话,数字都是作者自己报告的。方法和完整结果请读论文。