Close Menu
    Facebook X (Twitter) Instagram
    Wifi PortalWifi Portal
    • Blogging
    • SEO & Digital Marketing
    • WiFi / Internet & Networking
    • Cybersecurity
    • Tech Tools & Mobile / Apps
    • Privacy & Online Earning
    Facebook X (Twitter) Instagram
    Wifi PortalWifi Portal
    Home»Cybersecurity»Claude Code source code accidentally leaked in NPM package
    Cybersecurity

    Claude Code source code accidentally leaked in NPM package

    adminBy adminApril 1, 2026No Comments4 Mins Read
    Facebook Twitter LinkedIn Telegram Pinterest Tumblr Reddit WhatsApp Email
    Claude
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Claude

    Anthropic says it accidentally leaked the source code for Claude Code, which is closed source, but the company says no customer data or credentials were exposed.

    While Anthropic pledges support to the open-source community, Claude Code has always remained closed source, at least it did until today, when an update accidentally included internal source code.

    In a statement to BleepingComputer, Anthropic confirmed the leak and said no personal or sensitive information was published.

    “Earlier today, a Claude Code release included some internal source code. No sensitive customer data or credentials were involved or exposed. 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,” Anthorpic told Bleepingcomputer.

    The leaked source code was first spotted by Chaofan Shou (@Fried_rice), and it has spread widely on GitHub and other storage platforms.

    Claude Code
    Claude Code source code leak

    The source code was mistakenly leaked by Anthropic when they briefly published Claude Code version 2.1.88 on NPM earlier today.

    This version included a 60 MB file cli.js.map that contained all of the source code for the latest version.

    A source map file is a debugging file that links compiled JavaScript back to the original source code.

    If the map files include a field called “sourcesContent” that embeds the full text of the original source files directly in the map, it is possible to reconstruct the entire source code tree from the file.

    This is why including a large .map file in a public package can lead to a significant code exposure. 

    The reconstructed source code contains approximately 1,900 files, 500,000 lines of code, and details of several Claude-exclusive features.

    While the source code has spread online, Anthropic has begun issuing DMCA infringement notifications to take it down where possible.

    Claude Code source taken down via a DMCA infringement notification
    Claude Code source taken down via a DMCA infringement notification
    Source: BleepingComputer

    Developers have already begun analyzing the source for undocumented features and learning how the application works.

    According to Alex Finn, Anthropic is testing a new mode called “Proactive mode,” where Claude will code for you 24/7. This mode was spotted in the Claude Code source.

    There’s another interesting feature that caught our attention. 

    It’s called “Dream” mode, where Claude can constantly think in the background, develop ideas, improve your current plans, and try to solve problems while you are away.

    Anthropic has confirmed a Claude Code usage bug

    In other news, users have alleged that Claude has quietly reduced usage limits. This means if you’re on the Pro plan or even the Max plan (5x), you’re going to hit Claude usage limits much faster.

    I personally observed this behavior on my account with Claude Personal, which costs $20. After I sent a few messages to Claude in a Claude Code terminal, usage shot up to 30%, and it reached 100% after just a few minutes of interaction.

    That was not expected behavior, especially since the context was not large, as I had only just begun interacting with Claude.

    It turns out the issue is widespread, and Anthropic has confirmed that it’s investigating a bug that causes limits to exhaust faster.

    “We’re aware people are hitting usage limits in Claude Code way faster than expected. Actively investigating, will share more when we have an update,” Anthropic’s Lydia Hallie wrote in a post on X.

    As of March 31, 14:00 PM ET, the issue remains unresolved, and Anthropic has shared the following update:

    “[We’re] still working on this. It’s the top priority for the team. I know this is blocking a lot of you. More as soon as we have it.”

    Some users argue that it could be an intentional change by Anthropic, as Claude’s popularity has been rising over the past few weeks, but we can’t tell if it’s intentional without more details from the company.


    tines

    Automated pentesting proves the path exists. BAS proves whether your controls stop it. Most teams run one without the other.

    This whitepaper maps six validation surfaces, shows where coverage ends, and provides practitioners with three diagnostic questions for any tool evaluation.

    accidentally Claude Code leaked npm Package Source
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Telegram Email
    Previous ArticleAI search engines cite Reddit, YouTube, and LinkedIn most: Study
    Next Article Google’s Find Hub website just got a huge upgrade, adding support for more devices
    admin
    • Website

    Related Posts

    Windows is getting stronger RDP file protections to fight phishing attacks

    April 16, 2026

    Medium-severity flaw in Microsoft SharePoint exploited

    April 16, 2026

    Critical Nginx UI auth bypass flaw now actively exploited in the wild

    April 16, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Search Blog
    About
    About

    At WifiPortal.tech, we share simple, easy-to-follow guides on cybersecurity, online privacy, and digital opportunities. Our goal is to help everyday users browse safely, protect personal data, and explore smart ways to earn online. Whether you’re new to the digital world or looking to strengthen your online knowledge, our content is here to keep you informed and secure.

    Trending Blogs

    YouTube Premium is now 50% off for certain Google One subscribers

    April 16, 2026

    Windows is getting stronger RDP file protections to fight phishing attacks

    April 16, 2026

    Google adds campaign-level filtering to bulk ad review appeals

    April 16, 2026

    MKBHD pulls back the curtain on LG’s cancelled rollable

    April 16, 2026
    Categories
    • Blogging (63)
    • Cybersecurity (1,337)
    • Privacy & Online Earning (168)
    • SEO & Digital Marketing (820)
    • Tech Tools & Mobile / Apps (1,600)
    • WiFi / Internet & Networking (225)

    Subscribe to Updates

    Stay updated with the latest tips on cybersecurity, online privacy, and digital opportunities straight to your inbox.

    WifiPortal.tech is a blogging platform focused on cybersecurity, online privacy, and digital opportunities. We share easy-to-follow guides, tips, and resources to help you stay safe online and explore new ways of working in the digital world.

    Our Picks

    YouTube Premium is now 50% off for certain Google One subscribers

    April 16, 2026

    Windows is getting stronger RDP file protections to fight phishing attacks

    April 16, 2026

    Google adds campaign-level filtering to bulk ad review appeals

    April 16, 2026
    Most Popular
    • YouTube Premium is now 50% off for certain Google One subscribers
    • Windows is getting stronger RDP file protections to fight phishing attacks
    • Google adds campaign-level filtering to bulk ad review appeals
    • MKBHD pulls back the curtain on LG’s cancelled rollable
    • Medium-severity flaw in Microsoft SharePoint exploited
    • Google’s New Gemini App for Mac Comes With Two Key Benefits (and One Drawback)
    • OpenAI pulls out of a second Stargate data center deal
    • Critical Nginx UI auth bypass flaw now actively exploited in the wild
    © 2026 WifiPortal.tech. Designed by WifiPortal.tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms and Conditions
    • Disclaimer

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