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.

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

Critical Moments in Bitcoin: Cost Zones That Demand Attention Have Been Identified!

Analytics firm Glassnode reported that reduced expectations for U.S. interest rate cuts, along with pricing in possible rate hikes, have suppressed risk appetite in the cryptocurrency market. The Fed's interest rate decisions are crucial for market direction. U.S. Treasury yields have surpassed returns from crypto carry trades, leading investors to favor cash and low-risk interest-bearing instruments over crypto assets. A strong U.S. dollar further weakens marginal demand for crypto. Bitcoin is currently trading below its most intensive cost basis level, with approximately $69,000 identified as the breakeven zone and significant resistance for short-term investors. For a stronger recovery, Bitcoin needs to reclaim the $69,000 threshold with increased trading volume. Renewed active demand for spot Bitcoin ETFs is also deemed critical. According to Glassnode, the current Bitcoin decline represents the shallowest bear market in terms of price drawdown depth to date. However, based on previous cycle durations, this downturn may not be over yet. Spot trading volumes have fallen to multi-year lows, and sell-side order books have thinned, though many buy orders are placed significantly below current prices. Glassnode's risk indicator, Vector, signaled "risk off," suggesting a capital preservation mindset. The current market structure is being driven more by macroeconomic factors like monetary policy, bond yields, and dollar strength than by crypto-sector developments. Losing Bitcoin's support range of $62,000-$68,000, coupled with renewed exchange inflows, could negate the recovery scenario. Conversely, more favorable monetary policy, increased trading volume, a Bitcoin recovery above $69,000, and a resumption of spot ETF buying could signal a market turnaround.

cryptonews.ru1 год тому

Critical Moments in Bitcoin: Cost Zones That Demand Attention Have Been Identified!

cryptonews.ru1 год тому

Breaking News: Full Detailed Rationale and Explanation of the Fed's Interest Rate Decision Released!

As expected, the Federal Reserve kept its key interest rate unchanged at 3.50-3.75 percent, marking the fifth consecutive meeting without a rate change. The Federal Open Market Committee's (FOMC) decision passed with a 9-3 majority vote. Cleveland Fed President Loretta Mester, Minneapolis Fed President Neel Kashkari, and Dallas Fed President Lorie Logan dissented, voting in favor of a 25 basis point rate hike. This was the first meeting since 2016 where three regional Fed presidents voted against holding rates steady, signaling growing influence among members advocating for tighter monetary policy to combat inflation. The Fed's statement noted that economic activity has been expanding at a solid pace despite high uncertainty, partly due to Middle East conflicts. It highlighted that growth in productivity and investment remained strong, employment gains have aligned with labor force growth, and the unemployment rate has remained relatively stable. The Fed also committed to maintaining ample reserves in the banking system. The statement emphasized that inflation remains above the Fed's 2% target. It noted that supply shocks, including in the energy sector, are adding to inflationary pressures. The Committee stated it will continue to closely monitor incoming data and risks in pursuit of its price stability goal. The dissenting members argued that the target range for the federal funds rate should have been increased by 25 basis points.

cryptonews.ru1 год тому

Breaking News: Full Detailed Rationale and Explanation of the Fed's Interest Rate Decision Released!

cryptonews.ru1 год тому

Торгівля

Спот
活动图片