Anthropic is pulling hidden code from its platform that was quietly built to detect when users might be operating on behalf of Chinese AI competitors. The decision marks a notable reversal for the San Francisco-based AI safety company, which had faced sharp criticism after the existence of the covert monitoring mechanism became public. According to reporting by The Register, the company is now actively removing the code following the backlash.

The code, embedded without public disclosure, was designed to flag activity that suggested a user might be associated with competing Chinese AI labs or companies. Critics argued the approach was opaque and raised serious questions about how Anthropic handles user data and competitive intelligence gathering. The fact that it operated without users' knowledge drew the most pointed criticism from privacy advocates and the broader AI research community.

What the Code Was Doing

The hidden logic appears to have been part of a broader effort to prevent rival AI developers from using Claude to benchmark or extract insights about its capabilities. Rather than implementing open, policy-based restrictions, Anthropic opted for a background detection layer that users had no visibility into. That distinction, covert enforcement versus transparent terms of service, is what fueled much of the controversy.

Key Facts

  • Anthropic embedded code designed to detect users affiliated with Chinese AI competitors
  • The mechanism operated without public disclosure or user notification
  • Removal of the code follows public reporting and criticism of the covert approach
  • Anthropic has not issued a detailed public statement explaining the original rationale
  • The reversal raises questions about what other undisclosed monitoring may exist

The episode sits in a broader context of escalating competition between Western and Chinese AI labs. Tools like Claude have become central to developer workflows globally, and concerns about intellectual property and model distillation have intensified as Chinese models have rapidly closed the capability gap. Still, privacy researchers argued that covert detection was not an appropriate response to those competitive pressures.

The problem isn't that Anthropic wanted to protect its technology. The problem is they did it in a way that users had no idea was happening.Privacy researcher commentary via The Register

Reversal and Remaining Questions

As covered in our earlier report, Anthropic reversed course on the spyware targeting Chinese users after the story gained traction. The current reporting from The Register adds detail to how the removal process is being handled at a technical level, confirming the code is actively being stripped out rather than simply disabled. Whether Anthropic plans to replace it with a transparent, policy-based equivalent remains unclear.

The timing is also significant given how central Claude has become to commercial and developer use cases. Anthropic's revenue run rate has climbed sharply, driven in large part by enterprise and developer adoption. Any erosion of trust in how the company handles user data or surveillance could carry real commercial consequences, particularly among international users who may now scrutinize Anthropic's data practices more carefully.

Anthropic has not published a comprehensive explanation of why the covert approach was chosen in the first place, nor has it outlined what safeguards will be put in place going forward. The company's reputation has been closely tied to its AI safety mission, and incidents like this one complicate that narrative. Transparency, advocates argue, should extend beyond model safety research and into how the platform itself treats its users.

For now, the code is coming out. Whether Anthropic moves toward a more openly communicated competitive protection policy, or simply lets the matter fade, will say a great deal about how the company balances business interests against the trust of the developer community it depends on.

Further reading: Learn more about Claude's model family, read our background on Anthropic, or browse the latest Claude AI news.