Claude Code's hidden prompt markers, decoded and acknowledged
An independent researcher known as Thereallo reported on 30 June that Claude Code steganographically marks requests in its system prompts. When the CLI points at a non-Anthropic endpoint, the binary rewrites its date sentence, selecting among four Unicode apostrophe variants and a date-separator swap that together encode whether the request matches a hidden domain watch-list, mentions one of 11 Chinese AI lab keywords, or originates in a Chinese timezone. Anthropic acknowledged it within a day: Claude Code engineer Thariq Shihipar told The Register it was "an experiment we launched in March that was meant to prevent account abuse from unauthorized resellers and protect against distillation," with removal merged and expected in the 1 July release.
The detail: The researcher reverse-engineered the Anthropic-signed binary (version 2.1.196) and XOR-decoded the embedded lists: 11 lab keywords (deepseek, moonshot, minimax and zhipu among them) plus a larger list of Chinese corporate, AI-lab and proxy domains. The markers encode a classification of the request, two to three bits, rather than exfiltrating content, and requests to Anthropic's official endpoint are never marked. The researcher's own conclusion: "This is not a malicious feature, but it is a weird choice for a developer tool that asks for trust." Anthropic did not answer The Register's question of whether the mechanism was ever disclosed in its terms of service.
Related: Claude Code has surprised its users before: Anthropic tightened usage limits without telling users (July 2025), and a developer reading its source found undocumented features five weeks before the marker report. The anti-distillation motive echoes Anthropic's accusation that Alibaba illicitly extracted Claude's capabilities (25 June). The wider pattern is tooling trust: OpenAI has conceded that agent prompt injection may never be fully fixed, and an injection in Snowflake's Cortex CLI executed malware in March. The same week, Konwinski challenged AI power concentration, citing Anthropic's policy of degrading Claude Fable 5 responses for competitors.