Live data from Hacker News

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

twitter.com

661–670 of 1001 posts

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

#661
post #584

Earlier quoted context omitted.

the claude code team ethos, as far as i’ve been lead to understand— which i agree with, mind you— is that there is no point in code-reviewing ai-generated code… simply update your spec(s) and regenerate. it is just a completely different way of interacting with the world. but it clearly works for them, so people throwing up their hands should at least take notice of the fact that they are absolutely not competing wit…

>there is no point in code-reviewing ai-generated code the idea that you should just blindly trust code you are responsible for without bothering to review it is ludicrous.

(I mostly agree with you, but) devils advocate: most people already do that with dependencies, so why not move the line even further up?

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

#662

Earlier quoted context omitted.

Yes, if it was made for human comprehension or maintenance. If it's entirely generated / consumed / edited by an LLM, arguably the most important metric is... test coverage, and that's it ?

Oh boy, you couldn't be more wrong. If something, LLM-s need MORE readable code, not less. Do you want to burn all your money in tokens?

I very much doubt Anthropic devs are metered, somehow.

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

#663
post #134

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

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.

IDK. I sort of like the idea that now instead of dead internet theory being a joke, that it’ll be a well known fact that a minority of people are not real and there is no point in engaging… I look forward to Social 3… where people have to meet face to face.

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

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

I like these guys less every day. The rate limits are so low they are close to not even useful as a provider.

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

#665
post #134

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

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.

That's why I stopped brushing my teeth, I can't clean every crevice perfectly so what's the point?

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

#666
post #22

Earlier quoted context omitted.

You'd be playing cat and mouse like yt-dlp, but there's probably more value to this code than just a temporary way to milk claude subscriptions.

If you're using a claude subscription you'd just use claude code. The real value here will be in using other cheap models with the cc harness.

You can already do that though? [1]

[1]: https://docs.ollama.com/integrations/claude-code

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

#667
post #498

Earlier quoted context omitted.

What about trade secrets, breach of contract, etc, etc?

Apparently it's possible to download a whole load of books illegally, but still train AI models on them without those getting pulled after you get found out. The same reasoning may apply here :P

Yeah, but you don't have trillions of dollars of investments riding on your success, so the rules still apply to you.

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

#669
post #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

Dispatch and scheduled tasks have been available for a few weeks already, although with limitations.
Post reply on HN