Anthropic has accidentally leaked the source code of its AI coding tool, Claude Code, which has always been kept closed source.
The incident happened during a recent update, but the company says no customer data or sensitive information was exposed.
According to Anthropic, the leak was caused by a simple packaging mistake and not a security breach. In a statement, the company explained that some internal source code was unintentionally included in a public release. It also reassured users that no personal data or credentials were involved. Anthropic said it is already working on steps to make sure this kind of mistake does not happen again.
The issue began when Claude Code version 2.1.88 was briefly published on NPM. This version included a large file called cli.js.map, which was about 60 MB in size. This file is known as a source map, and it is usually used by developers to debug code. However, in this case, the file contained the full source code.
Source map files can sometimes include a field that stores the entire original code inside them. Because of this, anyone who accessed the file could reconstruct the full codebase. Reports suggest that the exposed code includes around 1,900 files and nearly 500,000 lines of code, along with details of several features that are not publicly documented.
The leak was first noticed by a developer online, and the code quickly spread across platforms like GitHub and other file-sharing sites. Since then, Anthropic has been sending DMCA takedown requests to remove the leaked content wherever possible.
Even though the code is being taken down, developers have already started studying it. Some interesting features have been discovered during this process. One of them is called Proactive mode, which appears to allow Claude to continue coding tasks automatically over time. Another feature, called Dream mode, suggests that Claude could work in the background to improve ideas, plan solutions, and solve problems even when the user is not actively using it.
At the same time, users have raised concerns about another issue related to Claude Code. Many people reported that their usage limits were being reached much faster than expected. Even with normal usage, some users noticed their quota running out within minutes.
If this article helped you, please consider supporting our work. Every small contribution keeps Abijita.com independent and running.
Anthropic has acknowledged this problem and confirmed that it is a bug. The company says it is actively investigating the issue and has made it a top priority. However, as of now, the problem has not yet been resolved.





