Anthropic confirms it has leaked Claude Code source code – spilling some of its biggest secrets


  • An Anthropic employee accidentally leaked the Claude Code source via an npm map file
  • The leak exposed 1,900 TypeScript files containing 500K+ lines of code, which were quickly displayed on GitHub.
  • Anthropic confirmed that no customer data was exposed, citing a packaging error among recent vulnerabilities such as ShadowPrompt and Cloudy Day.

An Anthropic employee accidentally leaked the source code for one of the most popular Artificial Intelligence (AI) assistants – Claude Code.

Security researcher Chaofan Shou wrote on X, saying “Claude Code’s source code has been uploaded via a map file to their npm registry!” The tweet itself has been viewed over 30 million times so far, and the numbers are rising rapidly, showing just how popular the app is.


#Anthropic #confirms #leaked #Claude #Code #source #code #spilling #biggest #secrets

Leave a Comment