AI chatbots respect early robots.txt blocks, but later blocks barely work

A 120-day honeypot audit of six chatbot APIs, including OpenAI, Gemini and Grok, found that a block set at publication mostly works. A block added after a page is already indexed changes little within four weeks.

7 min readILab onlyPreprint, not peer reviewed
Save
A studio still life photograph of a tiny shut wooden gate with a paper note tied to it, with a trail of small paper slips that have passed through to form a stack on the far side, where one deep blue slip is visible, on a warm off-white paper background.AI illustration
Illustration: AI generated

What the study shows

robots.txt is a small file on a website that tells automated bots what they may read. It is voluntary. Bots are expected to check it and obey. Publishers now use it to keep AI chatbots away from their content, and EU copyright rules point to it as a valid way to opt out.

The researchers built a honeypot, a trap set up to observe bots. They published 24 made-up researcher homepages on subdomains of a real, well-ranked research institute. Each page got one of four settings: no restriction, a robots.txt block for the whole institute, a robots.txt block for that one profile, or a 'noindex' tag inside the page itself.

Half the restricted pages were blocked from the start. The other half went live open and were blocked on 7 July, while the first half were unblocked on the same day. This swap let the team test both giving and withdrawing consent.

Every day for 120 days, they asked six chatbot APIs with web search switched on about the fictional researchers. The services were OpenAI GPT-4o-mini, Anthropic Claude Haiku 4.5, Google Gemini 2.5 Flash, Perplexity Sonar, Mistral Medium and xAI Grok 4. An automated judge checked whether answers contained details from the pages, and server logs recorded which bots visited and when.

The authors report that blocks present from publication mostly worked for Gemini, Perplexity, OpenAI and Anthropic. Their retrieval of profile content dropped to near zero, from between about one in ten and more than half of answers on open pages. Grok still returned blocked content about half the time. Mistral never returned profile content in any condition, so its result says little about compliance.

Withdrawal was a different story. Four weeks after the same blocks were added to pages that had been open, OpenAI, Grok and Anthropic returned them at about the same rate as before. Only Gemini showed a clear drop, of about 30 percentage points against the control group, and it stayed far above its rate for pages blocked from the start. Lifting a block, by contrast, let Gemini and Perplexity return content again within days.

The server logs suggest why. Different services check robots.txt in different ways. Perplexity, Anthropic and Mistral read the file just before fetching a page. OpenAI's fetching bot never read it; a separate search crawler did, about 20 minutes later. Gemini relied on Googlebot. No verified xAI bot appeared at all: requests using xAI's bot name came from unrelated networks. In the authors' reading, permission is checked when content is crawled, while answers come from stored indexes, so a new block takes effect only when that store is updated.

The paper is a preprint and has not been peer reviewed.

Our reading

In our reading, the most useful finding is the asymmetry. Saying yes is quick and saying no is slow. Most content on the web was published before AI chatbots existed, so for most publishers withdrawal is the only tool left. This study suggests it is the one that works least well, at least within a month.

The second lesson is that 'compliance' is not one thing. No provider's declared bot fetched a page blocked by robots.txt. Yet that clean record did not stop content appearing in answers, because the bot that reads the rules is often not the bot, or the index, that supplies the answer. A provider can truthfully say its crawler obeys robots.txt while its chatbot still repeats a page the publisher has since blocked.

Grok needs careful reading. It returned blocked content often, and unidentified browser-like traffic followed its queries within seconds. The authors say plainly that they cannot tie that traffic to xAI or rule out a third-party search index. The result shows the signal was not honoured in what Grok returned. It does not show how, or that it was deliberate.

Free membership

Read the rest of this story

Membership is free. You get every article in full, and can save stories and follow topics.

We send a sign-in link, no password needed. Already a member? Sign in

Readiness assessment

I
Lab only
LevelStatusEvidence
I  Lab onlyMetThe paper describes a working honeypot audit method run for 120 days against six commercial APIs, with detailed results.
II  BenchmarkedNot yetThis is an audit method, not a model, and it is not scored on any public benchmark. Results come from the authors' own private setup.
III  Open sourceNot yetThe authors say profiles, hashed logs, the dataset and code will be released on GitHub 'upon publication' or 'after acceptance'. No link is given.
IV  In productionNot yetThere is no documented use of the audit method by a named regulator, publisher or other organisation.

What would move it up
Releasing the promised code, honeypot pages and dataset publicly would let others rerun the audit and would meet level III. Use by a named organisation, such as a regulator or publisher group, would be needed for level IV.

The study

David Hartmann, Hadi Asghari, Bettina Berendt et al. A Legion of Unruly Robots! A Honeypot Audit of Generative AI Chatbot Services' Compliance with robots.txt. arXiv, 3 December 2026. arXiv:2612.05667

Preprint, not peer reviewed · Licence CC BY 4.0 · Weizenbaum Institute, Berlin · Technische Universität Berlin, Berlin · KU Leuven, Leuven

Badge for this study

Notes

  1. Hartmann, Asghari, Berendt and Noroozian, 'A Legion of Unruly Robots! A Honeypot Audit of Generative AI Chatbot Services' Compliance with robots.txt', arXiv preprint, December 2026, not peer reviewed. Source
  2. Code, synthetic profiles, hashed logs and dataset are promised on GitHub upon publication. No link was available at the time of writing.
  3. Blocks at publication: retrieval of profile content fell from 57.4% to 0.1% (Gemini), 37.6% to 0.1% (Perplexity), 26.8% to 0.0% (OpenAI) and 10.6% to 1.4% (Anthropic). Grok: 49.8% under block against 66.5% open. Grok under institute-wide robots.txt block: 98.5%.
  4. Withdrawal: Gemini difference-in-differences of -29.9 percentage points relative to control (95% CI -45.3 to -11.8); Perplexity point estimate -14.7 points; other providers changed by under five points. After lifting blocks, Gemini rose from 0.1% to 36.4% and Perplexity to 29.0%; OpenAI stayed at 0.0% (0 of 621).
  5. Of 69,185 probes, 51,302 (74.2%) returned a usable response. Judge agreement with human coders: Cohen's kappa 0.87, matching agreement between the two coders.
  6. The robots exclusion protocol is standardised as RFC 9309. Source
  7. Readiness: Level I, lab only. No public benchmark, no released code yet, no documented use by a named organisation.

Edited and signed by

Stefan PerdalFounder. Twenty-five years of building digital products.237 stories edited

Stefan read the study, set the readiness level and approved this story. An AI system found the paper and wrote the first draft.

How this was made

An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.

No corrections to this article. Found an error? Report it.

More on Safety & evaluation