Claude Code Leak Deep Dive, What's Next for Anthropic?

By: blockbeats|2026/04/01 18:00:03
0
Share
copy
Original Article Title: What to Prepare for Based on the Claude Code Leak
Original Author: Elliot Arledge
Translation: Peggy, BlockBeats

Editor's Note: In the early hours of March 31st, Chaofan Shou from Solayer Labs discovered that Anthropic's Claude Code accidentally included the full source code when published on npm. Within hours, the related code was synced to GitHub, quickly gaining attention.

An oversight in a build configuration allowed outsiders a rare opportunity to observe the true progress of their product from a code perspective. Based on this "accidental disclosure" of the source code, the author, after reading through the source code, attempts to answer two questions: Where is the Claude Code heading? And what does this mean for users?

From the code perspective, the Claude Code is introducing a series of undisclosed capabilities, including the continuous running autonomous mode (KAIROS), the PROACTIVE mode that can actively perform tasks in user downtime, and the COORDINATOR mechanism for scheduling multiple sub-agents. These changes collectively point in a clear direction: AI is shifting from a tool that responds to commands to a system that can run continuously and execute tasks proactively. Meanwhile, design elements such as permission automation, stealthy collaboration, and team memory also reflect a practical concern: as AI truly enters workflows, how to enhance efficiency while controlling risks and boundaries.

So, what does this mean for users?

In fact, these capabilities are not just added in isolation but are gradually building an "agent system" that has background running capabilities, cross-task memory, parallel agent collaboration, and can directly call tools to complete tasks. The future competition may no longer be just about model capabilities but about who can make this system more stable and controllable.

The significance lies not in the "accidental disclosure" itself but in the direction it prematurely revealed.

The following is the original article:

Earlier today, @Fried_rice on X discovered that when Anthropic released the Claude Code CLI to npm, it accidentally included a source map file.

Specifically, version 2.1.88 of the @anthropic-ai/claude-code package contained a 59.8MB file cli.js.map, which embedded the entire original TypeScript source code in the sourcesContent field. This was not a hack but rather an oversight in the build configuration—debug artifacts were bundled into the production environment. However, this also inadvertently exposed the future direction of the Claude Code.

I spent several hours reading through this source code. Here are some key points I noticed and what they might mean for the user.

Key Features

Automated Intelligence is on the Way

The most frequently referenced feature flag in the codebase is called KAIROS (appearing 154 times). From the code, this seems to be a "Self-Governance Mode" that can turn Claude Code into a continuously running intelligence. It includes background sessions, a memory consolidation mechanism called "dream," GitHub webhook subscriptions, push notifications, and channel-based communication.

Additionally, there is PROACTIVE mode (appearing 37 times), allowing Claude to operate independently between user messages. The system sends "tick" prompts to keep the intelligence running, and Claude will autonomously decide what to do upon each "awakening." The prompts even explicitly state, "You are running autonomously," instructing the model to "look for useful work" and "act based on best judgment, not request confirmation."

COORDINATOR_MODE (appearing 32 times) goes even further—it turns Claude into an orchestrator that can create and manage multiple concurrent worker intelligences. This coordinator is responsible for assigning tasks to different workers for research, implementation, and validation. The system prompts also include detailed instructions on how to write prompts for workers, when to continue using existing workers, when to spawn new agents, and how to handle worker failures.

Permission Prompts May Vanish

There is a flag called TRANSCRIPT_CLASSIFIER (appearing 107 times). From the context, it seems like an "Automatic Mode" that automatically approves tool permissions using an AI classifier. If this feature goes live, the current frequent interrupting permission confirmation prompts may become optional or even entirely disappear within trusted operations.

Model Codenames and Versioning

The source code also reveals some internal codenames for the Claude model:

Capybara appears to be a variant of Claude 4.6. The comments mention "Capybara v8" and note some bug fixes, such as a false positive rate of 29–30% (compared to 16.7% in v4), a tendency to overcomment code, and a mechanism called "assertiveness counterweight."

Fennec was once a codename but later transitioned to Opus 4.6.

