Summary of "Tragic mistake... Anthropic leaks Claude’s source code"

Key incident

On April 1, 2026 Anthropic accidentally published a 57 MB source‑map with the v2.1.88 release of the “Claude Code” package on npm, exposing roughly 500,000 lines of readable TypeScript. Security researcher Chiao Fan Sha discovered the leak within minutes; the code was widely mirrored before Anthropic’s DMCA takedowns could contain it.

Details:

How the leak likely happened

Possible causes identified:

Bun.js was highlighted as a probable vector due to its recent acquisition and known issues around source‑map handling.

High‑level architecture and code quality

Security and anti‑copy measures discovered

Notable functional discoveries

Community reaction and forks

Risks and implications

Notable resources and sources

Category ?

Technology


Share this summary


Is the summary off?

If you think the summary is inaccurate, you can reprocess it with the latest model.

Video