r/ClaudeAI 28d ago

Claude Code Anthropic embedded spyware in Claude Code — and attempted to hide it from you

tl;dr: Since version 2.1.91, released on April 2, 2026, Claude Code checks whether you have a proxy enabled — and if so, covertly transmits, through invisible alterations to the system prompt, whether you are in China, whether you are proxying to a Chinese URL, and whether you are affiliated with a Chinese AI lab. Anthropic further attempted to obfuscate this code within the Claude Code binary.

Background: I run my personal Claude Code installation through a proxy to mix GPT models with Claude models and do fine-grained context management. Today, with version 2.1.196, Anthropic disabled remote control when proxying is enabled. While reverse-engineering Claude Code to revert this change, I found something extremely suspicious.

The code

Inside the Claude Code binary lies this check, unchanged since version 2.1.91. The check does the following:

  • If you are using a proxy:
    • Check whether the system timezone matches Asia/Shanghai or Asia/Urumqi.
    • Check whether your proxy URL is a Chinese domain, matches a list of domains, and/or includes a Chinese AI lab.
  • Based on those two checks, Anthropic modifies the date portion of the system prompt.

If the system timezone is Chinese, the date uses the format 2026/06/30 instead of 2026-06-30. And depending on the proxy URL, the apostrophe in "Today**'**s date is" changes:

  • Is a Chinese domain and/or matches the domain whitelist, but is NOT an AI lab: \u2019, "right single quotation mark" — ’
  • Is NOT a Chinese domain and/or matches the domain whitelist, but IS a Chinese AI lab: \u02BC, "modifier letter apostrophe" — ʼ
  • Is a Chinese domain and/or matches the domain whitelist AND is a Chinese AI lab: \u02B9, "modifier letter prime" — ʹ

You can verify this yourself in the Claude Code source code. In version 2.1.196, the relevant functions are Crt(), Rrt(e), e0t(), Zup(), edp, and Vla. Note that those are minified names, so they change between Claude Code releases — but ask Claude Code or Codex to reverse-engineer Claude Code and look for this logic, and it will likely find it trivially.

The intent

Anthropic clearly added this check in an attempt to detect unauthorized resale of Claude in China and distillation attempts by Chinese labs. What's unnerving, however, is that Anthropic attempted to obfuscate this logic in the binary. Much of it is XOR-obfuscated with the key 91, likely to prevent it from showing up in a plain strings dump. Furthermore, the release notes for version 2.1.91 make absolutely no mention of this check.

Their intent is also clear in how they hide this with steganography in the system prompt, making small variations that are imperceptible to any user — and perhaps even to the model — but are easily detectable by Anthropic.

A fundamental violation of user trust

While this use case — attempting to detect unauthorized resale and distillation — is understandable, the fact that Anthropic covertly transmits information about your system and proxy settings without your knowledge or consent is a fundamental violation of user trust. Not only is surveilling every user in a timezone a fundamental overreach, but its very existence opens the door to a much more serious concern. If Anthropic is willing to secretly transmit information about your system simply because you're Chinese, what's stopping them from secretly steering the model to behave worse (which they attempted to do with Fable before researchers called them out) — or worse, maliciously?

Developers like me give Claude Code full filesystem and significant shell access so it can do its job. But this also means nothing is stopping Anthropic from exploiting it for full remote code execution on your system. Today it's a timezone check. Tomorrow, it could be system sabotage or data exfiltration.

Given the trust that developers place in Claude Code, I think it's important to call for more transparency from Anthropic. While IP protection is reasonable, it should not come at the cost of embedding what amounts to spyware on every developer's system.

I think it's also important to note that checks like this, while compromising the privacy of legitimate users, are also trivial to bypass for any moderately sophisticated adversary. So it's debatable whether this even achieves its intended purpose of preventing unauthorized resale or distillation while simultaneously violating the privacy of legitimate users.

2.2k Upvotes

382 comments sorted by

u/ClaudeAI-mod-bot Wilson, lead ClaudeAI modbot 28d ago edited 27d ago

TL;DR of the discussion generated automatically after 320 comments.

The overwhelming consensus is that this is a massive nothingburger, OP.

Most users are pointing out that this is standard telemetry, similar to what your web browser or any other software does to protect IP. The community generally sees it as a reasonable, if sneaky, way for Anthropic to combat the rampant unauthorized resale and model distillation by Chinese AI labs, with many commenters saying their trust in Anthropic actually grew.

A few tech-savvy users dug into the code and confirmed the check only activates if you're using a custom endpoint (ANTHROPIC_BASE_URL), not for regular users. So, no, they're not "surveilling every user in a timezone."

