BREAKING: Claude Code source leaked
Theo (t3.gg) breaks down the accidental Claude Code source map leak: how it happened, what the code reveals, and how Anthropic should respond.
- Claude Code’s full TypeScript source (~390,000 lines) leaked via accidentally included source maps in an npm package release.
- Anthropic has sent more erroneous DMCA takedown requests than any known company in history to suppress the leak.
- Claude Code ranks last among major harnesses for Opus on TerminalBench; cursor’s harness lifts Opus from 77% to 93% on benchmarks.
- Claude Code references OpenCode’s source to match its scrolling behavior — closed-source tool copying the open-source competitor.
- Leaked unreleased features include: Buddy (Easter egg companion), Dream Mode (background memory consolidation), Coordinator Mode (parallel sub-agents sharing prompt cache), and Chyros (always-on AFK agent that monitors PRs and pushes changes autonomously).
- Anti-distillation mode injects fake tool calls into run histories to poison training data for competing labs.
- CLAUDE.md is reinserted on every turn change, not just at conversation start, to keep the model on-task throughout long sessions.
-
Code quality scored 7/10: strong type safety (only 38
anyusages), but massive god files (5,000+ lines), 1,000+ feature flags scattered across 250 files, and no centralized secret sanitization before logging.
2026-04-01 · Watch on YouTube