Close Menu
Altcoinvest
    What's Hot

    50,640 People Affected After Hackers Hit Healthcare Firm, Stealing Personal, Financial and Medical Data

    April 18, 2026

    Kelp DAO exploited for $292 million with wrapped ether stranded across 20 chains

    April 18, 2026

    Ethereum Signals Major Reversal – $2,900 Target Back In Focus

    April 18, 2026
    Facebook X (Twitter) Instagram
    Altcoinvest
    • Bitcoin
    • Altcoins
    • Exchanges
    • Youtube
    • Crypto Wallets
    • Learn Crypto
    • bitcoinBitcoin(BTC)$75,669.00-2.39%
    • ethereumEthereum(ETH)$2,350.41-3.32%
    • tetherTether(USDT)$1.000.01%
    • rippleXRP(XRP)$1.43-3.48%
    • binancecoinBNB(BNB)$630.32-2.03%
    • usd-coinUSDC(USDC)$1.00-0.01%
    • solanaSolana(SOL)$86.05-3.58%
    • tronTRON(TRX)$0.3293720.58%
    • Figure HelocFigure Heloc(FIGR_HELOC)$1.041.31%
    • dogecoinDogecoin(DOGE)$0.095015-5.18%
    Altcoinvest
    Home»Altcoins»Anthropic Accidentally Leaked Claude Code’s Source—The Internet Is Keeping It Forever
    Anthropic Accidentally Leaked Claude Code’s Source—The Internet Is Keeping It Forever
    Altcoins

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

    March 31, 2026
    Share
    Facebook Twitter LinkedIn Pinterest Email

    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.

    This is either brilliant or scary:

    Anthropic accidentally leaked the TS source code of Claude Code (which is closed source). 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! pic.twitter.com/uSrCDgGCAZ

    — Gergely Orosz (@GergelyOrosz) March 31, 2026

    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.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

    Related Posts

    50,640 People Affected After Hackers Hit Healthcare Firm, Stealing Personal, Financial and Medical Data

    April 18, 2026

    What Is The XLS-66 And What Does It Mean For XRP Holders?

    April 18, 2026

    Circle Payments Network Launches for Banks

    April 18, 2026

    Bitcoin STHs realize gains: Correction or short squeeze, what’s ahead?

    April 18, 2026
    Add A Comment

    Comments are closed.

    Tweets by InfoAltcoinvest

    Top Posts

    50,640 People Affected After Hackers Hit Healthcare Firm, Stealing Personal, Financial and Medical Data

    April 18, 2026

    What Is The XLS-66 And What Does It Mean For XRP Holders?

    April 18, 2026

    Circle Payments Network Launches for Banks

    April 18, 2026

    The Future of Secure Messaging: Why Decentralization Matters

    December 8, 2025

    TOP 3 AUTO-REPAYING LOAN: how to forget the debt and just earn more.

    December 22, 2025

    Resolv stablecoin crashes 70% as attacker extracts $25 million in ETH

    March 23, 2026

    DOJ Flags Three Crypto Cases in ‘America First’ Push Against Fraud

    January 23, 2026

    Altcoinvest is a leading platform dedicated to providing the latest news and insights on the dynamic world of cryptocurrencies.

    We're social. Connect with us:

    Facebook X (Twitter)
    Top Insights

    50,640 People Affected After Hackers Hit Healthcare Firm, Stealing Personal, Financial and Medical Data

    April 18, 2026

    Kelp DAO exploited for $292 million with wrapped ether stranded across 20 chains

    April 18, 2026

    Ethereum Signals Major Reversal – $2,900 Target Back In Focus

    April 18, 2026
    Get Informed

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.


    Facebook X (Twitter)
    • Home
    • About us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions
    © 2026 altcoinvest.com

    Type above and press Enter to search. Press Esc to cancel.