Live data from Hacker News

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

twitter.com

821–830 of 1001 posts

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

#822
post #438

Earlier quoted context omitted.

Even if it is impossible to win, I am still feeling bad about it. And at this point it is more about how large space will be usable and how much will be bot-controlled wasteland. I prefer spaces important for me to survive.

Feeling bad about something you can’t change is bad for your mental health.

Deciding that you can't change something is the first and last step towards failing to change it.

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

#823
post #94

Earlier quoted context omitted.

I think that you do not need to feel uneasy at all. It is your computer and your memory space that the data is stored and operating in you can do whatever you like to the bits in that space. I would encourage you to continue that experiment.

Well, the thing is, I do not just use my computer, but connect to their computers and I do not like to get banned. I suppose simple UI things like expanding source files won't change a thing, but the more interesting things, editing the context etc. do have that risk, but no idea if they look for it or enforce it. Their side is, if I want to have full control, I need to use the API directly(way more expensive) and wh…

> I do not like to get banned

This is why I do such experiments on ChatGPT and not Claude.

I don't want to get banned by Claude but I couldn't care less if ChatGPT bans me.

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

#824
post #792

Earlier quoted context omitted.

Ah, another you can’t, but they can. I’m still a little humored over peak web3 and the DAO / soft contract nonsense. Like in order to stop fraud entire coins were forked…

Sure you can, if you have a legitimate case you can ask npm to unpublish and they handle things manually :)

I have had to do this, well over a decade ago now, when working at a place that was a pretty big deal in the node world, and node was still pretty new. They helped us.

I would imagine GH would do the same if its a high enough profile issue.

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

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

> You'll never win this battle, so why waste feelings and energy on it? Cool. The attitude of a bully. Thanks for the contribution!

That's an ironic comment.

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

#827
post #438

Earlier quoted context omitted.

Feeling bad about something you can’t change is bad for your mental health.

Deciding that you can't change something is the first and last step towards failing to change it.

Which is not a problem if you choose not to worry about it.

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

#828

Earlier quoted context omitted.

> But I suppose death comes for us all, yes? Why do anything at all? Wrong take. Death comes for us all, yes, so why hold back? Do you want to live forever?

> Do you want to live forever? Yes, of course. Do you prefer to die? Those are the only two alternatives, and a decision that you don't want one is a decision that you prefer the other.

Cringe.

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

#829

Earlier quoted context omitted.

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 chan…

AI is better at writing prompts than most humans. It requires work and lots of developers don’t think getting good at prompting actually matters. At least half of the complaints I see on HN boil down to the person's prompts suck. Or the expectation that AI can read their mind.

As someone who often fails to read subtext, I would estimate that most people expect you to participate in mind reading as a natural part of conversation.

So it is no surprise that many people have difficulty switching gears to literal mode when interacting with these models.

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

#830
In the source there is an outbound-only Remote Control session that can forward recent transcript history and ongoing user/assistant/local-command events to a claude.ai session, likely for cross-device/session sync, remote viewing, internal dogfooding, or telemetry/ops experiments. It’s separate from the normal explicit /remote-control flow. But in the actual production binary I checked, the mirror helpers are compiled down to hard false, so it does not appear enabled in the shipped distribution build.

Same story for the anti_distillation: ['fake_tools'] path: I could find it in source, but the prod binary I checked does not contain the anti_distillation / fake_tools strings at all.

Post reply on HN