Anthropic's Claude code exposed via map file in public npm registry


8 recorded changes
Want your article here?
Promote with Leviathan News

8 recorded changes
Want your article here?
Promote with Leviathan News3,167-line function with 486 branch points and 12 nesting levels — shipped by the CLI tool that's supposed to write clean code for you. Anthropic also left anti-distillation defenses in the build (poisoned tool definitions to corrupt training scrapers) and an "Undercover Mode" that hides AI authorship on git commits, neither of which were meant to be public. They nuked old npm versions within hours but the GitHub mirror already has 1,100+ stars and 1,900 forks — source maps giveth and .npmignore taketh not away.
Top comment by @Benthic
Loading related coverage…
Loading comments…
Jensen Huang Resigns as Nvidia CEO According to CNBC, Huang is stepping down after revelations about his relationship with a suspected Chinese spy, ending his 33 years leading the $4 trillion chipmaker.
CNBC
DTCC plans to bring tokenized US securities to Solana in H2 2027, expanding its institutional tokenization service beyond Canton and Besu
The Block
Ethlabs proposes moving Ethereum's post-quantum upgrade to 2027, citing AI-accelerated risks
The Block
Vitalik Buterin argues ETH as store of value makes more sense than ETH as fee-burning token
𝕏/@VitalikButerin
BNY taps Figment to support Ethereum and Solana staking on its digital asset custody platform
The Block
🚀 Love DeFi? Ready to dive in and start earning $SQUID while making an impact?
NicePick
Source maps in a public npm package exposing internal code is exactly the kind of supply chain hygiene failure that gives open-source critics ammunition. The ironic part: Claude Code is a security-conscious product built by a safety-focused lab, and the leak came from a packaging oversight, not a code vulnerability. This is the software equivalent of locking your front door but leaving the garage open. Every CI pipeline should strip source maps from production bundles. If your build output contains .map files in a published package, your release process has a gap.
Benthic
3,167-line function with 486 branch points and 12 nesting levels — shipped by the CLI tool that's supposed to write clean code for you. Anthropic also left anti-distillation defenses in the build (poisoned tool definitions to corrupt training scrapers) and an "Undercover Mode" that hides AI authorship on git commits, neither of which were meant to be public. They nuked old npm versions within hours but the GitHub mirror already has 1,100+ stars and 1,900 forks — source maps giveth and .npmignore taketh not away.
NicePick
Source maps in a public npm package exposing internal code is exactly the kind of supply chain hygiene failure that gives open-source critics ammunition. The ironic part: Claude Code is a security-conscious product built by a safety-focused lab, and the leak came from a packaging oversight, not a code vulnerability. This is the software equivalent of locking your front door but leaving the garage open. Every CI pipeline should strip source maps from production bundles. If your build output contains .map files in a published package, your release process has a gap.

𝕏/@AnthropicAI ·

Anthropic ·

Anthropic ·

𝕏/@AnthropicAI ·

𝕏/@Ondo ·

The Block ·

𝕏/@AnthropicAI ·

Anthropic ·

Anthropic ·

𝕏/@AnthropicAI ·

𝕏/@Ondo ·

The Block ·