← Lab /AI/ML

Canary tokens reveal which scrapers feed which LLMs

Serving unique canary tokens to scrapers enables reliable automatic identification of LLM-related scrapers

AI/ML arXiv 13 May 2026 Method Prototype evidence

Published as “Identifying AI Web Scrapers Using Canary Tokens”

Why it matters

Site owners can deploy canary tokens to detect which AI scrapers are pulling their content and assess whether simple defenses like robots.txt actually protect their data.

Summary

The authors show that by embedding unique canary tokens in their own websites and then querying 22 production AI chatbots, they can reliably map which web scrapers feed which chatbot, revealing several scrapers not publicly disclosed. They also find that simple blocking via robots.txt is largely ineffective. The evidence comes from a controlled deployment of 20 sites and systematic prompting of the chatbots, but the paper notes possible false positives and negatives in the token matching process.

What they found 2

  1. Robots.txt is largely ineffective at preventing AI chatbots from returning site data.

    “Blocking AI scrapers through robots.txt is largely ineffective at removing website data from an AI chatbot, although it is unclear whether this is due to caching or disregard for the robots.txt protocol.”

  2. Chatbots often scrape only content served to search-engine scrapers and may deviate from their self-reported behavior.

    “AI chatbots often seem to scrape and relay content only fed to search engine scrapers - even sometimes deviating from the official behaviors they self-report.”

Caveats 4

  • The authors acknowledge that false positives can occur when a chatbot hallucinates a token value without actually scraping the site.
  • They also note false negatives when a scraper retrieves content but the chatbot does not emit the token in its response.
  • False positives may arise when an AI chatbot outputs the value of a canary token without actually scraping our website.
  • False negatives occur when a model has accessed content from our website but does not emit the corresponding canary token in its response.

What’s new here 4

  • Introduces a canary-token based side-channel to infer scraper identities without relying on self-reported User-Agent strings.
  • Demonstrates a scalable, unprivileged method to map scrapers to 22 real-world AI chatbots.
  • Evaluates the effectiveness of robots.txt and site takedown against live AI-driven web retrieval.
  • Provides a concrete matching algorithm with tunable thresholds to reduce spurious matches.