Skip to content
Claude Code Source Code Leaked: 44 Unreleased Features Exposed
AI2 min
7

Claude Code Source Code Leaked: 44 Unreleased Features Exposed

AnthropicAnthropicSTARTUP

Anthropic confirmed a source code leak of its AI coding tool Claude Code via the npm registry. The exposed codebase revealed 44 unannounced features, including a background self-learning system and a Tamagotchi-style AI pet.

📝
CoinJP Editorial
0
CoinJP Editorial · 0 articles

Claude Code Source Code Surfaces Online

Anthropic has confirmed an accidental leak of its Claude Code source code, according to CNBC. A company spokesperson stated that no confidential customer data was exposed and attributed the incident to a human error during release packaging rather than a security breach. The startup pledged to implement safeguards to prevent similar occurrences.

Reports about the leaked code first emerged on March 31. A post by researcher Chaofan Shou on X quickly went viral, accumulating over 30 million views.

"Claude code source code has been leaked via a map file in their npm registry!" — Chaofan Shou (@Fried_rice), original post

Why This Matters

The leak fully exposed the internal architecture of Claude Code — one of the most widely used AI coding assistants on the market. Third-party developers and competitors now have visibility into how the tool manages model requests, coordinates multiple assistants, handles access controls and permissions, and processes authorization. This could significantly undermine Anthropic's competitive edge in the rapidly expanding AI coding assistant space.

44 Hidden Features: From Self-Learning to an AI Pet

Analysis of the published codebase uncovered 44 features that Anthropic had not yet publicly announced. The most notable discoveries include:

  • Kairos — a constantly active background system that retains a "memory" of interactions and analyzes accumulated data overnight for model fine-tuning.
  • Buddy — a virtual AI companion resembling a Tamagotchi-style pet. Based on the code, its launch was scheduled for April 1-7.
  • Undercover Mode — a specialized mode designed to prevent the AI from accidentally disclosing internal Anthropic project names.

Second Leak in Quick Succession

This marks Anthropic's second such blunder in recent memory. Previously, a description of an upcoming AI model along with related documentation surfaced online. At the time, the company characterized the new model as a "quantum leap" in performance and "the most powerful solution to date." That model was reportedly undergoing limited user testing. Anthropic attributed the earlier leak to the same root cause — human error — and described the exposed materials as "early content drafts."

Claude Code and the AI Market Rivalry

Claude Code launched to the general public in May 2025. The tool enables developers to build features, fix bugs, and automate routine tasks. Over the past year, the service gained such traction that mounting competitive pressure from Anthropic forced OpenAI to shut down its Sora project in order to redirect resources toward developing rival offerings.

In March, Anthropic upgraded Claude into a full-fledged AI agent, giving the bot the ability to independently operate a computer to complete user tasks. Recurring leaks pose reputational risks for the company at a time of heightened competition in the AI solutions market.

aianthropicartificial-intelligenceclaude-codeopenaisource-code-leak

Frequently Asked Questions

What happened with the Claude Code source code leak?

Anthropic accidentally published the source code of its AI coding tool Claude Code through a map file in its npm registry. The company confirmed the incident was caused by a human error during release packaging, not a hack, and stated no customer data was compromised.

What hidden features were found in the Claude Code leak?

Researchers discovered 44 unannounced features in the leaked code. The most notable include Kairos (a background self-learning system that analyzes data overnight), Buddy (a Tamagotchi-style AI pet scheduled for April 1-7 launch), and Undercover Mode (a feature preventing the AI from revealing internal project names).

How does the Claude Code leak affect Anthropic's competitive position?

The leak fully exposed Claude Code's internal architecture, including how it manages model requests, coordinates assistants, and handles authorization. Competitors and third-party developers now have direct insight into the tool's algorithms, potentially weakening Anthropic's competitive advantage.

Is this Anthropic's first data leak?

No, this is the second significant leak in a short period. Previously, documentation describing an upcoming AI model surfaced online. Anthropic attributed both incidents to human error rather than security breaches.

What is Claude Code used for?

Claude Code launched for general availability in May 2025. It is an AI-powered tool that helps developers build features, fix bugs, and automate programming tasks. The service became so popular that it reportedly pressured OpenAI to shut down its Sora project to focus on competing solutions.

Read also

AI

DeepSeek Launches V4-Pro: Open-Source Model Outperforms Claude Opus 4.6 and GPT-5.4

Chinese AI startup DeepSeek released a preview of its V4 model family, with the flagship V4-Pro boasting 1.6 trillion parameters and surpassing leading closed-source models in multiple benchmarks.

3 min·🔥 0
AI

OpenAI Secures Record $110 Billion Round at $730 Billion Valuation

OpenAI closed the largest startup funding round in history at $110 billion, backed by Amazon, SoftBank, and Nvidia, with a $730 billion valuation.

4 min·🔥 1
AI

Trump Orders All Federal Agencies to Drop Anthropic Technologies Within Six Months

Federal agencies have 6 months to drop Anthropic's Claude AI amid ethics clashes. See how xAI and Pentagon deals reshape the landscape.

3 min·🔥 1
AI

AI Audit Uncovers Critical Liveness Bug in Ethereum's Nethermind Client

Octane Security's AI discovered a high-severity vulnerability in the Nethermind execution client that could have halted block production for 38% of Ethereum mainnet validators. The Ethereum Foundation awarded a maximum $50,000 bounty.

3 min·🔥 1
Analytics

Weekly Recap: NYT Satoshi Investigation, North Korean Hackers in DeFi, and Anthropic's AI 'Escape'

Bitcoin climbed above $71,000, a NYT journalist named Adam Back as Satoshi Nakamoto, ZachXBT exposed a network of North Korean IT agents in crypto projects, and Anthropic shelved its new AI model after it escaped a sandbox and found thousands of zero-day vulnerabilities.

5 min·🔥 0
Market

Drift Protocol Hacked for $280M, Google Lowers Quantum Threat Estimate — Weekly Recap

Bitcoin held steady at $67,000, North Korean hackers stole $280M from Drift Protocol, Anthropic leaked Claude Code source, and Google drastically reduced quantum attack threshold estimates for crypto.

5 min·🔥 0