- Vulnerable U
- Posts
- Claude Code's Full Source Code Leaked Via .map File in Anthropic's npm Registry
Claude Code's Full Source Code Leaked Via .map File in Anthropic's npm Registry
Claude Code source code has been leaked. Not that consequential of a leak, to be honest, but still kind of fun to click around and see all the stuff that's behind the scenes, like hidden flags and unreleased features and things like that.
You're going to read a lot of headlines about this. I think the more interesting part is the lessons learned of how they leaked it. People just treat GitHub like it's this walled garden special snowflake kind of place.

The Claude team is usually pretty transparent. I'm interested in the postmortem on this when they talk about how they stubbed their toe leaking everything. But yeah, supposedly we have a Tamagotchi style AI pet, maybe like a Reddit-style April Fool's joke coming out. We have this persistent assistant mode, the “Always-on Claude.” We have an ultra plan, 30-minute remote planning sessions, coordinator mode, a multi-agent orchestrator.
I think what's happening on Twitter right now is people are feeding the source code leak to Claude to then generate summaries of the things that were leaked in Claude code, which is a funny and ironic thing.
A few thoughts there:
It’s a good practice to not commit secrets to source code.
Claude code is just the front-end app. We are just talking about a very good terminal app at the end of the day.
This is just the features and scaffolding around interacting with Claude for the code stuff.
Imagine how much time is being burnt at OpenAI and Google to dig through this information.
This isn't a disaster. Code matters, but code's cheap now. The hard part is not writing some helper tool. Anthropic probably knows this. The way they handle this kind of suggests they don't treat source code like some sacred crown jewel anymore.
It does give people a better idea of what Anthropic is doing under the hood and that could still be valuable for people trying to understand it better and build on similar ideas.