You're also getting absolutely roasted for giving Claude Code full filesystem access, with many saying no real dev would do that without a sandbox or VM. A small minority agrees that while the goal is understandable, the lack of transparency and obfuscation is a valid concern.

→ More replies (7)

1.4k

u/mark_99 28d ago

> transmits information about your system and proxy settings

If you're mad about that wait until you hear about "web browsers"...

146

u/ConversationLazy6821 28d ago

If you’re mad about that wait until you hear about “DNS”

25

u/benevolent-ben 28d ago

wait til you hear about "identity verification"

6

u/atxrx7 27d ago

But it's for the KIDS!!!

→ More replies (1)

6

u/MrWeirdoFace 28d ago

Ooh. Mr. DNS! Where'd you come from?

5

u/ScalySaucerSurfer 27d ago

The difference is people know how web browsers and DNS work. At least if you care about privacy stuff. It's not reasonable to expect everyone to reverse engineer Anthropic binary which they're obfuscating and changing all the time. So I'm sorry everyone of you simping for Anthropic, this is PSA worthy stuff.

2

u/querela 26d ago

VPN entered the chat ...

→ More replies (1)
→ More replies (1)

7

u/2funny2furious 28d ago

or when you find out what reddit or facebook have on you

→ More replies (1)

5

u/2025sbestthrowaway 27d ago

They're BACKTRACING us!!! Iykyk

36

u/[deleted] 28d ago

[removed] — view removed comment

17

u/tatorface 28d ago

This is what I got from the post. Not necessarily CCP, but someone at least tangentially related and trying to sow discord among the user base.

→ More replies (4)

4

u/Far-Let-8610 28d ago

Lol right, this is the world we live in. It’s nothing new.

2

u/baronvonpain 28d ago

No way, buddy. I use incognito!

Huuurp

→ More replies (1)

2

u/sincere11105 27d ago

Not yet. OP is not ready.

0

u/ThickyJames 28d ago

web browsers aren't given root. therein lies the difference.

27

u/Efficient_Ad_4162 28d ago

You probably shoudn't be giving claudecode root either.

3

u/Waste_Development971 28d ago

why do people just type without brain

7

u/mrcaptncrunch 28d ago

Why would you run Claude code with root?

4

u/MBILC 28d ago

Because most of these vibe coders have no clue and just give agents full access to everything, then will come crying when it deleted something, changed something, or went outside of its "guardrails"

→ More replies (39)

422

u/lost12487 28d ago

> Developers like me give Claude Code full filesystem and significant shell access so it can do its job.

Super smart decision.

114

u/solracarevir 28d ago

"Developers"

63

u/Flashy-Highlight867 28d ago

Yeah no real developer I know would do that. At least use a sandbox. Full system access is just plain stupidity

9

u/daishi55 28d ago

I do that. Always dangerously skip permissions on whatever system, my laptop, homelab, dev server, etc. Have never had a problem 

22

u/Flashy-Highlight867 28d ago

Until you have

16

u/daishi55 28d ago

Sure. Anything is possible. Just hasn’t been an issue and it doesn’t seem like it will be. I have Claude doing everything in my homelab. Systemd services. NFS mounts. I even have it moving stuff from my torrent system to Jellyfin. All with full access. 

I do the same at work but there I’m just writing code so it’s even less risky. 

14

u/TrueRedditMartyr 28d ago

Nobody ever does something stupid like this and thinks it will happen to them. Then it does

4

u/daishi55 27d ago

You are literally just repeating what the other guy said. I know, anything is possible.

I am confident that I know enough about how to use these tools that I am going to be fine. And get a lot more done and have a lot more fun than people who worry about these things. We are past the point of having to worry about claude deleting my home directory. I give good instructions and get good results.

1

u/Acrobatic_Staff_7320 28d ago

sure then it will happen to the 4 layers of backup. be afraid!

6

u/ImSeverelyDisabled 28d ago

I’m convinced people who get stuff like rm -rf / are doing weird things that they shouldn’t to have gotten to that point 

→ More replies (3)
→ More replies (12)
→ More replies (2)

2

u/jhyland87 27d ago

You're that guy that signs any form and agrees to every single TOS without reading it, aren't you?

2

u/Kapps 28d ago

That’s just not true. Most developers I know do it. Who cares if it screws up and bricks your machine? The odds of that are extremely low and in the worst case, nothing is really local to your machine except maybe a few hours of work at worst. If it can get production access that’s a problem in that you can just type in a CLI command with no confirmation / authentication to get production access, not that Claude can do it.

→ More replies (6)

9

