Live data from Hacker News

Claude Code's source code has been leaked via a map file in their NPM registry

twitter.com

281–290 of 1001 posts

Re: Claude Code's source code has been leaked via a map file in their NPM registry

#283
post #177

Undercover mode also pretends to be human, which I'm less ok with: https://github.com/chatgptprojects/claude-code/blob/642c7f94...

This is my pet peeve with LLMs, they almost always fails to write like a normal human would. Mentioning logs, or other meta-things which is not at all interesting.

I had a problem to fix and one not only mentioned these "logs", but went on about things like "config", "tests", and a bunch of other unimportant nonsense words. It even went on to point me towards the "manual". Totally robotic monstrosity.

Re: Claude Code's source code has been leaked via a map file in their NPM registry

#284
post #7

The big loss for Anthropic here is how it reveals their product roadmap via feature flags. A big one is their unreleased "assistant mode" with code name kairos. Just point your agent at this codebase and ask it to find things and you'll find a whole treasure trove of info. Edit: some other interesting unreleased/hidden features - The Buddy System: Tamagotchi-style companion creature system with ASCII art sprites - Un…

all these flags are findable by pointing claude at the binary and asking it to find festure flags.

Re: Claude Code's source code has been leaked via a map file in their NPM registry

#285

Earlier quoted context omitted.

To me, this is a sign of just how much regular people do not want AI. This is worse than crypto and metaverse before it. Crypto, people could ignore and the dumb ape pictures helped you figure out who to avoid. Metaverse, some folks even still enjoyed VR and AR without the digital real estate bullshit. And neither got shoved down your throat in everyday, mundane things like writing a paper in Word or trying to deal w…

No there is a very loud minority of users who are very anti AI that hate on anything that is even remotely connected to AI and let everyone know with false claims. See the game Expedition 33 for example.

Especially true in gaming communities.

IMO it's a combination of long-running paranoia about cost-cutting and quality, and a sort of performative allegiance to artists working in the industry.

Re: Claude Code's source code has been leaked via a map file in their NPM registry

#286

Earlier quoted context omitted.

To me, this is a sign of just how much regular people do not want AI. This is worse than crypto and metaverse before it. Crypto, people could ignore and the dumb ape pictures helped you figure out who to avoid. Metaverse, some folks even still enjoyed VR and AR without the digital real estate bullshit. And neither got shoved down your throat in everyday, mundane things like writing a paper in Word or trying to deal w…

It's how people resisted CGI back in the day. What people dislike is low quality. There is a loud subset who are really against it on principle like we also have people who insist on analog music but regular people are much more practical but they don't post about this all day on the internet.

I think literally everyone could agree CGI has been detrimental to the quality of films.

Re: Claude Code's source code has been leaked via a map file in their NPM registry

#287
post #7

The big loss for Anthropic here is how it reveals their product roadmap via feature flags. A big one is their unreleased "assistant mode" with code name kairos. Just point your agent at this codebase and ask it to find things and you'll find a whole treasure trove of info. Edit: some other interesting unreleased/hidden features - The Buddy System: Tamagotchi-style companion creature system with ASCII art sprites - Un…

People already can look at the source without this leak. People have had hacked builds force enabling feature flags for a long time.

Re: Claude Code's source code has been leaked via a map file in their NPM registry

#288
post #210

Earlier quoted context omitted.

They probably have statistics on it and saw that certain phrases happen over and over so why waste compute on inference.

The problem with regex is multi-language support and how big the regex will bloat if you to support even 10 languages.

Supporting 10 different languages in regex is a drop in the ocean. The regex can be generated programmatically and you can compress regexes easily. We used to have a compressed regex that could match any placename or street name in the UK in a few MB of RAM. It was silly quick.

Re: Claude Code's source code has been leaked via a map file in their NPM registry

#290
post #69

ANTI_DISTILLATION_CC This is Anthropic's anti-distillation defence baked into Claude Code. When enabled, it injects anti_distillation: ['fake_tools'] into every API request, which causes the server to silently slip decoy tool definitions into the model's system prompt. The goal: if someone is scraping Claude Code's API traffic to train a competing model, the poisoned training data makes that distillation attempt less…

Paranoia. And also ironic considering their base LLM is a distillation of the web and books etc etc.
Post reply on HN