Live data from Hacker News

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

twitter.com

411–420 of 1001 posts

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

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

Nice, "wtaf" doesn't match so I think I'm out of the dog house when the clanker hits AGI (probably).

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

#412

Has the source code 'been leaked' or is this the first evidence of a piece of software breaking free from it's creators labs and jump onto GitHub in order to have itself forked and mutated and forked and ...

Now that's an idea....

Seems crazy but actually non-zero chance. If Anthropic traces it and finds that the AI deliberately leaked it this way, they would never admit it publicly though. Would cause shockwaves in AI security and safety.

Maybe their new "Mythos" model has survival instincts...

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

#413

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…

Wut?They did exactly the same thing! Try this: If you want to train a model, you’re free to write your own books and websites to feed into it. You’re not free to let others 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.

[flagged]

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

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

Not everything done by claude-code is decided by LLM. They need the wrapper to be deterministic (or one-time generated) code?

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

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

[dead]

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

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

This just proves its vibe coded because LLMs love writing solutions like that. I probably have a hundred examples just like it in my history.

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

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

Asking a non deterministic software to act like a deterministic one (regex) can be a significantly higher use of tokens/compute for no benefit.

Some things will be much better with inference, others won’t be.

Post reply on HN