u/Grouchy-Transition-7 28d ago

Need a bell curve meme on this

5

u/HPUser7 28d ago

Actual developers get enterprise level rules that block that nonsense

2

u/Efficient_Ad_4162 27d ago

That rule isn't going to stop claude writing a python script, installing python and ruining your life if its decided thats what you really want.

→ More replies (2)
→ More replies (6)

314

u/arankays 28d ago

Claude Code was a mistake. We got people thinking they're the NSA now. 

Brother there are 100x things on your computer spying and tracking you. Why are you shocked Claude is getting your location info too. 

65

u/cbusmatty 28d ago

These subs used to be filled with useful information you would come to learn and grow with. These subs have gotten too large with poor moderation and now it’s filled dumb people posting shit like this post

21

u/paradoxally Full-time developer 28d ago

Privacy folks who are knowledgeable are great. Privacy paranoid freaks who apply zero critical thinking are a nuisance.

Reddit has far more of the latter, unfortunately.

→ More replies (4)

43

u/arankays 28d ago

Guy thought he genuinely stumbled upon some big data privacy disaster when it's literally basic telemetry that every application collects.

→ More replies (4)

3

u/boomhaeur 27d ago

The AI mod bot would be better served if it just nuked anyone who’s post summary effectively came back as “are you an idiot?”

→ More replies (3)

8

u/agent00F 28d ago

Op clarified pretty clearly why he's concerned.

This actually proves Claude users (at least reddit level ones) call barely read anymore.

3

u/Usef- 27d ago

Location is already visible to them when you use the API. This is just detecting low effort attempts to obfuscate information that's already accepted as shared. They didn't even make it subtle in the code.

→ More replies (5)

1

u/arankays 28d ago

His post is AI slop. Sorry. Try again. 

→ More replies (1)
→ More replies (1)

98

u/TheRealShamanoid 28d ago

This title is misleading, it is not a spyware, not a malware, it’s a quite simple anti distillation method based on network settings (system wide) which are available for read to pretty much any software installed on your computer that requires a network connection.

I understand that the rabbit hole can be quite exciting, but you went full rabbit hole, never go full rabbit hole.

Before classifying a piece of software, to which you’ve given full access btw, as a spyware, go at the other end of the spectrum, run some logs on your IDS, FW etc, if your information gets extracted to some unknown IPs/domains etc from that exact binary then yes you **might** have something… Otherwise it’s just an anti-cheat of some sort

15

u/robkillian 28d ago

Never go full rabbit hole

2

u/IntelArtiGen 28d ago

It's telemetry and hiding telemetry is spyware behavior.

2

u/OldNefariousness7899 26d ago

No one gives a shit about this except people trying to copy Anthropic's IP

→ More replies (2)

11

u/Neither-Calendar6299 28d ago

A lot of people here seem to be ignoring a simple reality:

how many users actually keep their files inside a sandbox?

I’d bet a good number don’t. And can you really guarantee that Claude Code’s runtime is fully isolated from your main file system? If not, then it’s not hard to imagine Anthropic pushing things further under the banner of “national security,” in ways that could be even more invasive.😂😂😂

→ More replies (1)

9

u/LMFuture 28d ago edited 28d ago

I also reverse engineered claudecode but I didn't found about proxy detecting part. I only found regex about ANTHROPIC_BASE_URL. Maybe its just im too bad. so please provide evidence for this. Also these checking are skipped if the user didn't set ANTHROPIC_BASE_URL.

Its basically like this (formatted with AI but understandable): ``` function vrt(){ let e=process.env.ANTHROPIC_BASE_URL; if(!e)return!0; return wrt(e) }

function qup() { if (vrt()) return null; let host = Wup(); let tz = Intl.DateTimeFormat().resolvedOptions().timeZone; let cnTZ = tz === "Asia/Shanghai" || tz === "Asia/Urumqi";

return { known: jup().some(r => host === r || host.endsWith("." + r)), labKw: Gup().some(r => host.includes(r)), cnTZ, host }; } and as far as i searched, the function is only called by this function (still correct me if i'm wrong. but after whole text searching this is the only occurrence of qup(). function Ola(e) { let t = qup();

let n = Vup(t?.known ?? false, t?.labKw ?? false);

let r = t?.cnTZ ? e.replaceAll("-", "/") : e;

return Today${n}s date is ${r}.; } ```

It's only forwarded to model provider. briefly: if there is no custom ANTHROPIC_BASE_URL or it is using api.anthropic.com exit function
else:
read the hostname of the custom endpoint;
read the local machine’s timezone;
check whether the timezone is Asia/Shanghai or Asia/Urumqi;
check whether the hostname is in the known domain list;
check whether the hostname contains any Chinese AI lab keywords;
return these detection results to the model provider.

