The post Anthropic Accidentally Leaked Claude Code’s Source—The Internet Is Keeping It Forever appeared on BitcoinEthereumNews.com. In brief Anthropic accidentallyThe post Anthropic Accidentally Leaked Claude Code’s Source—The Internet Is Keeping It Forever appeared on BitcoinEthereumNews.com. In brief Anthropic accidentally

Anthropic Accidentally Leaked Claude Code’s Source—The Internet Is Keeping It Forever

For feedback or concerns regarding this content, please contact us at [email protected]

In brief

  • Anthropic accidentally exposed 512,000 lines of Claude Code via a source map leak.
  • DMCA takedowns failed as mirrors and clean-room rewrites spread instantly.
  • Decentralized repos made the leak effectively permanent and uncontrollable.

Anthropic didn’t mean to open-source Claude Code. But on Tuesday, the company effectively did—and not even an army of lawyers can put that toothpaste back in the tube.

It started with a single file. Claude Code version 2.1.88, pushed to the npm registry in the early hours of Tuesday morning, shipped with a 59.8MB JavaScript source map—a debug file that can reconstruct the original code from its compressed form. These files are generated automatically and are supposed to stay private. But a single line in the ignore settings let it go out with the release.

Intern and researcher Chaofan Shou, who appears to be among the first to spot the file, posted a download link to X around 4:23 a.m. ET, and watched 16 million people descend on the thread. Anthropic yanked the npm package, but the internet had already archived 512,000 lines of code across 1,900 different files that make up a major part of the project.

“Earlier today, a Claude Code release included some internal source code. No sensitive customer data or credentials were involved or exposed,” an Anthropic spokesperson told Decrypt. “This was a release packaging issue caused by human error, not a security breach. We’re rolling out measures to prevent this from happening again.”

The leak exposed the full internal architecture of what is arguably one of, if not the most sophisticated AI coding agent on the market: LLM API orchestration, multi-agent coordination, permission logic, OAuth flows, and 44 hidden feature flags covering unreleased functionality.

Among the finds: Kairos, an always-on background daemon that stores memory logs and performs nightly “dreaming” to consolidate knowledge. And Buddy, a Tamagotchi-style AI pet with 18 species, rarity tiers, and stats including debugging, patience, chaos, and wisdom. There’s a teaser rollout for this “Buddy” apparently planned for April 1-7.

Then there’s the detail that made everyone on Hacker News cackle. Per leaker Kuberwastaken, buried inside the code was “Undercover Mode”—a whole subsystem designed to prevent the AI from accidentally leaking Anthropic’s internal codenames and project names when contributing to open-source repositories. The system prompt injected into Claude’s context literally says: “Do not blow your cover.”

Apparently, Anthropic began issuing DMCA takedowns against GitHub mirrors. That’s when things got interesting.

A Korean developer named Sigrid Jin—featured in the Wall Street Journal earlier this month for having consumed 25 billion Claude Code tokens—woke up at 4 a.m. to the news. He sat down, ported the core architecture to Python from scratch using an AI orchestration tool called oh-my-codex, and pushed claw-code before sunrise. The repo hit 30,000 GitHub stars faster than any repository in history.

It’s basically a translation of all the code from the original language to Python, so technically not the same thing, right? We’ll leave that to lawyers and tech philosophers.

The legal logic here is sharp. Gergely Orosz, founder of The Pragmatic Engineer newsletter, argued in a post on X: “This is either brilliant or scary: Anthropic accidentally leaked the TS source code of Claude Code. Repos sharing the source are taken down with DMCA. BUT this repo rewrote the code using Python, and so it violates no copyright & cannot be taken down!”

It’s a clean-room rewrite. A new creative work. DMCA-proof by design.

The copyright angle gets thornier when considering the legal status of AI-generated work, and how muddy the criteria gets when lawyers have to rule whether or not it carries automatic copyright. The DC Circuit upheld that position in March 2025, and the Supreme Court declined to hear the challenge.

