So Claude Codes Source Code Was Just Leaked
Anthropic Issues Takedown Over Claude Code Source Leak This morning, the ai community woke up to a bombshell: claude code's entire source code was exposed tagged with ai, programming, productivity, opensource. Claude code's entire source code has been leaked and the internet is up in arms.
Claude Code Will Change The Way We Code How To Setup Claude code is known to be notoriously closed down. their agent sdks provide almost no insight into the internals of claude code, and anthropic themselves do their best to keep the source as closed as possible. anthropic accidentally included a .map sourcemap file in a claude code npm package. Anthropic, the flagship ai company, has inadvertently exposed the source code for its major cli tool claude code. it has already been extracted with mirrors published on github. On march 31, 2026, security researcher chaofan shou posted a discovery on x that sent shockwaves through the developer community: the entire proprietary source code of anthropic's claude code cli — the company's flagship ai coding agent — was sitting in plain sight on the public npm registry. Anthropic accidentally leaked claude code's entire source code via an npm source map. here's what 512,000 lines of typescript reveal about building better ai coding agents — and what it means for indie hackers.
Claude Code Saved Us 97 Of The Work On The First Try Then It Failed On march 31, 2026, security researcher chaofan shou posted a discovery on x that sent shockwaves through the developer community: the entire proprietary source code of anthropic's claude code cli — the company's flagship ai coding agent — was sitting in plain sight on the public npm registry. Anthropic accidentally leaked claude code's entire source code via an npm source map. here's what 512,000 lines of typescript reveal about building better ai coding agents — and what it means for indie hackers. Anthropic accidentally shipped a 59.8 mb source map in its npm package, exposing 512,000 lines of claude code's typescript source. the community responded with clean room rewrites, architectural deep dives, and the fastest repo to 50k stars in github history. According to the response reported by venturebeat, anthropic says a release of claude code included some internal source code because of a human error in packaging, and the company also says the incident was not a security breach. Claude code 2.1.88 leak exposed 512,000 lines via npm error, fueling supply chain risks and typosquatting attacks. The claude code source code leak: what businesses using ai coding tools need to know anthropic accidentally published 512,000 lines of claude code source code to npm. here's what was exposed, what it means for businesses relying on ai development tools, and the broader security questions every organization should be asking.
Comments are closed.