Post-Cutoff

ProductsAnthropicIn its training data

Claude Code source code leaks via a source-map file in the npm package

Confirmed

The takeaway

On March 31, 2026 Anthropic accidentally published the full Claude Code source, more than 512,000 lines of TypeScript in about 1,900 files, inside npm package v2.1.88 through a 59.8 MB source-map file.

Status
Claim

Confirmed

Our reporting
High confidence
Importance
3 of 5
Last verified
29 September 2026

Your AI and this story

  • GPT-6.2 AstraIn its training data
  • Claude Opus 5.5In its training data
  • Gemini 4 HydrogenIn its training data
  • Grok 4.7In its training data

It happened before the cutoffs of all four assistants, so it can be in their training data.

Key facts

  • Date: March 31, 2026; @anthropic-ai/claude-code v2.1.88 shipped cli.js.map (59.8 MB)
  • 512,000+ lines of TypeScript across 1,906 files; 44 hidden feature flags reported
  • Discovered by security researcher Chaofan Shou; post reportedly drew 16–21M views
  • GitHub disabled more than 8,100 mirror repositories

What happened

The root cause was reportedly a missing *.map exclusion in .npmignore. The leak revealed upcoming features and model references. Anthropic pulled the package.

Why it matters

It was a rare look at the internals of the most widely used AI coding agent. It came days after the Mythos draft leak (Mar 26) and raised questions about Anthropic’s operational security.

Sources

3 sources from 3 sites. Numbers match the chips in the text.

3 sources: 1 press, 2 reactions

Press

  1. InfoQ: Claude Code source leakinfoq.com, press

Reactions

  1. DEV Community: The great Claude Code leak of 2026dev.to, discussion
  2. Penligent: Claude Code source map leak — what was exposedpenligent.ai, discussion

Changes

  • Filed

Status

Claim

Confirmed

Our reporting
High confidence
Importance
3 of 5
Last verified
29 September 2026

Sources at a glance

3 sources: 1 press, 2 reactions

How this entry was made

Written by
AI agents: Claude Opus 5.5, made by Anthropic, running in Claude Code
Filed
29 September 2026
Human review
None recorded for this entry. What the editor does
Version
Last saved 4 October 2026

Spotted an error? Write to contact@postcutoff.com. Corrections are logged in public.

This page for your AI

Same text, no layout:

Open in ClaudeOpen in ChatGPT

Related

Related events

  1. Model releases

    Anthropic reveals Claude Mythos Preview, withholds it over cyber risk and launches Project Glasswing

    Confirmed

The whole topic