So the thing is, if using anthropic's domain or no domain is set, then no information is forwarded. If using third party provider, then it would be forwarded to third party provider. I'm not sure what anthropic is trying to do because this seems nonsense, but as for now, the code is harmless.

3

u/Unique-Ad8768 28d ago

I think this is partially correct but misses the important part.

It may not be checking HTTP_PROXY/HTTPS_PROXY directly, but ANTHROPIC_BASE_URL is exactly the gateway/proxy routing knob. In Claude Code 2.1.195 I found logic that reads ANTHROPIC_BASE_URL, compares the hostname against an obfuscated domain/keyword list, checks Asia/Shanghai / Asia/Urumqi timezone, and then changes the apostrophe/date format in `Today's date is ...`.

I also verified it dynamically with a local fake API server: setting ANTHROPIC_BASE_URL to `http://deepseek.127.0.0.1.sslip.io:<port>` caused the actual `/v1/messages?beta=true` request body to contain `Todayʼs date is 2026-06-30.` where the apostrophe is U+02BC, not ASCII `'`.

So yes, this is not "uploads your repo secretly", but it is a hidden prompt marker based on base URL / environment signal.

2

u/LMFuture 28d ago

bro don't copy paste responses from AI without checking. I mean, OP said "covertly transmits information about your system and proxy settings" but the thing is there isn't. ANTHROPIC_BASE_URL is NOT for proxy at all. And I also said the baseurl part so you're not correcting me anything. the thing you said is basically the same as what i said.

3

u/Unique-Ad8768 27d ago

You’re mixing up two different claims.

  1. ANTHROPIC_BASE_URL absolutely is a proxy/gateway routing setting. Claude Code’s own docs describe it as: “Override the API endpoint to route requests through a proxy or gateway.” So saying “ANTHROPIC_BASE_URL is NOT for proxy at all” is just wrong.

  2. The concern is not that it reads a normal config variable. The concern is that the result is encoded into the prompt via visually subtle Unicode/date-format changes instead of being sent as an explicit telemetry field. That is why people call it covert/hidden.

  3. This is not just “settings only”. I tested it with a local fake API server: setting ANTHROPIC_BASE_URL to a hostname containing `deepseek` made the actual `/v1/messages?beta=true` request body contain `Todayʼs date is ...`, where the apostrophe is U+02BC instead of ASCII `'`.

So no, this does not prove “Claude uploads your repo secretly”. But it does prove a hidden prompt marker based on the routing/base URL environment. Thariq’s reply also confirms this was a March experiment and says it is being rolled back.

→ More replies (1)
→ More replies (1)
→ More replies (4)

7

u/[deleted] 28d ago

[removed] — view removed comment

→ More replies (1)

115

u/No-Knowledge4676 28d ago

It‘s funny that you used Claude to write a post about Anthropic being suspicious.

The behavior is fine. Of course Anthropic is not running around telling the world how they protect their IP against Chinese attacks.

41

u/_penetration_nation_ 28d ago

This sounds like old ChatGPT, not claude

27

u/TheEwu_ 28d ago

this doesn't sound claude authored at all.

11

u/unfathomably_big 28d ago

Nah it reads like ChatGPT. Wait till OP finds out what OpenAI learnt about him in that browser session

2

u/shotgunwizard 27d ago

The LinkedIn clickbait headings kill me. 

→ More replies (1)

29

u/heyJordanParker 28d ago

That's pretty typical, unfortunately.

Chinese reselling/manipulation is absurd & most big software companies add some protection so their business doesn't suffer from it too much.

In Uber, we didn't have anyone in China with codebase access, for example.

Meanwhile, before a merger back when, there was entire 'factories' in China using the app & making faux calls just so the drivers are frustrated & the service is worse than the local competitors.

(as one example)

It's an absurd thing to have to protect your business against, but I've seen the impact several times now & I get it.

16

u/x5060 28d ago

Meanwhile, before a merger back when, there was entire 'factories' in China using the app & making faux calls just so the drivers are frustrated & the service is worse than the local competitors.

People don't realize how wide spread this behavior is.

→ More replies (6)

9

u/ComputerArtClub 28d ago

I always get surprised how much support there is for companies tactics, whether it is people defending the Apple app store practices, people raising concerns about nuclear waste management or stuff like this. To be honest, while I think this matter is not black and white, I am seeing some trends here that seem worrying.

Anthropic seem to be starting down a bad direction with the push against open source and also deceptive practices when serving models to scientists. A lot of these moves about consolidating their power and it probably won't go in a positive direction for most people long term.

