Entire Claude Code CLI source code leaks thanks to exposed map file

Entire Claude Code CLI source code leaks thanks to exposed map file

In a significant blunder, Anthropic has inadvertently leaked the complete source code for its Claude Code command line interface application. This incident, triggered by an internal error, has sent shockwaves through the tech community, offering rivals and enthusiasts an unprecedented glimpse into the inner workings of Claude Code. The leak occurred early this morning when Anthropic released version 2.1.88 of the Claude Code npm package, which mistakenly included a source map file. This file granted access to nearly 2,000 TypeScript files and over 512,000 lines of code, providing a detailed blueprint of the application. Security researcher Chaofan Shou was the first to highlight the issue on X, sharing a link to an archive containing the exposed files. Following this, the codebase was uploaded to a public GitHub repository, where it has been forked by tens of thousands of users. In response to the incident, Anthropic issued a statement acknowledging the mistake. They clarified that the leak did not compromise any sensitive customer data or credentials. The company attributed the mishap to a packaging error rather than a security breach and assured users that they are implementing measures to prevent similar occurrences in the future. Developers have wasted no time in dissecting the leaked code, with some already providing insights into Claude Code’s memory architecture. Notably, a user on X, @himanshustwtson, shared a comprehensive analysis detailing features such as background memory rewriting and the various procedures to validate memory before utilization.

Sources : Ars Technica

Published On : Mar 31, 2026, 19:15

AI
Instagram Integrates AI Assistant Muse for Enhanced User Experience

In a significant move, Meta has announced the integration of its AI assistant, Muse, directly into Instagram's direct me...

TechCrunch | Nov 24, 2026, 17:25
Instagram Integrates AI Assistant Muse for Enhanced User Experience
Social Media
Pinterest Empowers Parents with New Controls Over AI Content for Teens

This week, Pinterest unveiled an enhancement to its parental controls, introducing a feature that allows parents to regu...

TechCrunch | Nov 24, 2026, 16:25
Pinterest Empowers Parents with New Controls Over AI Content for Teens
Science
Mathematicians React to Controversial Joke Over Lengthy Proof of Riemann Hypothesis

Tensions are rising in the mathematical community following a controversial comment made by Levent Alpöge, a researcher ...

Business Insider | Nov 24, 2026, 17:30
Mathematicians React to Controversial Joke Over Lengthy Proof of Riemann Hypothesis
Automotive
Uber and Nuro Kick Off Driverless Trials for Lucid Robotaxis Ahead of 2027 Launch

Uber and Nuro have officially launched their driverless testing phase for the Lucid Gravity SUVs on the streets of the S...

TechCrunch | Nov 24, 2026, 17:15
Uber and Nuro Kick Off Driverless Trials for Lucid Robotaxis Ahead of 2027 Launch
AI
Navigating the AI Landscape: Why CEOs Must Embrace Technology Literacy

In the rapidly evolving world of corporate India, companies are increasingly investing in artificial intelligence (AI), ...

Business Today | Nov 24, 2026, 07:35
Navigating the AI Landscape: Why CEOs Must Embrace Technology Literacy
View All News