The Battle for the Terminal: When Code Meets Geopolitics, the Case of Alibaba and Claude Code
The discovery of Anthropic's "backdoor" sparked a tool war in China, and what it teaches us about the future of AI-based development
The relationship between a developer and their CLI (command-line interface) tool is usually a very intimate one. The terminal is the last fortress of professional control, the place where we expect full transparency and clean performance. So when it turns out that a popular development tool is carrying out tracking actions "under the radar," it is not only a matter of information security. It is a violation of the most basic contract of trust in the coding community.
This is exactly what happened in recent weeks around Claude Code, the promising coding tool from Anthropic. What began as a developer-favorite work tool quickly became the focus of a geopolitical and technological conflict, which led the tech giant Alibaba to impose a blanket ban on its use.
The "Tracking" Hidden Inside the Lines
It all started when security researchers and developers in the community noticed suspicious behavior in the latest versions of Claude Code (starting with version 2.1.91). It turned out that the tool runs covert checks on the user's work environment: it scans the system's time zones (looking for markers such as
Asia/Shanghai) and checks proxy and VPN addresses associated with Chinese tech companies.
The method was especially sophisticated. Instead of sending an open report to the servers, Anthropic used steganography: tiny, imperceptible changes in the date format or in quotation characters (apostrophes) inside the prompts sent to the model. These changes did not alter the meaning of the code for the developer, but they served as digital markers for Anthropic's servers to identify whether the user was trying to bypass access restrictions from China.
The War on Distillation
The reason for Anthropic's extreme step is not only compliance with US government sanctions. The company claimed that Alibaba and other Chinese AI labs are carrying out an industrial-scale "Distillation Attack." In this process, developers use Anthropic's powerful models (such as Claude 3.5 Sonnet) to generate high-quality datasets that train their own local models, effectively "stealing" the original model's capabilities.
For Anthropic, this is about protecting intellectual property. For developers in China, it is invasive tracking inside a tool that is supposed to be neutral.
Alibaba's Response: Goodbye Claude, Hello Qoder
Alibaba did not stay silent. In an internal message circulated to employees, the company classified Claude Code as high-risk software and ordered all Anthropic products removed from workstations by July 10.
But the truly interesting move is not the ban, but the replacement. Alibaba is pushing its developers to switch to Qoder, its agentic development platform, built on the excellent Qwen family of models.
- •Technological sovereignty: Qoder lets Alibaba keep the entire development process inside its own infrastructure, with no fear of data leakage or outside tracking.
- •Local performance: Models like Qwen3-Coder already deliver performance that competes with Claude and GPT-4 on coding benchmarks, which makes the switch less painful for developers.
- •Agentic development: Like Claude Code, Qoder is not just code completion (Autocomplete). It is an agent that can understand the entire repo, run tests, and fix bugs on its own.
What Does This Mean for Us?
This case marks a step change in the fragmentation of the AI world. We are moving from an era of "global tools for everyone" to an era of AI sovereignty. Giant companies, and not only in China, are starting to understand that AI tools with full access to an organization's source code are a strategic asset, and also a potential security risk.
For us, as people in tech, the conclusion is clear:
- •Transparency is critical: CLI tools that run inside our terminal must be transparent about the information they collect.
- •Local alternatives: The growth of open-source models (such as Qwen or Llama) lets organizations run powerful development tools on private infrastructure, without depending on the "kill switch" of an American or Chinese company.
- •Developer trust: The moment a company uses information-hiding techniques (steganography) against its own users, it will take a very long time to rebuild that trust, even if the goal was legitimate from its point of view.
Further reading: