Anthropic Accidentally Exposes Source Code for Claude Code

image

Artificial intelligence firm Anthropic has accidentally revealed the source code for its popular coding tool Claude Code.

The leak occurred Tuesday morning when the company published version 2.1.88 of Claude Code to the public npm registry and inadvertently included a source map file, exposing more than 500,000 lines of code and nearly 2,000 files. A link to an archive containing the files was posted to X by security researcher Chaofan Shou, attracting more than 26 million views.

Claude AI is a versatile AI tool capable of answering questions, generating creative content like stories and poems, translating languages, transcribing and analyzing images, writing code, summarizing text and engaging people in natural, interactive conversations.  

An Anthropic spokesperson confirmed the leak, saying it was caused by human error and that the company is taking steps to prevent a recurrence.

“Earlier today, a Claude Code release included some internal source code,” the spokesperson said. “No sensitive customer data or

...

Keep reading this article on CNET.