LIVE LOG · entries last verified against sources October 14, 2026 · site updated Oct 14, 2026, 10:30 PM ET

← All incidents

Claude Code npm 2.1.88 shipped a source map that exposed the CLI's source code

Incident · Claude Code · MEDIUM

Incident dateMar 31, 2026 (release of 2.1.88; exact time not stated in our sources)
DisclosedMar 31, 2026 (Chaofan Shou on X; Anthropic statement to press)
Added hereOct 14, 8:55 PM ET
Last verifiedOct 14, 2026

Summary

Version 2.1.88 of the @anthropic-ai/claude-code npm package included a large source map file (cli.js.map) that let anyone rebuild the CLI's TypeScript source, more than 512,000 lines in almost 2,000 files. Researcher Chaofan Shou pointed it out on X and copies spread on GitHub. Anthropic said no sensitive customer data or credentials were involved or exposed, and called it a release packaging issue caused by human error, not a security breach. Version 2.1.88 is no longer on npm. This exposed Anthropic's own code, not user data.

Severity

MEDIUM Medium: a large exposure of proprietary source code, but per Anthropic no customer data or credentials were involved, and it is not a vulnerability in the tool.

Timeline

  1. Mar 31, 2026
    Claude Code 2.1.88 is live on npm with the cli.js.map source map included.
  2. Mar 31, 2026
    Chaofan Shou flags it on X; the code is mirrored on GitHub.
  3. Mar 31, 2026
    Anthropic confirms to Ars Technica, CNBC, VentureBeat and others: packaging error caused by human error, no customer data or credentials exposed.

How it happened

A source map links shipped JavaScript back to the original source and can embed the full source text. Including it in the public npm package exposed the whole CLI codebase. Same-day reporting also covered a separate, unrelated attack on the axios npm package; VentureBeat advised anyone who installed Claude Code via npm between 00:21 and 03:29 UTC on Mar 31 to check lockfiles for axios 1.14.1 or 0.30.4. That was a different incident, not part of this leak.

How to check your app

Sources

Corrections and updates

None. Re-checked against every source on Oct 14, 2026.