Anthropic Leaks Claude Code Source Code

🚨 Anthropic just accidentally leaked Claude Code's entire source code. Here's how it happened. On March 31, 2026, security researcher Chaofan Shou posted a single message on X: "Claude Code source code has been leaked via a map file in their npm registry." Within hours, the internet had already backed it up. Here's what happened 👇 When Anthropic published Claude Code version 2.1.88 to the npm registry, they accidentally bundled a 59.8MB source map file alongside it. A source map is a developer tool that maps minified/compiled code back to the original readable source. It's meant to stay internal. It didn't. Before Anthropic could pull it, developers had already archived 500,000+ lines of TypeScript to a public GitHub repo — which hit 1,100 stars and 1,900 forks in a single day. What was inside? 🔧 44 hidden feature flags — built, compiled, but not yet shipped 🤖 Multi-agent orchestration — one Claude managing multiple worker Claudes 📅 Cron scheduling for agents — automated tasks with webhooks 🎙️ Full voice command mode — already built into the CLI 🌐 Real browser control via Playwright — not just web fetching, actual browsing 📱 Remote control from mobile — control Claude Code from your phone 🧠 Persistent memory across sessions — no external storage needed The brutal irony? Anthropic had an internal feature called "Undercover Mode" — specifically designed to stop Claude from accidentally leaking internal codenames and unreleased versions in public commits. The Undercover Mode was active. The source map protection was not. Someone rewrote a python version: https://lnkd.in/dVDMHX6t Now I want to know 👇 1️⃣ Does an accidental leak like this shake your trust in Anthropic as a "safety-first" lab? 2️⃣ Which of those unreleased features excites you the most? 3️⃣ Are you building with Claude Code right now — or waiting to see how this plays out? Drop your number + answer below. #ClaudeCode #Anthropic #AILeak #SourceCode #AIEngineering #PromptEngineering #Developers #AINews #FutureOfCode #npm 

To view or add a comment, sign in

Explore content categories