Core Viewpoint - Anthropic's AI programming tool Claude Code experienced a significant source code leak, with 512,000 lines of TypeScript code being unintentionally released due to a publishing error, leading to widespread excitement in the developer community [1][4]. Group 1: Incident Details - The leak was not a result of a hacking incident but rather a mistake by Anthropic during the release of version 2.1.88 to the npm repository, where a debugging Source Map file was mistakenly included [1]. - The leaked file, approximately 60MB in size, contained 1,906 original source files and complete source code, allowing for easy restoration without the need for decompilation [3]. - The leaked content revealed critical architectural details, including the core framework based on Bun and React+Ink, a 46,000-line inference engine, and over 40 tool implementations, as well as unannounced features like the "Capybara" codename product and the Kairos permanent memory system [3]. Group 2: Consequences and Reactions - This incident marks the second time Anthropic has made a similar mistake, having previously leaked source code in February 2025 due to the same oversight [4]. - Anthropic has urgently removed the problematic npm package and taken down the GitHub mirror repository via DMCA, but the source code has already been widely backed up and disseminated, making complete recovery impossible [4]. - The leak has been described as an "epic textbook" for global programmers to learn top-tier AI engineering practices, while it represents a significant security incident for Anthropic [4]. Group 3: Community Response - The leaked version has gained immense popularity, with over 31,000 forks and 21,900 stars on GitHub, indicating a strong community engagement [7]. - The incident has sparked humorous reactions on social media, with users mimicking previous memes related to corporate layoffs, highlighting the viral nature of the leak [9].
突发!Claude Code 被开源了,全网疯传
程序员的那些事·2026-03-31 13:27