A significant portion of the source code for Anthropic's Claude Code has been inadvertently exposed, following the discovery of a source map file within its npm registry. This leak, first reported by Twitter user @chaofan_shou (via @fried_rice), has provided unprecedented insight into the inner workings of the advanced AI coding assistant.
The leaked data, which includes a downloadable zip file containing the source code, has been widely shared and analyzed within the developer community. The implications of this exposure are far-reaching, offering valuable information for competitors looking to build similar tools or for developers seeking to understand and potentially enhance Claude Code's capabilities.
What Was Leaked?
The leak consists of over 2,300 original files from Claude Code's codebase. These files offer a detailed look at the tool's architecture, including:
