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.00222
$0.00222$0.00222
+0.90%
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

Crypto News: Donald Trump-Aligned Fed Governor To Speed Up Fed Rate Cuts?

Crypto News: Donald Trump-Aligned Fed Governor To Speed Up Fed Rate Cuts?

The post Crypto News: Donald Trump-Aligned Fed Governor To Speed Up Fed Rate Cuts? appeared on BitcoinEthereumNews.com. In recent crypto news, Stephen Miran swore in as the latest Federal Reserve governor on September 16, 2025, slipping into the board’s last open spot right before the Federal Open Market Committee kicks off its two-day rate discussion. Traders are betting heavily on a 25-basis-point trim, which would bring the federal funds rate down to 4.00%-4.25%, based on CME FedWatch Tool figures from September 15, 2025. Miran, who’s been Trump’s top economic advisor and a supporter of his trade ideas, joins a seven-member board where just three governors come from Democratic picks, according to the Fed’s records updated that same day. Crypto News: Miran’s Background and Quick Path to Confirmation The Senate greenlit Miran on September 15, 2025, with a tight 48-47 vote, following his nomination on September 2, 2025, as per a recent crypto news update. His stint runs only until January 31, 2026, stepping in for Adriana D. Kugler, who stepped down in August 2025 for reasons not made public. Miran earned his economics Ph.D. from Harvard and worked at the Treasury back in Trump’s first go-around. Afterward, he moved to Hudson Bay Capital Management as an economist, then looped back to the White House in December 2024 to head the Council of Economic Advisers. There, he helped craft Trump’s “reciprocal tariffs” approach, aimed at fixing trade gaps with China and the EU. He wouldn’t quit his White House gig, which irked Senator Elizabeth Warren at the September 7, 2025, confirmation hearings. That limited time frame means Miran gets to cast a vote straight away at the FOMC session starting September 16, 2025. The full board now features Chair Jerome H. Powell (Trump pick, term ends 2026), Vice Chair Philip N. Jefferson (Biden, to 2036), and folks like Lisa D. Cook (Biden, to 2028) and Michael S. Barr…
Share
BitcoinEthereumNews2025/09/18 03:14
First Multi-Asset Crypto ETP Opens Door to Institutional Adoption

First Multi-Asset Crypto ETP Opens Door to Institutional Adoption

The post First Multi-Asset Crypto ETP Opens Door to Institutional Adoption appeared on BitcoinEthereumNews.com. The US Securities and Exchange Commission (SEC) has officially approved the Grayscale Digital Large Cap Fund (GDLC) for trading on the stock exchange. The decision comes as the SEC also relaxes ETF listing standards. This approval provides easier access for traditional investors and signals a major regulatory shift, paving the way for institutional capital to flow into the crypto market. Grayscale Races to Launch the First Multi-Asset Crypto ETP According to Grayscale CEO Peter Mintzberg, the Grayscale Digital Large Cap Fund ($GDLC) and the Generic Listing Standards have just been approved for trading. Sponsored Sponsored Grayscale Digital Large Cap Fund $GDLC was just approved for trading along with the Generic Listing Standards. The Grayscale team is working expeditiously to bring the FIRST multi #crypto asset ETP to market with Bitcoin, Ethereum, XRP, Solana, and Cardano#BTC #ETH $XRP $SOL… — Peter Mintzberg (@PeterMintzberg) September 17, 2025 The Grayscale Digital Large Cap Fund (GDLC) is the first multi-asset crypto Exchange-Traded Product (ETP). It includes Bitcoin (BTC), Ethereum (ETH), XRP, Solana (SOL), and Cardano (ADA). As of September, the portfolio allocation was 72.23%, 12.17%, 5.62%, 4.03%, and 1% respectively. Grayscale Digital Large Cap Fund (GDLC) Portfolio Allocation. Source: Grayscale Grayscale Investments launched GDLC in 2018. The fund’s primary goal is to expose investors to the most significant digital assets in the market without requiring them to buy, store, or secure the coins directly. In July, the SEC delayed its decision to convert GDLC from an OTC fund into an exchange-listed ETP on NYSE Arca, citing further review. However, the latest developments raise investors’ hopes that a multi-asset crypto ETP from Grayscale will soon become a reality. Approval under the Generic Listing Standards will help “streamline the process,” opening the door for more crypto ETPs. Ethereum, Solana, XRP, and ADA investors are the most…
Share
BitcoinEthereumNews2025/09/18 13:31
Pump.fun (PUMP) Has Spiked by 200%: Can the Rally Survive?

Pump.fun (PUMP) Has Spiked by 200%: Can the Rally Survive?

Between July and now, the price of Pumpfun (PUMP) has spiked by more than 200%. The rally has been strong, and the sentiment is still high. However, do we expect to continue seeing these highs, or is the price showing signs of crashing already? We will consider this by taking insights from a video by
Share
Coinstats2025/09/18 01:30

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