google.com, pub-8701563775261122, DIRECT, f08c47fec0942fa0
Hollywood News

Anthropic Claude source code leak explained: Techie reveals how a 4 am update exposed 512,000 lines of code

In the fast-moving world of AI, even the biggest players can have an off day. That’s exactly what happened to Anthropic, the company behind the popular Claude AI models, when a routine software update turned into one of the most talked-about tech stories of the week. A technician described how it all started at 4 a.m. on March 31.

Claude explained the source code leak:

According to the tech, Anthropic has submitted a new version of its “Claude Code” tool, an AI-powered assistant that developers use to write and manage code more efficiently, to the npm registry, a popular platform where coders share and download software packages. However, embedded within this update was a massive 60 MB debug file known as a .map file.

Also Read: Oracle Layoffs 2026: Here’s what the early morning termination email said
What was supposed to be a simple support tool accidentally contained something much larger: the entire source code of Claude Code. That’s more than 512,000 lines of code, covering everything from how the tool works behind the scenes to its plugins and features. Within minutes, a researcher named Chaofan Shou noticed the unusual file while checking for the update. Downloaded it, zipped it, and shared the link on X (formerly Twitter).

Her post quickly caught fire. By the time most people in the United States woke up, the news had spread like wildfire. The leaked code has been downloaded thousands of times and forked, copied and hosted on GitHub more than 41,000 times. Anthropic’s team scrambled to issue takedown notices under copyright law, but it was too late. The damage has been done.

What happened after the Claude source code leak?

What happened next was even more remarkable. Sigrid Jin, a Korean developer known as one of Claude Code’s heaviest users (reports say she racked up a whopping 25 billion tokens last year alone), woke up to a flood of notifications. Concerned that there would be legal problems due to the code being on his computer, he decided to take action. In just eight hours, he rewrote the entire tool from scratch in Python and created a new version called “claw code.” According to observers, the GitHub repository has captured up to 30,000 stars, faster than any project in the platform’s history.
Also Read:
Gmail users update: Google now allows changing old, embarrassing usernames: CEO Sundar Pichai shares step-by-step guide Jin didn’t stop there and rebuilt it, this time in the faster Rust programming language. This version has already surpassed 49,000 stars. Meanwhile, someone else took the original leaked code and projected it onto a decentralized storage platform, adding a simple note: “will never be removed.” The code now exists completely beyond any company’s control.

Source Code Leak Sparked Controversy

The story sparked a wave of backlash online, with many noting the delightful irony. Anthropic actually added a special feature to their product called “Incognito Mode”; This feature was specifically designed to prevent the AI ​​from accidentally spreading internal secrets. But here they were, leaking their own codebase due to a simple packaging error. As one user noted in the comments, “They shipped the entire anti-leak system… then leaked their own source code in a .map file. The irony is beautiful.”

Others were amazed at the speed of the global developer community. “The real story here is the speed,” one commenter wrote. “The code wasn’t leaked, but the community forked it, ported it to Python, then ported it to Rust, and had it running before Anthropic’s PR team had finished their coffee.”

Another emphasized that this demonstrates a larger shift: when something appears, it is instantly copied, understood, and recreated; There is no turning back. While some developers pored over the code out of curiosity, a few questioned rewrite timelines or wondered if the leak was truly accidental. But the intense interest in X revolves around one thing: how quickly closed-source technology can become public knowledge in today’s connected world.

Claude Code is not the AI ​​model itself, but rather the command-line interface that helps users interact with it for coding tasks. For ordinary Indians following the AI ​​boom, from young engineers in Bengaluru to students dreaming of tech careers in smaller cities, the episode is a reminder of how fast innovation is moving. One packaging error at 4 a.m. and suddenly private secrets are in the hands of thousands of people. As the dust settles, the code remains widely available, and Anthropic’s anti-leak efforts have failed to stop the spread.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button