返回时间轴
2026-03-31

Claude Code source code leaks via npm, exposing secret agent features and sparking a supply chain attack

Safety & Ethics Products & Tools

事件摘要

On March 31, 2026, Anthropic accidentally exposed 512,000 lines of Claude Code source code through a source map file in its npm package. The leak revealed hidden features including 'KAIROS' (a persistent background agent), 'Undercover Mode' (for stealth open-source contributions), and 'Dreaming' (autonomous cross-session learning). It also triggered a supply chain attack as threat actors weaponized the leak with trojanized npm packages. The incident became the highest-profile AI source code leak in history.

影响评估

  • Risk Creation -1 · Short-term

    Largest AI source code leak in history. Exposed proprietary agent architectures. Triggered supply chain attack with trojanized packages. Established new category of AI security risk: operational code leaks.

    Affected Groups: AI developers, Anthropic users, open-source community, security teams

共识度与来源

重要度 L1
分类 Safety & Ethics / Products & Tools
共识度 Broad Consensus
影响指数 5/10