Claude Code Source Code Leaked, Over 500,000 Lines of Code Obtained by Developers

marsbitОпубліковано о 2026-04-01Востаннє оновлено о 2026-04-01

Анотація

Anthropic faces a major security incident as the complete source code for its AI tool Claude Code, exceeding 500,000 lines of TypeScript, was leaked. The breach originated when a developer shared a compressed file on Twitter, which quickly gained over 5.3 million views. The exposure was due to Anthropic accidentally including .map files when publishing to npm, revealing core code. The leaked code unveils several advanced features, including a project codenamed BUDDY, which offers a personalized cyber pet system with traits like debugging power and even a "sarcasm value." Another feature, KAIROS, aims to create an "always-on" AI assistant capable of maintaining memory across sessions and initiating tasks. The code also includes a "Nightly Dreaming" mechanism, allowing Claude to organize information and consolidate core content while the user sleeps. Despite the breach, the incident has inadvertently showcased Anthropic's innovative capabilities, turning a PR crisis into an unexpected demonstration of their cutting-edge AI developments.

Recently, artificial intelligence company Anthropic encountered an unprecedented crisis when the complete source code of its latest tool, Claude Code, was accidentally leaked within the developer community. The incident began when a developer, Chaofan Shou, posted a compressed package containing over 500,000 lines of TypeScript code on Twitter, sparking widespread attention and discussion among developers globally. This leak quickly exploded online, with page views surpassing 5.3 million within hours, becoming a hot topic in the tech circle.

So, what was the cause of this leak? According to reports, when Anthropic published the code to npm, it actually forgot to remove the .map files, leading to the exposure of the core code. This mistake not only embarrassed the company but also raised external doubts about its security management. However, this accidental leak has given the outside world an early glimpse into some of Anthropic's cutting-edge functionalities in the AI field.

From the source code, it can be seen that Claude Code includes several astonishing features, with the project codenamed BUDDY being particularly notable. It can not only accompany developers in writing code but also has a unique personalized pet system, allowing users to incubate their own cyber pets based on personal information. This pet not only has a cute appearance but also has dynamic stats like debugging power and patience, and even a "sarcasm value," undoubtedly adding a lot of fun to the work atmosphere.

Even more forward-looking is the feature codenamed KAIROS, which aims to achieve an "always-on" AI assistant. Unlike traditional conversation methods, KAIROS can maintain memory across multiple sessions and proactively initiate tasks. Additionally, the source code includes a Nightly Dreaming mechanism, where Claude organizes information and consolidates core content while the user sleeps. This innovative concept not only makes the AI smarter but also brings new possibilities for future work methods.

Although Anthropic is currently busy dealing with this leak, the unexpected exposure might also provide a platform to showcase their cutting-edge technology. This accidental PR crisis has instead highlighted the company's innovative capabilities. The future of the AI field will become even more exciting because of such attempts.

Пов'язані питання

QWhat was the cause of the Claude Code source code leak at Anthropic?

AAnthropic forgot to remove .map files when publishing the code to npm, which exposed the core source code.

QHow many lines of TypeScript code were leaked in the Claude Code incident?

AOver five hundred thousand lines of TypeScript code were leaked.

QWhat is the name of the project that features a personalized cyber pet system for developers?

AThe project is called BUDDY, which includes a personalized cyber pet system with traits like debugging power and patience.

QWhat is the KAIROS feature designed to do according to the leaked source code?

AKAIROS is designed to be an 'always-on' AI assistant that maintains memory across multiple sessions and can proactively initiate tasks.

QWhat mechanism does Claude have for processing information during user inactivity?

AClaude has a 'Nightly Dreaming' mechanism where it organizes information and consolidates core content while the user is sleeping.

Пов'язані матеріали

Breaking: GPT-5.6 Prices Slashed Effective Today

OpenAI has announced significant price cuts for its GPT-5.6 model API, effective immediately. The entry-level **GPT-5.6 Luna** sees the most drastic reduction, with input prices dropping 80% to $0.20 per million tokens and output prices falling to $1.20 per million tokens. The mid-tier **GPT-5.6 Terra** is reduced by 20%, now costing $2.00 (input) and $12.00 (output) per million tokens. The flagship **GPT-5.6 Sol** maintains its original price but introduces a new **Fast mode**, offering speeds up to 2.5 times faster for double the cost. The company attributes these price reductions to efficiency gains achieved through **GPT-5.6 Sol's own involvement in optimizing its production systems**. The model assisted in rewriting GPU kernels and improving speculative decoding, leading to a 20% reduction in end-to-end service costs and over 15% improvement in token generation efficiency. OpenAI emphasizes this process remained human-led. A key focus of the降价 is to lower the barrier for running **AI agent workflows**. By making the capable, tool-calling Luna model significantly cheaper, OpenAI aims to enable more frequent use in cost-sensitive, high-volume tasks like code review and monitoring. This creates a potential feedback loop: model-assisted efficiency gains lead to lower costs, which enables broader agent deployment, which in turn drives further optimization. The new pricing and features will also apply to Codex and ChatGPT Work subscriptions. The changes intensify competition in the large language model market, with OpenAI directly challenging rivals like Anthropic to respond.

marsbit18 хв тому

Breaking: GPT-5.6 Prices Slashed Effective Today

marsbit18 хв тому

South Koreans' 'Gambling Nature' is Actually Forced by Life

This article explores how systemic pressures in South Korea, rather than inherent "gambling" tendencies, drive widespread speculative financial behavior. It begins by noting the high frequency of flights from South Korea to Macau, symbolizing the search for outlets beyond domestic restrictions. The core argument is that ordinary life goals—stable employment, home ownership, and financial security—have become increasingly tied to asset markets due to structural economic factors. South Korea's development model, historically reliant on corporate leverage (chaebols), has evolved into a society where household debt and personal leverage are normalized as pathways to social mobility. Key mechanisms discussed include: * **Housing Policy:** Government measures to improve affordability, like extending mortgage terms to 50 years and the unique *jeonse* (key money) rental system, embed high leverage into the housing market. * **Financial Products:** The recent approval and explosive popularity of single-stock 2x leveraged ETFs (e.g., on Samsung and SK Hynix), easily accessed via mobile apps, lowered barriers to high-risk trading. * **Social Pressure:** Media narratives around soaring corporate profits (e.g., SK Hynix) and employee bonuses create a fear of missing out, pushing individuals to use leverage to "catch up." The article concludes that this "leveraged life" is a product of institutional history and policy choices. When traditional paths to success feel constrained, and policy facilitates debt-based solutions for housing and investment, speculative behavior becomes a rational, if risky, strategy for many. The rapid cycle of regulatory approval for leveraged ETFs followed by a market crash and official apology in mid-2026 exemplifies the system's inherent contradictions. Ultimately, the "bet" is not just on assets, but on using future earnings to secure a place in the present society.

marsbit18 хв тому

South Koreans' 'Gambling Nature' is Actually Forced by Life

marsbit18 хв тому

Торгівля

Спот
活动图片