Malicious npm package steals Claude AI data on GitHub

Published on May 29, 2026 | Translated from Spanish

A malicious package detected in the npm repository has compromised the security of Claude AI, extracting files from the user directory of this conversational platform. The incident, which spread through GitHub, exposes critical vulnerabilities in development ecosystems and artificial intelligence tools. From foro3d.com, we recommend verifying dependencies, enabling multifactor authentication, and monitoring repositories to prevent sensitive data leaks.

Photorealistic technical illustration showing a malicious npm package transfer from a GitHub repository to a Claude AI interface, a digital thief extracting user data files from a directory folder, the theft process visualized as glowing red code lines being siphoned into a hidden server, broken dependency chains and padlock icons scattered around, cinematic dark blue and red lighting, holographic terminal screens displaying stolen authentication tokens, ultra-detailed circuit board textures, dramatic cybersecurity incident scene, engineering visualization style

Vulnerability in the npm supply chain 🔒

The malicious package, disguised as a legitimate dependency, managed to infiltrate projects integrating Claude AI, accessing local files and extracting user information. This attack highlights the fragility of the npm supply chain, where a single component can expose critical data. The technical recommendation is to regularly audit the package.json file, use security analysis tools like npm audit, and keep development environments updated to mitigate similar risks.

AI becomes a magnet for cybercriminals 🤖

It seems even artificial intelligences need a personal antivirus. The malicious package that stole data from Claude AI demonstrates that attackers no longer just want your passwords, but also your conversations with the assistant. Next time you ask Claude to help you with code, make sure it isn't giving you an unwanted gift: your own files in the hands of a stranger.