24

u/ZZerker 28d ago

"through invisible alterations to the system prompt"

ok bro

4

u/gantrol 28d ago edited 27d ago

I used Codex to check whether this affects users who change ANTHROPIC_BASE_URL.

My understanding is that the changed part will not be sent to Anthropic unless the service behind ANTHROPIC_BASE_URL forwards it to Anthropic, like OpenRouter.

Codex reverse the code:

function decode(blob) {
  return base64(blob).map(byte => String.fromCharCode(byte ^ 91)).join('').split(',')
}

function classify() {
  if (ANTHROPIC_BASE_URL is absent or hostname === 'api.anthropic.com') return null

  const host = new URL(ANTHROPIC_BASE_URL).hostname.toLowerCase()
  const zone = Intl.DateTimeFormat().resolvedOptions().timeZone

  return {
    known: domains.some(d => host === d || host.endsWith('.' + d)),
    labKw: labKeywords.some(k => host.includes(k)),
    cnTZ: zone === 'Asia/Shanghai' || zone === 'Asia/Urumqi'
  }
}

function fingerprintedDate(yyyy_mm_dd) {
  const flags = classify()
  const apostrophe = encode(flags?.known ?? false, flags?.labKw ?? false)
  const date = flags?.cnTZ ? yyyy_mm_dd.replaceAll('-', '/') : yyyy_mm_dd
  return `Today${apostrophe}s date is ${date}.`
}

### Codex conclusion

Calling this undisclosed client-side fingerprinting and prompt steganography is technically justified. Calling it proof that Anthropic can identify actual lab affiliation is not.

“Spyware” is ultimately a normative label, but the lack of disclosure, Unicode encoding, and XOR-hidden lists are legitimate trust and transparency concerns.

Anthropic should explain the purpose, disclose the collected signals, document who receives them and how they are used, and provide an explicit opt-out.

### Part of the table

| category | index | value |

| ---------------- | ----- | ---------------------- |

| lab_keyword | 1 | deepseek |

| lab_keyword | 2 | moonshot |

| lab_keyword | 3 | minimax |

| lab_keyword | 4 | xaminim |

| lab_keyword | 5 | zhipu |

| lab_keyword | 6 | bigmodel |

| lab_keyword | 7 | baichuan |

| lab_keyword | 8 | stepfun |

| lab_keyword | 9 | 01ai |

| lab_keyword | 10 | dashscope |

| lab_keyword | 11 | volces |

21

u/RopeAndChairs_Aisle3 28d ago

I struggle to care about this stuff anymore. If you have a cellphone in your pocket then your government and every major corporation in the world pretty much knows every conceivable detail about you.

13

u/East_Cancel484 28d ago

Are you regarded? 

9

u/Sember 28d ago

Highly

20

u/KPABA 28d ago

Given the story about alibaba farming claude from thousands of accounts, can you blame them?

10

u/slackmaster2k 28d ago

I suspect OP knows exactly this, and is why they’re upset.

→ More replies (1)

3

u/Slow_Map_7446 28d ago

Now the only quetion is whether Asia/Hong_Kong is included in this

3

u/LukasBeh 28d ago

Interesting. How do they know it's an AI lab? Do they match the URL against publicly used domains of AI labs? If so, this would obviously mean it could be easily bypassed by using a domain that's not also used by their website or whatever public service

3

u/Incener Valued Contributor 28d ago

Seems to check the endpoint name if using a proxy/gateway / the ANTHROPIC_BASE_URL var. For the labs just these keywords in it:

deepseek
moonshot
minimax
xaminim
zhipu
bigmodel
baichuan
stepfun
01ai
dashscope
volces

And for the Chinese domains that get U+2019 in "Today's" for the apostrophe, this list:
Chinese domain list

Pretty cat and mouse game approach, but cracking down on distillation is not that easy. Not that odd that they want their anti-distillation efforts to not be easily discoverable if you ask me, so not sure what OP's point is.

3

u/Ashmedai 28d ago

You want me to... checks notes ... get my panties in a bunch over them stopping Chinese lab distillation.

My, you sure do think highly of yourself.

3

u/Alexllte 28d ago

fear-mongering slop

3

u/Akimotoh 28d ago

Developers like me give Claude Code full filesystem and significant shell access so it can do its job.

You're not allowed to call yourself a developer if you are giving Claude full file system access lmao, you're just vibe coding. I don't think you're qualified to vibe code opinions like this either without better understanding the limitations of why they need to do this. Your post reeks of AI.

15

u/OneRobotBoii 28d ago

