Live data from Hacker News

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

twitter.com

551–560 of 1001 posts

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

#551
post #537

Earlier quoted context omitted.

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

Oh it’s worse than that. This one ended up getting my account banned: https://github.com/anthropics/claude-code/issues/22284

Wow, that's horrible.

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

#552
Amusingly, they deprecated it with a message of "Unpublished" instead of actually unpublishing it [1]. When you use npm unpublish it removes the package version from the registry, when you use npm deprecate it leaves it there and simply marks the package as deprecated with your message. I have to imagine the point was to make it harder for people to download the source map, so to deprecate it with this message gives off a bit of claude, unpublish the latest version of this package for me vibe.

[1] - https://www.npmjs.com/package/@anthropic-ai/claude-code/v/2....

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

#553
post #82

Source here https://github.com/chatgptprojects/claude-code/

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

I don't understand how you can have a 'clean-room port.' Seems contradictory to me.

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

#554

Earlier quoted context omitted.

You're perfectly free to scrape the web yourself and train your own model. You're not free to let Anthropic do that work for you, because they don't want you to, because it cost them a lot of time and money and secret sauce presumably filtering it for quality and other stuff. Stole? Courts have ruled it's transformative, and it very obviously is. AI doomerism is exhausting, and I don't even use AI that much, it's jus…

Let's talk ethics, not law. Why is it okay for these companies to pirate books and scrape the entire web and offer synthesized summaries of all of it, lowering traffic and revenue for countless websites and professions of experts, but it is not okay for others to try to do the same to an AI model? Is the work of others less valid than the work of a model?

>Why is it okay for these companies to pirate books

Courts have ruled it's not, and I don't think anyone is arguing it's okay.

>but it is not okay for others to try to do the same to an AI model?

The steelman version is that it's okay to do it once you acquired the data somehow, but that doesn't mean anthropic can't set up roadblocks to frustrate you.

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

#555
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.

Cloud hosted call centers using LLMs is one of my specialties. While I use an LLM for more nuanced sentiment analysis, I definitely use a list of keywords as a first level filter.

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

#556

Finally all spinner verbs revealed: https://github.com/instructkr/claude-code/blob/main/src/cons...

The link now returns 404.

Here's one that works (for now): https://github.com/chatgptprojects/claude-code/blob/642c7f94...

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

#558
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.

LLMs cost money, regular expressions are free. It really isn't so strange.

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

#560

Earlier quoted context omitted.

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

Well, regex doesn't hallucinate....right?

I just went to expertSexChange.com…
Post reply on HN