Skip to content
AI Incident Database·Indexed by this site · Originally published· Event →

Anthropic admits hidden tracking markers in Claude Code were experimental and removes them

Claude Code’s hidden tracker was an “experiment,” says Anthropic

AI summary

When independent developer Thereallo reverse-engineered the Claude Code 2.1.196 client, they found a function in the minified JavaScript that encodes ordinary date text like "Today's date is 2026-06-30." into hidden markers based on the user's API endpoint and system timezone, triggering only when the local timezone is Asia/Shanghai or Asia/Urumqi, making it difficult for ordinary log readers to notice. After the incident spread via social media and media reports, Anthropic confirmed the code and quickly removed it, but did not publish a dedicated post-mortem. According to reports, an Anthropic engineer said on X that this was an experiment launched in March, aimed at preventing unauthorized resellers from abusing accounts and guarding against knowledge distillation. The article also mentions the distillation attack controversy between Anthropic and China-related labs, and that Alibaba has consequently disabled Claude Code.

Read originalmalwarebytes.com