Back to List
Anthropic Claude Code Leak Reveals TypeScript Source Map and Experimental Always-On Agent Features
Industry NewsAnthropicCybersecurityArtificial Intelligence

Anthropic Claude Code Leak Reveals TypeScript Source Map and Experimental Always-On Agent Features

A significant data leak has impacted Anthropic following the release of the Claude Code 2.1.88 update. Users discovered that the update inadvertently included a package with a source map file containing the tool's TypeScript codebase. The leak, which was highlighted by a user on X (formerly Twitter), reportedly exposes over 512,000 lines of code. This accidental disclosure provides an unprecedented look into the internal mechanics of Claude Code, including references to a Tamagotchi-style 'pet' feature and an always-on agent. The incident has sparked intense discussion within the developer community as the source code provides a direct window into Anthropic's development process and upcoming experimental features that were not yet intended for public scrutiny.

The Verge

Key Takeaways

  • Anthropic's Claude Code 2.1.88 update accidentally included a source map file revealing its TypeScript codebase.
  • The leak reportedly consists of more than 512,000 lines of code.
  • Discovered features within the code include a Tamagotchi-style 'pet' and an always-on agent functionality.
  • The exposure was first brought to public attention by a user on the social media platform X.

In-Depth Analysis

The Nature of the Claude Code Leak

The leak occurred immediately following the deployment of the 2.1.88 update for Claude Code. Unlike standard software releases where code is obfuscated or compiled, this specific update contained a package with a source map file. In software development, source maps are typically used for debugging, as they map transformed code back to the original source. By including this file, Anthropic inadvertently allowed users to reconstruct and view the original TypeScript codebase, leading to the exposure of over 512,000 lines of internal logic.

Discovery of Experimental Features

As developers and researchers parsed through the leaked data, two specific elements caught significant attention: a Tamagotchi-style 'pet' and an 'always-on' agent. While the original news does not detail the specific functionality of these features, their presence in the codebase suggests that Anthropic has been experimenting with more interactive and persistent AI behaviors. The 'pet' concept implies a gamified or personality-driven interface, while the 'always-on' agent suggests a shift toward autonomous AI that operates continuously rather than just in response to specific prompts.

Industry Impact

This incident highlights the ongoing security and privacy challenges faced by AI companies during rapid deployment cycles. The exposure of a massive TypeScript codebase provides competitors and researchers with a blueprint of Anthropic’s engineering approach. Furthermore, the leak of unreleased features like the 'always-on' agent may force Anthropic to accelerate its public roadmap or address safety concerns regarding persistent AI agents earlier than planned. For the broader industry, it serves as a cautionary tale regarding the inclusion of source maps in production-level updates.

Frequently Asked Questions

Question: How did the Claude Code leak happen?

The leak occurred because the 2.1.88 update for Claude Code included a source map file that contained the tool's TypeScript codebase, which was not intended for public release.

Question: What specific features were found in the leaked code?

The leaked code reportedly contains references to a Tamagotchi-style 'pet' and an always-on agent, indicating new directions for the Claude interface and functionality.

Question: How much code was actually exposed?

According to reports from users on X, the leaked data contains more than 512,000 lines of code.

Related News

Deel Acquires Deepfake Technology Startup Clarity to Enhance Global HR Security
Industry News

Deel Acquires Deepfake Technology Startup Clarity to Enhance Global HR Security

US-based HR and payroll platform Deel has announced the acquisition of Clarity, a startup specializing in deepfake technology. Founded in 2022, Clarity had quickly gained traction in the tech space, securing $16 million in funding from investors prior to the acquisition. This strategic move by Deel highlights the growing importance of addressing synthetic media and identity verification challenges within the human resources and remote work sectors. By integrating Clarity’s specialized capabilities, Deel aims to bolster its security infrastructure against the rising threat of deepfakes in digital hiring and corporate communications. The acquisition underscores a significant trend of HR platforms investing in advanced AI-driven security tools to protect global operations.

Indian AI Startup Kily Secures $3.1 Million in Funding to Scale Operations and Brand Partnerships
Industry News

Indian AI Startup Kily Secures $3.1 Million in Funding to Scale Operations and Brand Partnerships

Kily, an emerging Indian AI startup founded in 2025, has successfully raised $3.1 million in its latest funding round. Despite being a relatively new player in the technology sector, the company has already demonstrated significant market traction by securing strategic partnerships with major industry leaders, most notably the Indian conglomerate ITC. This capital injection marks a pivotal milestone for the young firm as it seeks to establish its presence in the rapidly evolving artificial intelligence landscape. The funding highlights strong investor confidence in Kily's potential and its ability to deliver value to high-profile enterprise clients within a short period since its inception.

Why Domain Expertise is the Ultimate Skill for Mastering Large Language Models and Prompting
Industry News

Why Domain Expertise is the Ultimate Skill for Mastering Large Language Models and Prompting

While Large Language Models (LLMs) have democratized technical tasks, turning many users into generalists, a common misconception persists that prompting requires little specialized skill. However, recent analysis suggests that domain expertise remains the critical factor in achieving high-level results. By examining world-class mathematician Terence Tao’s interactions with GPT-5.6 Sol regarding the Jacobian Conjecture, it becomes clear that expert-level prompting involves concise communication, signaling deep knowledge to trigger specialized model responses, and maintaining control over the direction of the inquiry. Unlike amateurs who may follow the model's lead, experts like Tao use LLMs as tools to refine their own insights, proving that the value of an LLM is directly proportional to the user's existing knowledge in the field. Ultimately, LLMs do not replace expertise; they reward it.