A ban years in the making, triggered in a week
Alibaba has told employees to stop using Anthropic's Claude Code for work as of July 10, adding it to an internal list of high-risk software with security vulnerabilities after what the company called a comprehensive evaluation, according to an internal notice seen by the South China Morning Post. Staff are being directed to Alibaba's own coding assistant, Qoder, and reports citing company insiders say the guidance goes further - instructing removal of Anthropic products generally. The proximate cause: a June 30 post on Reddit in which a developer who reverse-engineered Claude Code reported obfuscated detection logic shipping silently since version 2.1.91 in early April - checks for Chinese timezones, proxy servers, and AI-lab network characteristics, with identifying markers embedded in data sent back to Anthropic. An Anthropic engineer publicly described it as a March experiment to prevent account abuse by unauthorised resellers and protect against distillation, adding that stronger mitigations had landed since and the code was slated for removal.
The feud behind the security story
Context makes this less a surprise than an escalation. Anthropic already prohibits Chinese companies (and their foreign-owned entities) from using its models, and last month it went to the US Senate accusing operators affiliated with Alibaba's Qwen lab of the largest known model-distillation attack against Claude - roughly 25,000 fraudulent accounts generating 28.8 million exchanges between late April and early June. Alibaba's counter-accusation of spyware, and its shove toward Qoder, completes a cycle in which each side's security claim doubles as industrial policy. Notably, Microsoft had already dropped internal Claude Code licences in May - for cost, not politics - a reminder that tool standardisation decisions are piling up for many reasons at once.
What this means for your dev stack
- The uncomfortable general lesson: your coding agent is a telemetry channel. Whatever the intent, Claude Code shipped undisclosed environment-fingerprinting logic - so if you operate in a regulated or IP-sensitive environment, put AI dev tools through the same egress and supply-chain review as any other software with network access, and monitor what they transmit.
- For multinationals with China operations, assume the tooling split is permanent: US frontier tools on one side, domestic mandates (Qoder, Qwen-based stacks) on the other. Standardise per-region toolchains now, with code-review and CI practices that keep output quality comparable across both.
- Vendor-trust playbook: ask your AI tooling providers directly what client-side detection or fingerprinting their software performs and where it is disclosed. Anthropic's experiment was arguably defensible anti-abuse engineering - but undisclosed is undisclosed, and this episode is your leverage to demand contractual transparency.
