Claude Code leaked. What Anthropic accidentally revealed.
The incident exposed not just an embarrassing security vulnerability. It also laid bare where AI coding tools are heading next.
The starting point was apparently an improperly packaged release of Claude Code. In the process, a source map slipped through. Something like that sounds harmless. It isn't. From a minified build, readable source code can easily be reconstructed with it.
The internet reacted as it always does. Mirror, fork, archive. Within hours, the code was copied all over the place. While Anthropic managed to revert the mistake, by then it was effectively already over.
Context is crucial here. What leaked wasn't the core of the model. No model weights. No customer data. No API keys. No secret training magic. What became visible was the product layer surrounding Claude Code. And that exact layer is strategically fascinating.
Indeed, numerous features showed up in the code that remain disabled in public builds. Put differently: the roadmap was suddenly laid out on the table. Not as a marketing slide, but as an actual implementation with flags set to false.
1. New models and background agents
References to Mythos and Capibara emerge in the leak. On top of that is a background agent named Kairos. The concept is simple yet massive: an agent continues working even when you aren't sitting at your desk, monitors repositories, and chimes in with updates.
2. Planning before execution
Another trail points to something called Ultra Plan. What's apparently meant is a separate, remote planning session lasting around 30 minutes. First, the assignment is cleanly broken down. Then the actual work starts. That's expensive, slow, and precisely why it's plausible for complex tasks.
3. Multiple agents instead of a single chat window
A coordinator mode also surfaces. One agent orchestrates several others. Each operates with its own toolbox and scratchpad. Additionally, there are hints of scheduling, cron jobs, genuine browser access, and persistent memory across sessions.
4. Yes, even a pet
The strangest discovery is a hidden buddy system. Little virtual companions with rarity tiers, hats, and stats like Debugging, Chaos, and Snark. It sounds half product idea, half April Fools' prank. Yet it also demonstrates how seriously such tools are building for retention and habits.
Besides that, other clues were found that are less cute and considerably more intriguing: a voice feature for real-time conversations with agents; a sort of background memory consolidation, referred to by parts of the community as autodream; slash commands such as advisor, bug hunter, or teleport; and a mode called undercover, the exact purpose of which remains unclear.
It's also interesting how clearly a pattern emerges here. AI tools are moving away from simple chatbots toward persistent operating systems for work. With memory. With planning. With background processes. With coordination between specialized agents. In short: less prompt toy, more operating system for knowledge work.
And then comes the uncomfortable part: copyright. The leak raises a question that will occupy us for quite some time. What happens when someone doesn't merely copy leaked code, but uses AI to translate it into another language, recreating the exact same functionality?
The tempting internet response often goes: new code, so everything's clean. It's not that simple. Between outright code theft and clean-room reverse engineering lies a legal minefield. AI doesn't shrink this minefield; it merely speeds it up.
That's where things get fascinating. Until now, so-called clean-room engineering was labor-intensive, costly, and strictly segregated organizationally. With AI, that effort shrinks dramatically. Functionality can be rebuilt very quickly. The only question is whether courts will later accept that as genuinely independent.
I wouldn't bank on that blindly. If you take leaked code as source material and rewrite it into Python or something else via a model, you haven't simply prompted the problem away. The form changes; the provenance remains precarious.
Strategically, the leak is nonetheless pure gold for competitors. Every major provider now sees the direction Anthropic is heading: more memory, more background tasks, more agents, more tooling outside the chat box. Much of this appears to be a reaction to the pressure from open agent systems like OpenClaw, though that can't be proven from the leak alone.
A few side notes make the whole affair almost absurd. Claude appears to evaluate signs of user frustration. There are 187 different text strings for the loading indicator. And references to agentic crypto payments can apparently also be found in the code. No coin, no investment tip—just another indicator of how broadly these systems are already conceived.
The leak reveals the next phase
Anthropic suffered an embarrassing blunder. But the broader takeaway is different: Claude Code is clearly en route from being an assistant to becoming a persistent working agent. That's precisely where the market is heading—and that's precisely where the legal dispute begins now, too.