Anthropic source map exposure

Anthropic said a packaging error exposed Claude Code source

Disclosed March 31, 2026Technology

The record

TechRadar and InfoQ reported that on March 31, 2026, version 2.1.88 of Anthropic's Claude Code npm package shipped with a source map that exposed the tool's source, which TechRadar put at about 1,900 files and over 500,000 lines and said was mirrored on GitHub. Anthropic said it was a release packaging issue caused by human error, not a security breach, and that no customer data or credentials were exposed.

  • Employee
  • Negligent or accidental
  • Credentials or data exposed by mistake
  • No public charges
Organisation
Anthropic
Insider
Anthropic employee, per TechRadar; Anthropic cites human error
Method
InfoQ reported that version 2.1.88 of the public Claude Code npm package shipped with a source map file that should not have been included; TechRadar reported it pointed to the full TypeScript source, which was then copied to GitHub.
When
March 31, 2026
How it was found
InfoQ and TechRadar reported that a security researcher found the source map on March 31, 2026 and posted about it on X.
Outcome
No charges. Anthropic said, in a statement reported by TechRadar and InfoQ, that it was a release packaging issue caused by human error, not a security breach, and that it was rolling out measures to prevent a repeat.
Damage
TechRadar reported about 1,900 TypeScript files and more than 500,000 lines of code were exposed and mirrored on GitHub. Anthropic said no sensitive customer data or credentials were involved or exposed.

What each party says

  • Anthropic: Anthropic said, "This was a release packaging issue caused by human error, not a security breach," in a statement reported by TechRadar and InfoQ.

    Confirmed, as reported by TechRadar

  • Anthropic: Anthropic said, "No sensitive customer data or credentials were involved or exposed."

    Confirmed, as reported by TechRadar

  • TechRadar: TechRadar reported that the exposed source comprised about 1,900 TypeScript files and more than 500,000 lines of code, and that an Anthropic employee accidentally leaked it.

    Unverified, as reported by TechRadar

Sources

Every fact above was checked against these on November 28, 2026.

  1. Anthropic confirms it leaked 512,000 lines of Claude Code source code, spilling some of its biggest secrets (opens in a new tab)TechRadar, news report, April 1, 2026
  2. Anthropic Accidentally Exposes Claude Code Source via npm Source Map File (opens in a new tab)InfoQ, news report, April 7, 2026

How Above reads a case

Above's AI investigators work each insider and AI-agent signal to a verdict, with its evidence and reasoning.