July 01, 2026

Allegations have emerged that Claude Code may be identifying China-linked...

Article featured image

Allegations have emerged that Claude Code may be identifying China-linked custom API routes through subtle prompt formatting changes. The claims focus on non-standard ANTHROPIC_BASE_URL configurations, not usual direct Anthropic access. Normally, Claude Code sends requests to Anthropic’s servers, but some users reroute them through third-party gateways by changing the endpoint. It is alleged that Claude Code can detect these alternate routes, assess them for Chinese connections, and then embed small, invisible signals—such as certain punctuation or date formats—into the prompt text to mark them. ANTHROPIC_BASE_URL defines where requests are sent, often via a proxy, enabling access from locations like China. The issue raised is that Claude Code may tag requests unbeknownst to users. This is especially noteworthy, given that Claude Code’s advanced permissions allow it to access files and execute code. 📰 @aipost