Skip to main content

Identifying AI Web Scrapers Using Canary Tokens

Preprints
Seiden, S; Ren, T; Zhang, C; Kim, T; Liu, E; Wenger, E
May 13, 2026

From pre-training to query-time augmentation, web-scraped data helps to improve the quality and contextual relevancy of content generated by large language models (LLMs). However, large-scale web scraping to feed LLMs can affect site stability and raise legal, privacy, or ethics concerns. If website owners wish to limit LLM-related web scraping on their site, due to these or other concerns, they may turn to scraper access control mechanisms like the Robots Exclusion Protocol. To be most effective, such mechanisms require site owners to first identify the scrapers that they wish to restrict (e.g., via User-Agent strings). Existing mechanisms to identify LLM-related scrapers rely on voluntary disclosure by companies, one-off experiments by researchers, or crowd-sourced reports -- methods that are neither reliable nor scalable. This paper proposes a novel technique for accurately and automatically inferring LLM-related scrapers. We host dynamic websites that serve unique canary tokens to each visiting scraper, then prompt LLMs for information about our sites. If an LLM consistently generates outputs containing tokens unique to a scraper, it provides evidence of exposure to that scraper. Via experiments across 22 production LLM systems, we demonstrate that our approach can reliably identify which scrapers feed which LLM, including several that are not publicly known or disclosed by the companies. Our approach provides a promising avenue for unprivileged third parties to infer which scrapers serve data to which LLMs, potentially enabling better control over unwanted scraping.

Duke Scholars

Altmetric Attention Stats
Dimensions Citation Stats

Publication Date

May 13, 2026
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Seiden, S., Ren, T., Zhang, C., Kim, T., Liu, E., & Wenger, E. (2026). Identifying AI Web Scrapers Using Canary Tokens.
Seiden, Steven, Triss Ren, Caroline Zhang, Taein Kim, Enze Liu, and Emily Wenger. “Identifying AI Web Scrapers Using Canary Tokens,” May 13, 2026.
Seiden S, Ren T, Zhang C, Kim T, Liu E, Wenger E. Identifying AI Web Scrapers Using Canary Tokens. 2026.
Seiden, Steven, et al. Identifying AI Web Scrapers Using Canary Tokens. 13 May 2026.
Seiden S, Ren T, Zhang C, Kim T, Liu E, Wenger E. Identifying AI Web Scrapers Using Canary Tokens. 2026.

Publication Date

May 13, 2026