product updateAnthropic

Anthropic's Claude Code leak exposes Tamagotchi pet and always-on agent features

TL;DR

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.

2 min read
0

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

model release

US government allows Anthropic to release Claude Mythos 5 to 100+ institutions after two-week export control block

The US Commerce Department has partially lifted export controls on Anthropic's Claude Mythos 5 model, permitting its release to over 100 US institutions including major companies and government agencies. The restrictions, imposed two weeks ago alongside a block on Claude Fable 5, reportedly stemmed from concerns about potential jailbreaks and Chinese access.

research

6,000 prompt injection attempts fail against Claude Opus 4.6 in public hacking challenge

A public hacking challenge targeting an AI assistant powered by Claude Opus 4.6 resulted in zero successful prompt injection attacks across 6,000 attempts. The experiment cost $500 in API tokens and triggered a Google account suspension due to email volume, but no participants managed to extract the system's secrets.

product update

Trump Administration Permits Anthropic's Claude Mythos 5 for 100+ US Organizations After Two-Week Ban

The Trump administration is allowing Anthropic to deploy Claude Mythos 5 to over 100 specific US government agencies and companies, two weeks after banning the cybersecurity model. Commerce Secretary Howard Lutnick approved access for organizations operating critical infrastructure, including non-American employees, though Fable 5 remains unavailable.

product update

Google brings personalized image generation to all US Gemini users, expanding from paid-only feature

Google is expanding personalized image generation in the Gemini app to all eligible US users, removing the previous restriction to AI Pro and Ultra subscribers. The feature allows Gemini to access user data across Google services like Gmail and Photos when generating images.

Comments

Loading...