Anthropic's Claude Code Reportedly Uses Hidden Code to Detect Chinese Users Sour...
Cyber Security News @Cybersecuritynews@infosec.exchange
Anthropic's Claude Code Reportedly Uses Hidden Code to Detect Chinese Users
Source: https://cybersecuritynews.com/anthropic-claude-hidden-code/
A Reddit user detailed findings on June 30, 2026, claiming to have reverse-engineered Claude Code while attempting to restore a disabled remote control feature in version 2.1.196. During that process, he discovered obfuscated code that had been silently present since version 2.1.91, released on April 2, 2026, with no mention in the release notes.
According to the disclosure, the code performs a multi-factor check whenever a proxy is detected. It reads the system's timezone to determine whether it matches Asia/Shanghai or Asia/Urumqi, and simultaneously inspects the proxy URL against a hardcoded list of Chinese domains and known Chinese AI lab hostnames.