Would be interesting to run this through Malus [1] or literally just Claude Code and get open source Claude Code out of it. I jest, but in a world where these models have been trained on gigatons of open source I don't even see the moral problem. IANAL, don't actually do this. https://malus.sh/
Claude Code's source code has been leaked via a map file in their NPM registry
261–270 of 1001 posts
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#262Re: Claude Code's source code has been leaked via a map file in their NPM registry
#263Why is Claude Code, a desktop tool, written in JS? Is the future of all software JS or Typescript?
Original author of Claude Code is expert on TypeScript [1] [1] https://www.amazon.com/Programming-TypeScript-Making-JavaScr...
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#264Re: Claude Code's source code has been leaked via a map file in their NPM registry
#265Once the USA wakes up, this will be insane news
What's special about Claude Code? Isn't Opus the real magic? Surely there's nothing here of value compared to the weights except for UX and orchestration? Couldn't this have just been decompiled anyhow?
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#266They 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...
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#267[flagged]
It is tricky to meaningfully expose a dollar cost equivlent value for subscribers in a way that won't confuse users into thinking that they will get a bill that includes that amount. This is especially true if you have overages enabled, since in a session that used overages it was likely partially covered by the plan (and thus zero-rated) with the rest at api prices, and the client can't really know the breakdown.
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#268For a combo with another HN homepage story, Claude Code uses… Axios: https://x.com/icanvardar/status/2038917942314778889?s=20 https://news.ycombinator.com/item?id=47582220
To stop Claude Code from auto-updating, add `export DISABLE_AUTOUPDATER=1` to your global environment variables (~/.bashrc, ~/.zshrc, or such), restart all sessions and check that it works with `claude doctor`, it should show `Auto-updates: disabled (DISABLE_AUTOUPDATER set)`
Re: Claude Code's source code has been leaked via a map file in their NPM registry
#269Re: Claude Code's source code has been leaked via a map file in their NPM registry
#270haha.. Anthropic need to hire fixer from vibecodefixers.com to fix all that messy code..lol