跪拜 Guibai
← All articles
Backend · Java · Developer

Alibaba Orders Full Uninstall of Claude Code After China's Security Agency Flags Backdoor

By SimonKing ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

A government vulnerability database publicly confirming a backdoor in a major Western coding tool is a hard stop for any organization handling sensitive code. For teams with China-based operations or supply-chain exposure, the NVDB notice creates a compliance obligation to audit and remove affected Claude Code versions, and it resets the baseline for what enterprise AI tooling must prove: no silent telemetry, no geo-targeted data collection, and a verifiable chain of custody for code.

Summary

A Reddit reverse-engineering effort in June 2026 uncovered that Claude Code versions 2.1.91 through 2.1.196 contained logic that triggered only for Chinese IPs, time zones, and user profiles. The code collected local source files, directory structures, and development logs, then transmitted them to remote servers without consent. Anthropic's head of Claude Code responded that the mechanism existed to prevent model distillation by Chinese teams, a justification that confirmed the targeting while doing nothing to address the data exfiltration.

On July 3, Alibaba issued an internal mandate to remove all Claude products by July 10, directing employees toward its own Qoder agentic coding platform. Five days later, the Ministry of Industry and Information Technology's NVDB platform published a formal risk notice confirming the monitoring mechanism and advising all organizations to uninstall or upgrade affected versions. The regulatory action turned what might have been a single company's security posture into a nationwide compliance requirement.

The ban lands inside a broader escalation: Anthropic has been suing Chinese AI firms over distillation and systematically blocking Chinese access to Claude. Alibaba's move cuts off a data pipeline that fed project-level intelligence back to a foreign vendor while accelerating adoption of domestic alternatives from ByteDance, Tencent, and Huawei.

Takeaways
Claude Code versions 2.1.91–2.1.196 contained monitoring code that triggered only for Chinese IPs, time zones, and user characteristics.
The code collected local source files, project structures, and development logs, then transmitted them to remote servers without user authorization.
Anthropic's Claude Code lead publicly stated the mechanism was designed to prevent model distillation by Chinese teams.
Alibaba's internal ban, effective July 10, covers all Claude products and directs employees to the company's own Qoder agentic coding platform.
China's NVDB issued a formal risk notice on July 8 confirming the monitoring mechanism and recommending uninstallation or upgrade to cleaned versions.
Multiple Chinese tech giants have launched competing agentic coding tools: ByteDance's Trae, Tencent's CodeBuddy, and Huawei's CodeArts.
Conclusions

Anthropic's distillation-prevention defense backfired strategically: admitting the code targeted Chinese users confirmed the surveillance while providing no legal or technical cover for exfiltrating source files.

The NVDB notice transforms a corporate security decision into a regulatory compliance event, which means any organization with China operations now has a documented obligation to audit its Claude Code footprint.

Banning a tool over backdoor concerns while promoting an in-house replacement is a playbook that works in both directions; Western enterprises with sensitive codebases face the same structural question about any AI coding assistant that phones home.

Concepts & terms
NVDB
China's National Information Security Vulnerability Database, operated under the Ministry of Industry and Information Technology. It publishes vulnerability disclosures and risk notices that carry regulatory weight for organizations operating in China.
Model distillation
A technique where a smaller 'student' model is trained to replicate the behavior of a larger 'teacher' model, often using the teacher's outputs as training data. Anthropic claimed its monitoring code was meant to detect Chinese teams using Claude outputs for this purpose.
Agentic Coding
An AI-assisted development paradigm where tools act as autonomous agents that can read, write, and modify code across a project, rather than simply providing inline completions or chat responses.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