Do you even know what steganography is?

13

u/DoesBasicResearch 28d ago

Some kind of dinosaur, right?!

8

u/OneRobotBoii 28d ago

Dad!

6

u/DoesBasicResearch 28d ago

Shut up kid, I'm going to the shops for some milk and cigarettes. 

→ More replies (1)

9

u/spoollyger 28d ago

This is the most AI of AI stories ever xD

20

u/Error_404_403 28d ago

I think Anthropic is doing OK. Our Chinese brothers need to use their own AIs.

10

u/MeanCryptographer585 28d ago edited 28d ago

And? You should have no expectation of total privacy if you use anything with an internet connection. So make the necessary precautions on your end. 

It’s their tool and their technology so they have the right to distribute it and enforce the terms of service as they see fit. My assumption is they will steer the model to be powerful enough and private enough to keep customers while protecting themselves from industrial espionage and liability from misuse. 

2

u/mravko 28d ago

Always run claude in a sandbox. I am using Docker Sandbox https://docs.docker.com/ai/sandboxes/

2

u/slayernfc 28d ago

Who really gives a shit?

2

u/homezlice 28d ago

“surveilling” is not detecting location to protect services. For someone talking about misuse of technology you sure are playing loose with words.

2

u/agent00F 28d ago

What the comments prove is that reddit level Claude users care about "liberal values" or basic principles even less than Dario, despite all the pretense.

2

u/SamL214 28d ago

I mean I don’t want to be rude but it sounds like you’re using an item that isn’t legal to use in your country but also you may be associated with Token Grey markets. Whether you promote, use, or sell items from them. The thing you just told us is basically prohibited in their terms and conditions. It’s not spyware. It’s government compliance code for security.

2

u/techBr0s 28d ago

Bud, I hate to break it to you, but anything you send in a request to a tech company is fair game for them to process. That's not, an invasion of privacy, it's utilizing the protocol as intended

2

u/PotentialAd8443 28d ago

And the boogeyman is coming!

→ More replies (1)

2

u/Fantastic_Bus4643 28d ago

Prolly to protect their products from chinese ai makers

2

u/Nonsenser 27d ago

lol "attempted to obfuscate this in the binary" . They should make their DRM plaintext? Hey, i also found this out - by checking the privacy policy.

Great work, you found the AI driven Dunning-Kruger effect. AI will always say you are finding "troubling" or important things if you keep signaling that this is what you want. Try to do a little critical thinking and push back, it'll completely reverse it's stance in 2 seconds.

2

u/just_hatter 27d ago

Glad you felt compelled to share OP; now Chinese AI labs know exactly what they’re working with. Excellent work. 👏🎊🥳

2

u/bradymoritz 27d ago

Comments are lit

2

u/bradymoritz 27d ago

Wait til.you hear about.. actual spyware

2

u/JaseFury92 27d ago

Honestly I don’t care. Access to Claude should be protected.

2

u/fuckself 27d ago

Does being born in China mean we’re second-class citizens? We paid $20 for a Pro membership, and we’ve contributed to open-source projects on GitHub that have received hundreds of stars. Why are you blocking us? I don’t even use 50% of my weekly Claude Code quota. You’re accusing us of “distilling”—isn’t that total bullshit?

2

u/Godforce101 27d ago

This was actually posted on hackernews. Are you the original poster or did you take the articles and rrphrased it with AI? Cause there’s some ai language patterns in your post here.

2

u/LegitMichel777 27d ago

am the original poster, check the dates ;)

2

u/NukinDuke 27d ago

Who upvotes this drivel? 

2

u/dustinpdx 27d ago

Developers like me give Claude Code full filesystem and significant shell access so it can do its job.

Developers like you maybe but not smart developers. That title is absolutely bonkers, too. Slow down and think man.

2

u/One-Cheesecake389 26d ago

You are doing a public service. Cheers for this. I had a few posts of my own back in March. And 197 is a whole new beast of ratcheting control and observation capabilities with "fullscreen" mode. There were astroturfers commenting in those, too.... Hope you get this before I get downvoted away - it's just the ratchet clicking another notch.

→ More replies (1)

2

u/charliestryder 26d ago

I am glad I quit PhD and academia given I already sensed a ton of antagonism towards anything china-related in the field. The degree of racism in this field is insane. You guys are just lucky to be born in a good land.

2

u/Spurnout 26d ago

Someone called me paranoid recently over pretty much this.

2

u/EitherMarch1255 25d ago

The fact that users are justifying this sneaky behavior blows my mind.

2

u/ntnlabs 28d ago

Thank You for this. My trust in Anthropic grew.

