Anthropic's Claude Code leak exposes Tamagotchi pet and always-on agent features
A source code leak in Anthropic's Claude Code 2.1.88 update exposed more than 512,000 lines of TypeScript, revealing unreleased features including a Tamagotchi-like pet interface and a KAIROS feature for background agent automation. Anthropic confirmed the leak was caused by a packaging error, not a security breach, and has since fixed the issue.
Anthropic's Claude Code Leak Exposes 512,000 Lines Including Unreleased Features
Anthropic's Claude Code 2.1.88 update accidentally included a source map file containing its full TypeScript codebase—more than 512,000 lines of code—which users quickly discovered and copied to public GitHub repositories. The leak has since amassed over 50,000 forks.
What the Leak Revealed
Users analyzing the code have identified several unreleased features:
Tamagotchi-style pet interface: A virtual pet that "sits beside your input box and reacts to your coding," according to Reddit users who reviewed the code.
KAIROS feature: Described as an "always-on background agent" capable of executing tasks autonomously on a user's behalf without explicit prompts.
Internal architecture details: The leak exposed Anthropic's memory architecture, AI bot instructions, and comments from developers. One engineer's note acknowledged that "memoization here increases complexity by a lot, and im not sure it really improves performance."
Anthropic's Response
Anthropric spokesperson Christopher Nulty stated: "Earlier today, a Claude Code release included some internal source code. No sensitive customer data or credentials were involved or exposed. 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 company fixed the issue shortly after discovery, but the code had already been mirrored publicly.
Security and Operational Impact
Arun Chandrasekhar, an AI analyst at Gartner, told The Verge that while the leak poses "risks such as providing bad actors with possible outlets to bypass guardrails," its long-term impact may be limited. He framed it as "a call for action for Anthropic to invest more in processes and tools for better operational maturity."
The leak does not appear to include API keys, credentials, or customer data—distinguishing it from a full security breach. However, it provides potential attackers with detailed knowledge of Claude Code's internals, including security controls and implementation details.
Context: Claude Code's Evolution
Anthropric launched Claude Code in February 2025 as an AI-powered coding assistant. The tool gained significant traction after Anthropic added agentic capabilities, allowing it to perform tasks autonomously. The company also released Cowork, a platform that integrates Claude Code with computer control capabilities.
What This Means
The leak accelerates public visibility of Anthropic's upcoming features by months, potentially influencing competitor roadmaps and user expectations. The Tamagotchi pet and KAIROS agent features suggest Anthropic is moving toward more interactive and autonomous coding assistance. However, the incident highlights operational vulnerabilities in deployment processes at major AI labs—a concern that extends beyond Anthropic to the entire industry. Organizations handling sensitive AI development will likely scrutinize their build and release pipelines more carefully.
Related Articles
Claude Duet agent, in research preview for US Pro, Max and Ultra users, is useful but jumpy, The Verge finds
Claude Duet, Anthropic's AI agent for professionals and small business owners, is a research preview limited to US Pro, Max and Ultra subscribers, with a waitlist. In The Verge's hands-on, it connected information across email, Slack and Google Docs, but misjudged urgency and timing.
Anthropic launches Claude Meetings beta, putting Claude in video calls for Team and Enterprise plans
Anthropic began rolling out Claude Meetings in beta on November 12, 2026 for Team and Enterprise plans. Claude joins video calls as a visible participant that answers questions and turns discussions into notes, action items and editable documents.
Anthropic Launches Claude for Manufacturing, a 17-Skill Plugin for Quoting, Quality and Maintenance
Anthropic launched Claude for Manufacturing on November 12, 2026. The plugin has 17 skills for quoting, quality investigations, production reporting, maintenance diagnosis, sourcing and design. It works from a manufacturer's existing records and sends processes to employee review.
Anthropic tells Claude Opus 5.5 users to drop "think hard" prompts and start at Medium effort
Anthropic says users should remove phrases like "think hard" from prompts for Claude Opus 5.5, which reasons adaptively on its own. The company also recommends starting at the default Medium effort level, which it says matches Opus 5 on High in internal tests.
Comments
Loading...