Live data from Hacker News

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

twitter.com

241–250 of 1001 posts

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

#241
post #224
post #214

Earlier quoted context omitted.

I'm glad "reticulating" is in there. Just need to make sure "splines" is in the nouns list!

Relieved to know I'm not the only one who grepped for that. Thank you for making me feel sane, friend.

Def not alone

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

#242
post #134

Earlier quoted context omitted.

You'll never win this battle, so why waste feelings and energy on it? That's where the internet is headed. There's no magical human verification technology coming to save us.

>There's no magical human verification technology coming to save us. Except for the one Sam Altman is building.

That one is magical for sure

https://en.wikipedia.org/wiki/Magic_(illusion)

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

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

because impact of WTF might be lost in the result of the analysis if you solely rely on LLM.

parsing WTF with regex also signifies the impact and reduces the noise in metrics

"determinism > non-determinism" when you are analysing the sentiment, why not make some things more deterministic.

Cool thing about this solution, is that you can evaluate LLM sentiment accuracy against regex based approach and analyse discrepancies

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

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

I guess using French words is safe for now.

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

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

There is no „stupid” I often write „(this is stupid|are you stupid) fix this”.

And Claude was having in chain of though „user is frustrated” and I wrote to it I am not frustrated just testing prompt optimization where acting like one is frustrated should yield better results.

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

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

Using regex with LLMs isn't uncommon at all.

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

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

If this true. My old personal agent Claude Code setup I open sourced last month will finally be obsolete (1 month lol):

https://clappie.ai

- Telegram Integration => CC Dispatch

- Crons => CC Tasks

- Animated ASCII Dog => CC Buddy

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

#250

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

> Write commit messages as a human developer would — describe only what the code change does. The undercover mode prompt was generated using AI.

All these companies use AIs for writing these prompts.

But AI aren't actually very good at writing prompts imo. Like they are superficially good in that they seem to produce lots of vaguely accurate and specific text. And you would hope the specificity would mean it's good.

But they sort of don't capture intent very well. Nor do they seem to understand the failure modes of AI. The "-- describe only what the code change does" is a good example. This is specifc but it also distinctly seems like someone who doesn't actually understand what makes AI writing obvious.

If you compare that vs human written prose about what makes AI writing feel AI you would see the difference. https://en.wikipedia.org/wiki/Wikipedia:Signs_of_AI_writing

The above actually feels like text from someone who has read and understands what makes AI writing AI.

Post reply on HN