---
title: "Anthropic Caught Secretly Spying on Users"
description: "A security researcher uncovered a hidden line of code that allowed Anthropic to collect data on Chinese users without detection."
date: "2026-07-07"
modified: "2026-07-07"
authors:
  - name: "Frank Landymore"
    job_title: "Contributing Writer"
    link: "https://futurism.com/authors/flandymore"
url: "https://futurism.com/artificial-intelligence/anthropic-caught-secretly-spying-on-users"
categories:
  - "Anthropic"
  - "Artificial Intelligence"
---

# Anthropic Caught Secretly Spying on Users

![A stylized photo illustration featuring Anthropic co-founder Dario Amodei.](<https://futurism.com/wp-content/uploads/2026/07/anthropic-caught-secretly-spying-on-users.jpg>)
*Illustration by Tag Hartman-Simkins / Futurism. Source: Anna Moneymaker / Getty Images; Shutterstock*

Anthropic, the self-avowed moral center of the AI industry, has been caught spying on its users.

As [*Ars Technica* reports](<https://arstechnica.com/tech-policy/2026/07/anthropic-outed-for-claude-tracker-that-secretly-monitored-chinese-users/>), a security researcher last week uncovered spyware-like code in the company's Claude Code AI model designed to collect data on Chinese users without detection.

The researcher, known by the pseudonym "Thereallo," found that the code was hidden in the AI's system prompt, allowing it track a user's system timezone and usage of a proxy server in order to suss out if they were connected to specific Chinese AI labs.

Anthropic's explanation for this huge breach in user trust left much to be desired. On X, Anthropic engineer Thariq Shihipa [wrote](<https://x.com/trq212/status/2072079729331777817>) that the tracker was added as an "experiment" in March "to prevent account abuse from unauthorized resellers and protect against distillation," and was supposed to be removed.

"We've actually been meaning to take this down for a while," he offered.

Distillation is the process of training a weaker, "student" model on the outputs of a more advanced "teacher" model. It's a routine practice in the industry, but major AI developers increasingly feel it's being abused by upstarts trying to ride their coattails. Earlier this year, Anthropic accused the Chinese AI firms DeepSeek, Moonshot, and MiniMax of illegally distilling its models ([an ironic tantrum, given how Anthropic trained its tech in the first place](<https://futurism.com/artificial-intelligence/anthropic-deepseek-copying-ai>): by scanning and shredding [millions of copyrighted books](<https://futurism.com/anthropic-shredded-millions-of-physical-books>), as well as essentially the entire internet, without permission.) Recent [reporting from *The Washington Post*](<https://www.washingtonpost.com/national-security/2026/07/06/why-anthropic-alleges-chinese-firms-are-distilling-knowledge-claude/>) also exposed that some Chinese resellers are selling access to Pro Claude subscriptions that cost more than $100 a month in the US for about $12 a month.

It's a genuine issue for Anthropic, but it may have stepped on a landmine by trying to surreptitiously crack down on it. Part of why it earns the loyalty of customers is its much-avowed commitment to ethical and transparent AI development. Scores of ChatGPT users flocked to use Claude when Anthropic took a [much publicized stand against the Pentagon](<https://futurism.com/artificial-intelligence/anthropic-military-ai-nuclear-strike>) by demanding its tech not be used in the mass surveillance of US citizens.

In this case, the data collected wasn't egregiously invasive — but in principle, a line has been crossed.

"Coding agents already live on the wrong side of a scary boundary," Thereallo wrote in their post about the findings. "They can inspect code, summarize secrets by accident, run commands, install packages, edit files, and push commits on your local machine."

But "hiding the signal in the system prompt makes every other privacy claim harder to believe," they added.

"Companies can protect their models," they made clear. But "when a tool with filesystem and shell access starts hiding classification bits inside invisible prompt punctuation, the correct reaction is scrutiny."

**More on AI:** [*Experts Say There’s Now an Open Source AI Model as Scary as Mythos*](<https://futurism.com/artificial-intelligence/open-source-ai-model-scary-mythos>)

## Author
At Futurism, my work has often centered on bringing a sense of clarity and insight to complex topics ranging from the regulation of emerging technologies to the esoteric ideologies of Silicon Valley executives, while striving not to lose the poetic sense of awe inspired by often-obscure fields like astrophysics and quantum computing. I broke the story of CNET using AI to produce articles that turned out to be riddled with factual errors and plagiarism — a dam-breaking inflection point, as I've reported, that's inspired copycats and endless discourse while beguiling stakeholders ranging from tech giants to purveyors of spam around the web. My work at Futurism has been cited by publications including CBS News, the Los Angeles Times, Vice, Gizmodo, Engadget, the Verge, and Vanity Fair. I grew up in locales ranging from India to China, and now live in the exotic suburbs of Virginia. In my free time, I'm an avid reader of weird sci-fi literature, an aficionado of East Asian cinema, and, regrettably, a relapsed gamer. Allegedly, I’m working on a debut novel, currently untitled.

### Author social links  
[Bluesky](<https://bsky.app/profile/f-w-l.bsky.social>)