If significant chunks of Claude Code were written by Claude itself—which Anthropic’s own CEO has implied—then the legal standing of any copyright claim gets murkier by the day.

Decentralization adds another layer of permanence. The account @gitlawb mirrored the original code to Gitlawb, a decentralized git platform, with a simple message: “Will never be taken down.” The original remains accessible there. A separate repository has compiled all of Claude’s internal system prompts, which is something that prompt engineers and jailbreakers will appreciate as it gives more insights into the way Anthropic conditions its models.

This matters beyond the drama. DMCA takedowns work against centralized platforms. GitHub complies because it has to. Decentralized infrastructure—which powers Gitlawb, torrents, and cryptocurrency itself—doesn’t have the same single point of failure. When a company tries to pull something back from the internet, the only question is how many mirrors exist and on what kind of infrastructure. The answer here, within hours, was: enough.

Daily Debrief Newsletter

Start every day with the top news stories right now, plus original features, a podcast, videos and more.

Source: https://decrypt.co/362917/anthropic-accidentally-leaked-claude-code-source-internet-keeping-forever

Market Opportunity
Notcoin Logo
Notcoin Price(NOT)
$0.0003667
$0.0003667$0.0003667
+3.91%
USD
Notcoin (NOT) 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 [email protected] 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.

You May Also Like

Stocks slide while crypto steadies — is market correlation starting to break?

Stocks slide while crypto steadies — is market correlation starting to break?

The post Stocks slide while crypto steadies — is market correlation starting to break? appeared on BitcoinEthereumNews.com. A divergence is emerging between traditional
Share
BitcoinEthereumNews2026/04/01 08:19
Will Russia Send Its Troops To Iran To Expand Their Military Axis?

Will Russia Send Its Troops To Iran To Expand Their Military Axis?

The post Will Russia Send Its Troops To Iran To Expand Their Military Axis? appeared on BitcoinEthereumNews.com. Just days before the U.S. and Israel launched their
Share
BitcoinEthereumNews2026/04/01 07:45
CME Group to Launch Solana and XRP Futures Options

CME Group to Launch Solana and XRP Futures Options

The post CME Group to Launch Solana and XRP Futures Options appeared on BitcoinEthereumNews.com. An announcement was made by CME Group, the largest derivatives exchanger worldwide, revealed that it would introduce options for Solana and XRP futures. It is the latest addition to CME crypto derivatives as institutions and retail investors increase their demand for Solana and XRP. CME Expands Crypto Offerings With Solana and XRP Options Launch According to a press release, the launch is scheduled for October 13, 2025, pending regulatory approval. The new products will allow traders to access options on Solana, Micro Solana, XRP, and Micro XRP futures. Expiries will be offered on business days on a monthly, and quarterly basis to provide more flexibility to market players. CME Group said the contracts are designed to meet demand from institutions, hedge funds, and active retail traders. According to Giovanni Vicioso, the launch reflects high liquidity in Solana and XRP futures. Vicioso is the Global Head of Cryptocurrency Products for the CME Group. He noted that the new contracts will provide additional tools for risk management and exposure strategies. Recently, CME XRP futures registered record open interest amid ETF approval optimism, reinforcing confidence in contract demand. Cumberland, one of the leading liquidity providers, welcomed the development and said it highlights the shift beyond Bitcoin and Ethereum. FalconX, another trading firm, added that rising digital asset treasuries are increasing the need for hedging tools on alternative tokens like Solana and XRP. High Record Trading Volumes Demand Solana and XRP Futures Solana futures and XRP continue to gain popularity since their launch earlier this year. According to CME official records, many have bought and sold more than 540,000 Solana futures contracts since March. A value that amounts to over $22 billion dollars. Solana contracts hit a record 9,000 contracts in August, worth $437 million. Open interest also set a record at 12,500 contracts.…
Share
BitcoinEthereumNews2025/09/18 01:39