Entire Claude Code CLI source code leaks thanks to exposed map file
Anthropic accidentally leaked the full source code of its Claude Code CLI after publishing an npm package containing a source map file, exposing over 512,000 lines of TypeScript. Developers and competitors are already dissecting the code, revealing detailed insights into Claude Code’s architecture, memory systems, and internal tooling. While no model weights or customer data were exposed, the leak gives rivals a rare look at Anthropic’s engineering approach and may help them accelerate competing products. The incident comes at a sensitive moment as Anthropic faces rapid industry competition and prepares for a potential public offering.
Read the full story on Ars Technica →