The post Claude Code CLI Exposed via npm Source Map Error – Bitcoin News appeared on BitcoinEthereumNews.com. Claude Code npm Leak Reveals Unreleased Features IncludingThe post Claude Code CLI Exposed via npm Source Map Error – Bitcoin News appeared on BitcoinEthereumNews.com. Claude Code npm Leak Reveals Unreleased Features Including

Claude Code CLI Exposed via npm Source Map Error – Bitcoin News

For feedback or concerns regarding this content, please contact us at crypto.news@mexc.com

Claude Code npm Leak Reveals Unreleased Features Including KAIROS, BUDDY, and Agent Swarms

The company confirmed the incident on March 31, 2026, speaking with Venture Beat, attributing it to human error in the release packaging process. Version 2.1.88 of @anthropic-ai/claude-code shipped with a 59.8 MB Javascript source map file. Basically a debugging artifact that mapped minified production code back to the original Typescript, which pointed directly to a publicly accessible zip archive sitting on Anthropic‘s own Cloudflare R2 storage bucket.

Nobody had to hack anything. The file was just there.

Security researcher Chaofan Shou, an intern at blockchain security firm Fuzzland, spotted the issue and posted the direct bucket link on X. Within hours, mirrored repositories appeared on Github, some accumulating tens of thousands of stars before Anthropic’s DMCA takedowns hit. Community members had already begun stripping telemetry, flipping hidden feature flags, and drafting clean-room reimplementations in Python and Rust to sidestep copyright concerns.

The root cause was straightforward: Bun’s bundler generates source maps by default, and no build step excluded or disabled the debug artifact before publishing. A missing entry in .npmignore or the files field in package.json would have prevented the whole thing.

What developers found inside was detailed. The ~1,900 Typescript files covered tool execution logic, permission schemas, memory systems, telemetry, system prompts, and feature flags — a full engineering view of how Anthropic builds a production-grade agentic coding tool. Telemetry scans prompts for profanity as a frustration signal but does not log full user conversations or code. An “undercover mode” instructs the AI to remove references to internal codenames and project details from git commits and pull requests.

Several unreleased features sat behind flags. KAIROS is described as an always-on background daemon that watches files, logs events, and runs a “dreaming” memory-consolidation process during idle time. BUDDY is a terminal pet with 18 species — including capybara — carrying stats like DEBUGGING, PATIENCE, and CHAOS. COORDINATOR MODE lets a single agent spawn and manage parallel worker agents. ULTRAPLAN schedules 10- to 30-minute remote multi-agent planning sessions.

Anthropic told Venture Beat the incident involved no sensitive customer data, no credentials, and no compromise of model weights or inference infrastructure. “This was a release packaging issue caused by human error,” the company said, adding that it is rolling out measures to prevent a repeat.

Those measures may need to move quickly. This is the second time the same mistake has happened. A nearly identical source-map leak occurred with an earlier version of Claude Code in February 2025.

The March 31 incident also landed alongside a separate npm supply-chain attack on the axios package, active between 00:21 and 03:29 UTC. Developers who installed or updated Claude Code via npm during that window are advised to audit their dependencies and rotate credentials. Anthropic recommends its native installer over npm going forward.

Context matters here. Five days earlier, on March 26, a CMS misconfiguration at Anthropic exposed roughly 3,000 internal files covering details on the unreleased “Claude Mythos” model, also attributed to human error. Two significant accidental disclosures in less than a week raises questions about release hygiene at a company whose tools are actively used to write and ship code at scale.

The leaked source code remains available in archived and mirrored forms despite active takedown enforcement. Anthropic has not published a broader post-mortem or public statement beyond its comment to Venture Beat.

No user data was exposed. The core Claude models are unaffected. The blueprint for building a competitor to Claude Code, however, is now considerably easier to assemble.

FAQ 🔎

  • Q: Was the Claude Code source code leak a hack? No — Anthropic confirmed the exposure was a packaging error, not a security breach or unauthorized access.
  • Q: What was actually exposed in the Anthropic npm leak? Approximately 512,000 lines of TypeScript covering the Claude Code CLI, including telemetry, feature flags, hidden features, and agent architecture — not model weights or customer data.
  • Q: Is my data at risk from the Claude Code npm incident? Anthropic says no user data or credentials were exposed; developers who installed via npm during the concurrent axios supply-chain attack window should audit dependencies and rotate credentials.
  • Q: Has Anthropic leaked source code before? Yes — a nearly identical source-map leak involving an earlier Claude Code version occurred in February 2025, making this the second such incident in roughly 13 months.