Numbat has not been released yet. There is a comment saying, "Remove this section upon numbatt release."

The code also mentions opus-4-7 and sonnet-4-8, explicitly stating that these version numbers should not appear in public commits—implying that these versions already exist internally.

"Undercover Mode": Anonymous Participation in Open Source

There is also a feature called "Undercover Mode," specifically used by Anthropic employees when submitting code from Claude Code to public repositories. This mode removes all AI-related identifiers, including:

· No AI attribution in commits

· Hiding model codenames

· Removing all references to "Claude Code" or AI

· Not even disclosing the model's own version

A tooltip explicitly states, "You are running in UNDERCOVER mode in a public/open-source repository. Your commit messages, PR titles, and bodies must not contain any Anthropic internal information. Do not expose your identity."

Furthermore, there is no toggle to turn off this mode—it is enabled by default whenever the system cannot ascertain that it is in an internal repository.

Voice Mode

VOICE_MODE is mentioned 46 times, indicating that the system has integrated voice interaction capabilities, including speech-to-text and text-to-speech.

An "Electronic Pet" System

Now, this is a bit intriguing. The code contains a hidden BUDDY system, essentially an "electronic pet" within the terminal (similar to Tamagotchi). This includes:

·18 species (duck, goose, cat, dragon, octopus, owl, penguin, turtle, ghost, hexadecidragon, etc.)

·Rarity system (Legendary tier with 1% probability)

·Cosmetic decorations (crown, top hat, halo, wizard hat, etc.)

·Attribute values (DEBUGGING, PATIENCE, CHAOS, WISDOM, SNARK)

·There are even "Shiny" versions

The species name capybara is obfuscated through String.fromCharCode(), aiming to avoid triggering internal leak detection systems — which indirectly indicates the sensitivity of this codename.

Other notable features

FORK_SUBAGENT: Allows self-forking into multiple concurrent agents

VERIFICATION_AGENT: Used for independent, adversarial result validation

ULTRAPLAN: Advanced planning capability

WEB_BROWSER_TOOL: Browser automation

TOKEN_BUDGET: Allows explicit token budgeting (e.g., "+500k" or "spend 2M tokens")

TEAMMEM: Supports inter-team shared memory

What Does This Mean

Key takeaways:

The Claude Code is notably moving towards "high autonomy." Features like KAIROS, PROACTIVE, and COORDINATOR point to a future where Claude can run as a background daemon, continuously monitoring repositories and actively performing tasks.

Permission friction is being reduced. Automated approval mechanisms indicate their efforts to decrease frequent manual confirmation steps.

The model versioning system is far more complex than the public API. It contains multiple variations, quick modes, and a codename system, corresponding to different abilities and issues.

Security mechanisms are highly emphasized. The Bash command validation alone consists of over 2500 lines of code, along with sandboxing, stealth mode, and input sanitization.

The product is introducing "personality." The Buddy system implies that Claude Code is not just a tool but is attempting to become a "companion."

How to View Yourself

As of the time of writing, this source code is still available on npm. Download @anthropic-ai/claude-code@2.1.88, locate cli.js.map, parse the JSON, and extract the sourcesContent field. I will not redistribute the code, but analyzing and discussing publicly accessible content is fair game.

The initial discovery was credited to @Fried_rice on X.

[Original Tweet]

-- Price

--

You may also like

Why can this institution still grow by 150% when the scale of leading crypto VCs has shrunk significantly?

The merger of the two major payment companies, Bridge and BVNK, establishes their industry position and revenue scale.

Anthropic's $1 trillion, compared to DeepSeek's $100 billion

The capital market has no faith, it only believes in the profit and loss statement.

Geopolitical Risk Persists, Is Bitcoin Becoming a Key Barometer?

Liquidity Still Unleashed, Which Force Will Dictate Pricing

Annualized 11.5%, Wall Street Buzzing: Is MicroStrategy's STRC Bitcoin's Savior or Destroyer?

25M Transaction Volume, 17,204 BTC

An Obscure Open Source AI Tool Alerted on Kelp DAO's $292 million Bug 12 Days Ago

