Skip to main content
Mar 31

Claude Leak Uncovers Secret Tamagotchi AI Pet, Always-On Agent

A substantial leak of over 512,000 lines of code from Anthropic's Claude Code has reportedly exposed unreleased features, internal instructions for th

2 min read86 views3 tags
Originally reported bytheverge

A substantial leak of over 512,000 lines of code from Anthropic's Claude Code has reportedly exposed unreleased features, internal instructions for the AI, and deeper insights into its architecture.

The incident unfolded following the release of Claude Code’s 2.1.88 update. Users quickly identified that the update inadvertently contained a package with a source map file, revealing its complete TypeScript codebase. The discovery was rapidly brought to public attention by an individual on X, who subsequently shared the file containing the extensive code. This leaked data, comprising more than half a million lines, offers an unprecedented glimpse into the operational mechanics of Anthropic's AI-powered coding assistant, as initially reported by Ars Technica and VentureBeat.

Those who have thoroughly examined the code claim to have unearthed a range of upcoming functionalities, explicit instructions Anthropic provides to its AI bot, and details concerning its "memory" architecture. Among the more intriguing findings are references to a Tamagotchi-like virtual pet that "sits beside your input box and reacts to your coding," according to a Reddit post. Additionally, a "KAIROS" feature was identified, potentially indicating an always-on background agent. The leak also included a candid comment from an Anthropic coder, who admitted, "the memoization here increases complexity by a lot, and im not sure it really improves performance."

Despite Anthropic’s prompt action to rectify the issue, the code had already been widely disseminated. Users promptly mirrored the codebase onto GitHub, where the repository has since accumulated more than 50,000 forks, or copies. Claude Code, which Anthropic first launched in February 2025, had recently gained significant traction after integrating agentic capabilities, enabling it to perform tasks autonomously on behalf of users.

In response to the leak, Anthropic spokesperson Christopher Nulty issued an emailed statement to The Verge, clarifying the situation. "Earlier today, a Claude Code release included some internal source code. No sensitive customer data or credentials were involved or exposed," Nulty stated. He further emphasized, "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."

Providing an external perspective, Arun Chandrasekaran, an AI analyst at Gartner, shared his insights with The Verge. While acknowledging that the Claude Code leak presents "risks such as providing bad actors with possible outlets to bypass guardrails," he suggested that its long-term impact might be limited. Instead, Chandrasekaran views the incident as a "call for action for Anthropic to invest more in processes and tools for better operational maturity."

ES
Editorial StaffEditor

The Editorial Staff at AIChief is a team of professional content writers with extensive experience in AI and marketing. Founded in 2025, AIChief has quickly grown into the largest free AI resource hub in the industry.

View all posts
Reader feedback

What did you think of this story?

User Comments

Filter:
No comments yet. Be the first to comment!
Continue reading
View all news