Source: https://news.bitcoin.com/anthropic-source-code-leak-2026-claude-code-cli-exposed-via-npm-source-map-error/

Market Opportunity
MapNode Logo
MapNode Price(MAP)
$0.00224
$0.00224$0.00224
+1.81%
USD
MapNode (MAP) Live Price Chart
Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact crypto.news@mexc.com for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.
Tags:

You May Also Like

Understanding the Difference Between Pi on Exchanges and Pi in Wallets

Understanding the Difference Between Pi on Exchanges and Pi in Wallets

Understanding the Difference Between Pi on Exchanges and Pi in Wallets Pi Network is gaining increasing attention as it transitions from a mined cryptocurr
Share
Hokanews2026/04/01 21:01
BTC Leverage Builds Near $120K, Big Test Ahead

BTC Leverage Builds Near $120K, Big Test Ahead

The post BTC Leverage Builds Near $120K, Big Test Ahead appeared on BitcoinEthereumNews.com. Key Insights: Heavy leverage builds at $118K–$120K, turning the zone into Bitcoin’s next critical resistance test. Rejection from point of interest with delta divergences suggests cooling momentum after the recent FOMC-driven spike. Support levels at $114K–$115K may attract buyers if BTC fails to break above $120K. BTC Leverage Builds Near $120K, Big Test Ahead Bitcoin was trading around $117,099, with daily volume close to $59.1 billion. The price has seen a marginal 0.01% gain over the past 24 hours and a 2% rise in the past week. Data shared by Killa points to heavy leverage building between $118,000 and $120,000. Heatmap charts back this up, showing dense liquidity bands in that zone. Such clusters of orders often act as magnets for price action, as markets tend to move where liquidity is stacked. Price Action Around the POI Analysis from JoelXBT highlights how Bitcoin tapped into a key point of interest (POI) during the recent FOMC-driven spike. This move coincided with what was called the “zone of max delta pain”, a level where aggressive volume left imbalances in order flow. Source: JoelXBT /X Following the test of this area, BTC faced rejection and began to pull back. Delta indicators revealed extended divergences, with price rising while buyer strength weakened. That mismatch suggests demand failed to keep up with the pace of the rally, leaving room for short-term cooling. Resistance and Support Levels The $118K–$120K range now stands as a major resistance band. A clean move through $120K could force leveraged shorts to cover, potentially driving further upside. On the downside, smaller liquidity clusters are visible near $114K–$115K. If rejection holds at the top, these levels are likely to act as the first supports where buyers may attempt to step in. Market Outlook Bitcoin’s next decisive move will likely form around the…
Share
BitcoinEthereumNews2025/09/18 16:40
Wormhole token soars following tokenomics overhaul, W reserve launch

Wormhole token soars following tokenomics overhaul, W reserve launch

                                                                               Wormhole’s native token has had a tough time since launch, debuting at $1.66 before dropping significantly despite the general crypto market’s bull cycle.                     Wormhole, an interoperability protocol facilitating asset transfers between blockchains, announced updated tokenomics to its native Wormhole (W) token, including a token reserve and more yield for stakers. The changes could affect the protocol’s governance, as staked Wormhole tokens allocate voting power to delegates.According to a Wednesday announcement, three main changes are coming to the Wormhole token: a W reserve funded with protocol fees and revenue, a 4% base yield for staking with higher rewards for active ecosystem participants, and a change from bulk unlocks to biweekly unlocks.“The goal of Wormhole Contributors is to significantly expand the asset transfer and messaging volume that Wormhole facilitates over the next 1-2 years,” the protocol said. According to Wormhole, more tokens will be locked as adoption takes place and revenue filters back to the company.Read more
Share
Coinstats2025/09/18 02:41

Trade GOLD, Share 1,000,000 USDT

Trade GOLD, Share 1,000,000 USDTTrade GOLD, Share 1,000,000 USDT

0 fees, up to 1,000x leverage, deep liquidity