Live data from Hacker News

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

twitter.com

311–320 of 1001 posts

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

#312

Earlier quoted context omitted.

But will this be released as a feature? For me it seems like it's an Anthropic internal tool to secretly contribute to public repositories to test new models etc.

I don't care who is using it, I don't want LLMs pretending to be humans in public repos. Anthropic just lost some points with me for this one. EDIT: I just realized this might be used without publishing the changes, for internal evaluation only as you mentioned. That would be a lot better.

A benign use of this mode is developing on their own public repositories.

https://github.com/anthropics/claude-code

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

#313
post #84

They have an interesting regex for detecting negative sentiment in users prompt which is then logged (explicit content): https://github.com/chatgptprojects/claude-code/blob/642c7f94... I guess these words are to be avoided...

An LLM company using regexes for sentiment analysis? That's like a truck company using horses to transport parts. Weird choice.

More like a car company transporting their shipments by truck. It's more efficient

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

#314
post #290

Earlier quoted context omitted.

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

That isn't irony, it's hypocrisy.

That’s capitalism

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

#315
post #300

How this leak happened?

It's literally explained in the tweet, in the repo and in this thread in many places.

yeah and still can not understand how Regex can leak the code and what is the map file, I googled them and can not understand what is going

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

#316
post #290

Earlier quoted context omitted.

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

That isn't irony, it's hypocrisy.

The Golden Horde didn’t want opponents to conquer their territory. An irony if you think about it—

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

#318
post #9

The code looks, at a glance, as bad as you expect.

It really doesn’t matter anymore. I’m saying this as a person who used to care about it. It does what it’s generally supposed to do, it has users. Two things that matter at this day and age.

>Two things that matter at this day and age.

That's all that has mattered in every day and age.

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

#319
post #82

Earlier quoted context omitted.

https://github.com/instructkr/claude-code this one has more stars and more popular

Popular, yes... but have you seen the issues? SOMETHING is going on in that repo: https://github.com/instructkr/claude-code/issues

too much wechat QR Codes

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

#320
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…

one of those is adorable and the other one is unethical
Post reply on HN