
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 27 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 credentials were involved or exposed.”
While Claude Code has reportedly been reverse-engineered, the leak provides developers with a rare look at the roadmap for perhaps Anthropics’ most popular product, allowing competitors to gain insight into the coding tool’s underpinnings.
The tool has seen a surge in popularity in recent months, with the Claude Code app experiencing a viral moment over the holidays as people discovered its vibe coding capabilities. Anthropic launched a Super Bowl ad campaign attacking rival OpenAI for its decision to put ads in its free and low-cost ChatGPT plans.
Khamrah by Lattafa for Men - 3.4 oz EDP Spray
4% OffGhost Sweetheart Eau de Toilette | Pineapple, Jasmine and Sandalwood | Perfume for Women 50 ml
50% OffMarc Jacobs Dot Eau De Parfum for Women, 100 ml
42% OffTed Baker W Eau de Toilette for Her, Fig Leaf, White Peony and Violet Top Notes, Pink Orchid and Raspberry Middle Notes, 75ml
£11.77 (£15.69 / 100 ml) (as of 16/07/2026 03:58 GMT +01:00 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)Ted Baker Woman Pink Eau de Toilette Spray Floral Green Feminine Fragrance, Opening Notes are Fresh Peach, Bergamot and Tangerine with Warm Musk, Vanilla and Vetiver Base, 100ml
11% OffVera Wang Princess Eau de Toilette - 30 ml
Choco Musk 50ml Eau De Parfum for men and women | Chocolate Musk by Jannat Aromas
17% OffChristina Aguilera Signature Eau de Parfum (50ml) Floral, Fruity & Exotic Scent, Luxury Fragrance for Women
9% OffCalvin Klein - Eau De Toilette CKIN2U - Calvin Klein Women, Ladies Perfume, Women's Perfume, Calvin Klein Perfume, Calvin Klein One - 150 ml
5% OffJimmy Choo Flash Eau de Parfum, 60 ml (Pack of 1)
3% OffFruit of the Loom Men's Heavy T Shirt, White, XL UK
28% OffATNKE LED Lighted Beanie Cap,USB Rechargeable Running Hat Ultra Bright 4 LED Waterproof Light Winter Warm Gifts for Men and Women/Pink
Now retrieving the rating.
17% OffMen's 1/4 Zip Pullover UK Sale Clearance, Fleece Sweatshirt Casual Jumper Long Sleeve T-shirt Top Stand Collar Sweater Plain Pullover Sports Leisure Workwear Quarter Zip Sweater Lightweight Jumpers
Now retrieving the rating.
£5.88 (as of 12/11/2025 00:52 GMT +01:00 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)