512,000 lines of Claude Code's own CLI source code have leaked due to 'human error', but the company says 'no sensitive customer data or credentials' were exposed

CHONGQING, CHINA - DECEMBER 29: In this photo illustration, a person holds a smartphone displaying the logo of “Claude,” an AI language model by Anthropic, with the company’s logo visible in the background, illustrating the rapid development and adoption of generative AI technologies, on December 29, 2024 in Chongqing, China. Artificial Intelligence (AI) has become a cornerstone of China’s strategic ambitions, with the government aiming to establish the country as a global leader in AI by 2030.
(Image credit: Cheng Xin via Getty Images)

Claude Code has become one of the modern darlings of the vibe coding revolution, being a terminal-based coding assistant that's been used for a raft of creative software projects, including a, err, game created by a dog.

Unfortunately for Anthropic, the company behind the AI coding whizz, the latest package also included a source map file—allowing access to its own command line interface (CLI) source code.

A statement has since been released by an Anthropic spokesperson to multiple outlets, including VentureBeat, regarding the error. The statement reads:

"Earlier today, a Claude Code release included some internal source code. No sensitive customer data or credentials were involved or exposed. This was a release packaging issue caused by human error, not a security breach. We're rolling out measures to prevent this from happening again."

UKRAINE - 2024/12/29: In this photo illustration, Claude AI app by Anthropic is seen displayed on a smartphone screen. (Photo Illustration by Pavlo Gonchar/SOPA Images/LightRocket via Getty Images)

(Image credit: Getty Images)

Despite the leak being less than a day old, some have already taken to pulling the code apart to see exactly how the Claude Code sausage is made. Discoveries so far include an "insanely well-designed" memory system made in a three-layer design, which is described as "self-healing memory".

Which sounds like the sort of intellectual property that Anthropic would be very keen to keep under wraps. And while its customer data appears to remain secure, it's the second reported data leak from the company in the past week—which likely won't do much good to the company's position among an increasingly crowded AI market.

Secretlab Titan Evo gaming chair in Royal colouring, on a white background
Best PC gaming kit 2026

1. Best gaming chair: Secretlab Titan Evo

2. Best gaming desk: Secretlab Magnus Pro XL

3. Best gaming headset: Razer BlackShark V3

4. Best gaming keyboard: Asus ROG Strix Scope II 96 Wireless

5. Best gaming mouse: Razer DeathAdder V4 Pro

6. Best PC controller: GameSir G7 Pro

7. Best steering wheel: Logitech G Pro Racing Wheel

8. Best microphone: Shure MV6 USB Gaming Microphone

9. Best webcam: Elgato Facecam MK.2


👉Check out our list of guides👈

TOPICS
Andy Edser
Hardware Writer

Andy built his first gaming PC at the tender age of 12, when IDE cables were a thing and high resolution wasn't. 26 years later (yes he's getting old), he now spends his time travelling around the world attending hardware launches and trade shows, all the while writing about and reviewing graphics cards, CPUs, keyboards, mice, gaming headsets and much, much more. You name it, if it's PC gaming hardware he'll write words about it, with opinions and everything.

You must confirm your public display name before commenting

Please logout and then login again, you will then be prompted to enter your display name.