<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Source Code Leak on SoloSoft</title><link>https://www.solosoft.dev/tags/source-code-leak/</link><description>Recent content in Source Code Leak on SoloSoft</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://www.solosoft.dev/tags/source-code-leak/index.xml" rel="self" type="application/rss+xml"/><item><title>Claude Code Source Leak: 512K Lines Exposed on npm</title><link>https://www.solosoft.dev/trends/claude-code-source-leak-20260331/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.solosoft.dev/trends/claude-code-source-leak-20260331/</guid><description>&lt;p&gt;On March 31, 2026, a routine npm release turned into one of the most revealing accidental exposures in AI tooling history. Researchers discovered that version 2.1.88 of Anthropic&amp;rsquo;s &lt;code&gt;@anthropic-ai/claude-code&lt;/code&gt; package included an unintended artifact: a 60 MB JavaScript source map file named &lt;code&gt;cli.js.map&lt;/code&gt;. Inside that single JSON file, embedded as strings, sat &lt;strong&gt;512,000 lines of original, unobfuscated TypeScript source code across 1,906 proprietary files&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Source map files are debugging tools. They are built to help engineers translate minified production code back into readable format when diagnosing crashes. They are never meant for public distribution. When Anthropic&amp;rsquo;s engineers built Claude Code using the Bun runtime — which generates source maps by default — no one added &lt;code&gt;*.map&lt;/code&gt; to the project&amp;rsquo;s &lt;code&gt;.npmignore&lt;/code&gt; configuration. The result was that npm happily served the entire codebase to anyone who installed the package or browsed its contents.&lt;/p&gt;</description></item></channel></rss>