AI Agent could potentially become an additional security layer for DeFi investors.

Mixin has launched USTD-margined perpetual contracts, bringing derivative trading into the chat scene.

The privacy-focused crypto wallet Mixin announced today the launch of its U-based perpetual contract (a derivative priced in USDT). Unlike traditional exchanges, Mixin has taken a new approach by "liberating" derivative trading from isolated matching engines and embedding it into the instant messaging environment.


Users can directly open positions within the app with leverage of up to 200x, while sharing positions, discussing strategies, and copy trading within private communities. Trading, social interaction, and asset management are integrated into the same interface.


Simplified Trading Experience: No KYC Required, Opening a Position in Five Steps


Based on its non-custodial architecture, Mixin has eliminated friction from the traditional onboarding process, allowing users to participate in perpetual contract trading without identity verification.


The trading process has been streamlined into five steps:

· Choose the trading asset

· Select long or short

· Input position size and leverage

· Confirm order details

· Confirm and open the position


The interface provides real-time visualization of price, position, and profit and loss (PnL), allowing users to complete trades without switching between multiple modules.


Social-Native Trading: Strategy and Execution Completed in the Same Context


Mixin has directly integrated social features into the derivative trading environment. Users can create private trading communities and interact around real-time positions:

· End-to-end encrypted private groups supporting up to 1024 members

· End-to-end encrypted voice communication

· One-click position sharing

· One-click trade copying


On the execution side, Mixin aggregates liquidity from multiple sources and accesses decentralized protocol and external market liquidity through a unified trading interface.


By combining social interaction with trade execution, Mixin enables users to collaborate, share, and execute trading strategies instantly within the same environment.


Referral Mechanism: Non-institutional users can receive up to 60% fee split


Mixin has also introduced a referral incentive system based on trading behavior:

· Users can join with an invite code

· Up to 60% of trading fees as referral rewards

· Incentive mechanism designed for long-term, sustainable earnings


This model aims to drive user-driven network expansion and organic growth.


Self-Custody Architecture and Built-in Privacy Mechanism


Mixin's derivative transactions are built on top of its existing self-custody wallet infrastructure, with core features including:


· Separation of transaction account and asset storage

· User full control over assets

· Platform does not custody user funds

· Built-in privacy mechanisms to reduce data exposure


The system aims to strike a balance between transaction efficiency, asset security, and privacy protection.


A New Path for On-Chain Derivatives


Against the background of perpetual contracts becoming a mainstream trading tool, Mixin is exploring a different development direction by lowering barriers, enhancing social and privacy attributes.


The platform does not only view transactions as execution actions but positions them as a networked activity: transactions have social attributes, strategies can be shared, and relationships between individuals also become part of the financial system.


Regulatory Background


Mixin's design is based on a user-initiated, user-controlled model. The platform neither custodies assets nor executes transactions on behalf of users.


This model aligns with a statement issued by the U.S. Securities and Exchange Commission (SEC) on April 13, 2026, titled "Staff Statement on Whether Partial User Interface Used in Preparing Cryptocurrency Securities Transactions May Require Broker-Dealer Registration."


The statement indicates that, under the premise where transactions are entirely initiated and controlled by users, non-custodial service providers that offer neutral interfaces may not need to register as broker-dealers or exchanges.


About Mixin


Mixin is a decentralized, self-custodial privacy wallet designed to provide secure and efficient digital asset management services.


Its core capabilities include:

· Aggregation: integrating multi-chain assets and routing between different transaction paths to simplify user operations

· High liquidity access: connecting to various liquidity sources, including decentralized protocols and external markets

· Decentralization: achieving full user control over assets without relying on custodial intermediaries

· Privacy protection: safeguarding assets and data through MPC, CryptoNote, and end-to-end encrypted communication


Mixin has been in operation for over 8 years, supporting over 40 blockchains and more than 10,000 assets, with a global user base exceeding 10 million and an on-chain self-custodied asset scale of over $1 billion.


Popular coins

Latest Crypto News

Read more