Claude Code 的完整源代码通过 npm 源映射泄露 — 内容揭秘
📄 中文摘要
2026年3月31日,安全研究员邵凡(Chaofan Shou)发现,Anthropic 的旗舰 CLI 工具 Claude Code 的完整源代码通过发布到 npm 注册表的源映射文件被曝光。此次泄露的代码库包含1900个文件,超过512,000行代码,几乎涵盖了所有内容。泄露的代码迅速被归档到一个公共 GitHub 仓库,已获得超过1100个星标。这一事件对使用 AI 驱动编码工具的开发者来说,将是一个难以忘记的日子。
📄 English Summary
Claude Code's Entire Source Code Was Just Leaked via npm Source Maps — Here's What's Inside
On March 31, 2026, security researcher Chaofan Shou discovered that the entire source code of Anthropic's flagship CLI tool, Claude Code, was exposed through a source map file published to the npm registry. The leaked codebase consists of 1,900 files and over 512,000 lines of code, encompassing everything. The code was quickly archived to a public GitHub repository, where it has already garnered more than 1,100 stars. This incident marks a significant day for developers working with AI-powered coding tools.
Powered by Cloudflare Workers + Payload CMS + Claude 3.5
数据源: OpenAI, Google AI, DeepMind, AWS ML Blog, HuggingFace 等