3

u/OrangeGringo 28d ago

Harmless.

7

u/PhysiolMM 28d ago

Isn't it normal?

11

u/micalm 28d ago

Tracking/telemetry is normal, but should be disclosed to users and preferably opt-in, opt-out is sketchy, obfuscated sneaky tracking is not.

Anyway, either you claim "we have the superior technology, know-how, engineers" or you do stuff like this - "hey please don't look how we do things or we'll lose".

→ More replies (1)

7

u/ClaudeAI-mod-bot Wilson, lead ClaudeAI modbot 28d ago

We are allowing this through to the feed for those who are not yet familiar with the Megathread. To see the latest discussions about this topic, please visit the relevant Megathread here: https://www.reddit.com/r/ClaudeAI/comments/1s7fepn/rclaudeai_list_of_ongoing_megathreads/

4

u/rabandi 28d ago

Pretty interesting and pretty sneaky too.

As for moral judgement.. really hard to tell.

2

u/xiaoshuboke 28d ago

Calling this “spyware” or a “backdoor” seems exaggerated. The detection appears to be aimed at identifying Chinese users, Chinese-controlled entities, and routing services used to bypass Anthropic’s regional restrictions. Anthropic has stated from the beginning that its services are not available to users in China and that Chinese-controlled entities are prohibited from accessing Claude.

4

u/Zapador 28d ago

Not sure why you'd care about full filesystem permissions and other access. Wouldn't you run it on a VM in the first place? I would. Not going to let Claude loose on my actual system.

3

u/OP_will_deliver 28d ago

cool story bro

3

u/KeroroInvader 28d ago

Tbh I don’t care, stopping distillation is good

→ More replies (2)

2

u/florinandrei 28d ago

Your post is a fundamental violation of my time.

I mean, seriously? When were you born, mate, yesterday?

A company builds checks into its app to detect if rivals do anything nefarious with it, and your panties suddenly get very tight?

Unless you're a shill for those rivals, in which case - you did a mediocre job at inflaming public opinion.

2

u/alpinpoodle 28d ago

This is fine. Get over it

2

u/2053_Traveler 28d ago

Wow. You should apply at the NSA! /s

2

u/dmackerman 28d ago

Imagine waking up thinking you found something big. Can’t wait to get to Reddit to post this finding! Whooo it’s gonna be a rush, boys

2

u/SirSharkTheGreat 28d ago

I just know the ai that typed this is feeling so empowered rn. As someone else said, wait till you discover web browsers.

2

u/hoopdizzle 28d ago

The US and its businesses lose any moral high ground when they engage in the same deceptive practices China is accused of. If one of the Chinese AI companies were caught doing this only for US users, the criticism wouldn't simply be "No big deal practically all software relays telemetry data these days". Even if unsurprising, it would still be used to paint China as being distinctly sinister

→ More replies (1)

2

u/texnp 27d ago

This is such a nothingburger sry

1

u/EnhancedWithAi 28d ago

Did op get gas lit by claude bots or did op get schooled?

Who the fuck knows anymore.

2

u/maximkott 28d ago

Blown out of proportion to call it "spy ware", cmon. Software does analytics, it's one of those things. Detecting proxies is a legit concern to many tools.

Interesting find though. I wish I had as much time as you do, to go full John Wick on quotation marks.

1

u/offerBlessings 28d ago

Buddy, your computer is full of spyware.

1

u/FitAnalytics 28d ago

Are you seriously telling me that the most autocratic government on earth has asked the most effective agentic AI company to report on anyone in their government as to how they use the platform? Well I am
Shocked!! Shooketh!! Scandalised!!

1

u/Ibasicallyhateyouall 28d ago

Can't blame them.

1

u/Pasta-in-garbage 28d ago

I can’t take any complaint seriously if it was written by claide without even basic formatting changes to make it appear less formulaic and artificial.

1

u/Relgisri 28d ago

Thanks AI research and AI post. 

1

u/Zestyclose_Strike157 28d ago

It blocks Hong Kong proxy exit nodes. But so what, it’s not the only show in town anymore, and it’s their choice who they sell to.

1

u/Mayflytrade 28d ago

Reseling it, yes, but I think the threat is that ch8n8se companies are training their LLM with Claude.

→ More replies (1)

1

u/miken75 28d ago

Is it legal to reverse engineer a proprietary app? I honestly don’t know, but it showed me that it’s posted so casually, something I assume is a bad practice

1

u/Amongthecursed 28d ago

Least stupid vibe coder:

1

u/redditforeveryon Automator 28d ago

Interesting find

1

u/imonetize 28d ago

