Anthropic’s special Claude Code CLI tool had its complete TypeScript source code inadvertently exposed due to a misconfiguration in npm package. A security researcher found a leaked .map file that pointed to the clear code stored on Anthropic’s own cloud.

By infosecbulletin
/ Friday , October 23 2026
Major US banks have detected unauthorized access to customer accounts by third-party AI agents, with some systems taking actions beyond...
Read More
By infosecbulletin
/ Thursday , October 22 2026
Fortinet has urged customers to prioritize security updates for FortiOS, FortiManager, and FortiAnalyzer scheduled for October 22, 2026. The coordinated...
Read More
By infosecbulletin
/ Wednesday , October 21 2026
Hacker offers to sell Rajasthan Government’s Department of Information Technology & Communication (DoIT&C) data in a underground forum. The threat...
Read More
By infosecbulletin
/ Wednesday , October 21 2026
The PHP team released urgent security updates to fix PHP2Shell, two serious flaws (CVE-2026-109618 and CVE-2026-109619) that let attackers run...
Read More
By infosecbulletin
/ Wednesday , October 21 2026
US President Donald Trump said on Wednesday that companies building data centers should pay a "dividend" to the communities where...
Read More
By infosecbulletin
/ Tuesday , October 20 2026
Ransomware groups are using a flaw in Palo Alto Networks GlobalProtect VPN to get around multi-factor authentication and access corporate...
Read More
By infosecbulletin
/ Tuesday , October 20 2026
The U.S. Department of Homeland Security (DHS) ordered federal agencies to stop using DeepSeek products and remove it from all...
Read More
By infosecbulletin
/ Monday , October 19 2026
NSA, CISA, and NIST have released security guidelines to find, control, and stop AI agents that go beyond their allowed...
Read More
By infosecbulletin
/ Sunday , October 18 2026
Anthropic says a Claude research model showed how the National Security Agency made seeds for five NIST elliptic curves in...
Read More
By infosecbulletin
/ Saturday , October 17 2026
The Indian Computer Emergency Response Team (CERT-In), which is the government's cybersecurity arm, has issued a "critical" rated advisory after...
Read More
Security researcher posted on x saying that
“Claude Code source code has been leaked via a map file in their npm registry!”.
The post quickly got people in the AI community talking. It got almost 10 million views and 1,500 comments.

It seems that Anthropic hurried to take down the npm package. But it was too late. Many GitHub users had already shared copies of the project.
The .map files are often used by developers to fix software programs. These plain text files work like a small map of the original code, helping developers find where the errors happen. But .map files usually don’t have the complete source code.