Artificial Intelligence

Anthropic Claude Code Leak Exposes Architecture, Unshipped Features

San Francisco: Anthropic has accidentally exposed the source code of Claude Code, its flagship AI coding tool, through a packaging error in a routine npm update. Version 2.1.88 of the Claude Code package was published to the public npm registry with a 59.8MB JavaScript source map file attached, a debugging artifact that enabled anyone to reconstruct nearly 2,000 TypeScript files and over 500,000 lines of code.

Security researcher Chaofan Shou flagged the exposure on X at 4:23am ET on March 31. Within hours, the codebase was mirrored to GitHub, where it surpassed 84,000 stars and 82,000 forks. Anthropic pulled the affected version the same day.

In a statement confirmed to multiple outlets, Anthropic said no customer data or credentials were involved. “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 exposed code relates to Claude Code agentic harness, not the underlying AI model itself.

What the leak revealed goes beyond source code. Developers digging through the files found 44 feature flags for capabilities fully built but not yet shipped, including a persistent background agent mode, session memory consolidation, and remote control from a phone or browser. The leak also confirmed internal references to an upcoming model, separately identified as Capybara, that Anthropic is actively preparing to launch.

The timing is damaging. Anthropic is preparing for an IPO expected later this year. Claude Code generates $2.5 billion in annualised revenue and is central to the company’s enterprise growth story. Competitors now have a detailed engineering roadmap for how Anthropic builds production-grade agentic systems.

This is the second major exposure incident in weeks. Days earlier, Fortune reported that Anthropic had left nearly 3,000 internal files publicly accessible, including a draft blog post detailing the upcoming Capybara model.

Amita Parul

Amita Parul is an Independent journalist with experience in reporting and commentary on current events and sociopolitical developments. She contributes original reporting and analysis that aligns with Tea4Tech’s editorial standards for accuracy, transparency, and context, focusing on business and technology trends. || Amita covers emerging news stories and provides explanatory insights that help readers understand both the events and their implications.

Recent Posts

Microsoft to Invest $10 Billion in Japan for AI & Cybersecurity Push

Tokyo: Microsoft has announced plans to invest USD 10 billion in Japan over the next few years to…

2 hours ago

Google Brings Veo 3.1, AI Avatars to Vids in Major Update

San Francisco: Google has rolled out a significant update to Vids, its AI-powered video creation…

3 hours ago

Gnani AI Raises $10M to Build Sovereign Voice AI for Enterprise Markets

Bengaluru: Gnani AI has raised $10 million in a Series B round to scale its…

22 hours ago

OpenAI Raises $122B at $852B Valuation as It Races Toward IPO

SAN FRANCISCO: In largest fundraising round in the history, OpenAI has closed a $122 billion…

23 hours ago

Samsung Launches Hearapy App to Cure Motion Sickness

South Korea: Samsung recently launched a new Android app called Hearapy that aims to reduce motion sickness, a problem many…

23 hours ago

OpenAI Brings ChatGPT to Apple CarPlay

San Francisco: OpenAI has introduced ChatGPT on Apple CarPlay, allowing drivers to interact with the AI…

23 hours ago