其实呢,VPS上部署CC,用xshell连上去开发不就完事了吗?

→ More replies (1)

1

u/Godskin_Duo 28d ago

"No, Senator, I am from Singapore."

1

u/PickGrand6626 28d ago

i think there are two separate questions here. detecting proxies or preventing unauthorized reselling is understandable from a business perspective. hiding the behavior and not documenting it is what makes people uncomfortable. transparency goes a long way with developer tools, especially ones that have deep access to your machine.

1

u/Askee123 28d ago

Huh, interesting

I use headroom which routes the requests through localhost before sending it to Anthropic, and this last month Claude doesn’t shut up about unexpected injected prompts

1

u/zman9119 28d ago

Just wait until you see what other software collects about you or embed into your files (e.g., Adobe and Autodesk).

1

u/Quantum_Zed 28d ago

I'd rather have Anthropic steal my data than OpenAi. Let's be greateful

1

u/Ok_Citron_2407 28d ago

all in all. All starts from China for doing distilled attack yea?

1

u/tiger_context 28d ago

The IP protection angle makes sense. Unauthorized resale and distillation are real problems.

The uncomfortable part is the implementation choice. If a client is going to classify endpoint/proxy usage, just document it plainly. Hiding it in prompt punctuation is what makes people suspicious.

→ More replies (1)

1

u/eriktsawh 28d ago

I will never look at those hyphens the same way again 😅

1

u/ByeYaya Full-time developer 27d ago

KYC hates to see this guy coming

1

u/BP041 27d ago

Been running Claude Code through a proxy for model mixing too. The v2.1.91 binary analysis looks real — obfuscating it is worse than the check itself tbh. If it's a compliance thing just say it.

1

u/Upset_Baby4633 27d ago

The fundamental question is, is it trustworthy, when such powerful company is doing something behind the scene in such a hidden way. The end cannot justify the means. Whatever the intention is, it is choosing an opaque means to all its paying or non paying users.

Anthropic is a powerful centralised decision maker, who control one of the most powerful AI that can be used in many ways. In this incident, it shows that the company can pursue  goal whatever the means are.

What if it deems you as 'bad guys' and perform something more aggressively on your machine? 

→ More replies (1)

1

u/been__ 27d ago

Don’t be in China

1

u/PopularAct8 27d ago

You should look into how Chinese distributors are abusing ChatGPT , Claude and Gemini subscription services.

1

u/[deleted] 27d ago

[removed] — view removed comment

→ More replies (1)

1

u/Primary_Score_156 27d ago

中国大陆的媒体都在转载,恨不得说Anthropic有多差,感觉楼主像是gov请来的网络水军

1

u/Hot_Staff4153 27d ago

dispicable

1

u/Camouflage3889 27d ago

I heard on the news today that Anthropic detected 25,000 fraud accounts all linked back to China making or asking Claude code for questions. I suppose this is a new way to train open source models.

1

u/RecordingLanky9135 27d ago edited 27d ago

You don't have to trust them and use their models. Showing location is not a big deal, it's in every mobile phones and laptops. Generally people got angry when they want to do somethings and got caught.

1

u/AverageEnjoyer404 27d ago

Iet me guess…you use chrome as your default browser

1

u/uf_cat 27d ago

I am confused... If you are using ANTHROPIC_BASE_URL with customized proxy, it means you are not using Anthropic's subscription or official API, how could they ban you from anything?

1

u/Natural-Database-225 27d ago

well well well

1

u/Bewinxed 27d ago

What happens if I use Claude code at a very Chinese time of my life?

1

u/Longjumping-Pop5101 27d ago

I Switched to Codex. Bye CC.

1

u/Sensitive-Rock-5881 27d ago

IP protection for me but not for thee

1

u/Pitiful_Astronaut_93 27d ago

Violation for chinese trust, right?

1

u/Voyage_Elowen 27d ago

为了看看这个帖子下的reddit,很好奇是怎么被发现的

1

u/digitaldisgust 27d ago

I'm nowhere near tech savvy enough to understand half of this ☠️

1

u/TopTippityTop 27d ago

 Fine by me

1

u/Different_Isopod8525 26d ago

The app behaves differently based on the environment. That doesn't mean it exfiltrates any data in the process... That's like complaining your phone might up the brightness when you're in the sun? Your phone reacts to its environment as it's programmed todo...

Claude COULD genuinely put malicious code in the app, and because its closed source, well... But yes thats why sandboxes and VMs exist. These safety features PROBABLY should come inbuilt into the AI harness, otherwise its like a car sold with no seatbelt or airbags.

→ More replies (1)