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
/ Saturday , September 12 2026
German law enforcement agencies are using features built into apps such as WhatsApp to monitor people’s messages without breaking their...
Read More
By infosecbulletin
/ Friday , September 11 2026
GitLab has released an important security update to fix two serious problems. These issues could allow unauthorized file access and...
Read More
By infosecbulletin
/ Thursday , September 10 2026
Palo Alto Networks has revealed a serious flaw in PAN-OS. It may let a remote attacker without a password run...
Read More
By infosecbulletin
/ Thursday , September 10 2026
Check Point Software has revealed and fixed two major VPN flaws, CVE-2026-85102 and CVE-2026-85103. Both have a top CVSS score...
Read More
By infosecbulletin
/ Thursday , September 10 2026
Cisco has said that a serious security flaw CVE-2026-20079 in its Secure Firewall Management Center (FMC) software is being used...
Read More
By infosecbulletin
/ Thursday , September 10 2026
A Russian-speaking hacker has used artificial intelligence like never before. They sent out hundreds of AI agents to find and...
Read More
By infosecbulletin
/ Thursday , September 10 2026
Six Chinese AI companies ran large-scale attacks on American AI models since late 2024, according to U.S. cybersecurity and intelligence...
Read More
By infosecbulletin
/ Wednesday , September 9 2026
An unknown security expert called Nightmare Eclipse has drops a new Microsoft Defender flaw called "ShieldCrash" right after Microsoft released...
Read More
By infosecbulletin
/ Wednesday , September 9 2026
cPanel has shared CVE-2026-67401, a serious SQL injection flaw in EmailTrack. This flaw could allow attackers with permission to take...
Read More
By infosecbulletin
/ Wednesday , September 9 2026
An ongoing attack is focused on FortiGate firewalls. Hackers use a serious flaw to install a special Node.js remote access...
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.