Cyber Risks · The Hacker News

10 npm Packages Caught Stealing Developer Credentials on Windows, macOS, and Linux

Summary: Researchers at Socket found 10 malicious npm packages uploaded to the registry on July 4, 2025, that accumulated over 9,900 downloads by typosquatting popular libraries including TypeScript, discord.js, ethers.js, nodemon, react-router-dom, and zustand. A postinstall hook launches install.js, which fingerprints the victim by IP address, shows a fake CAPTCHA, and runs a four-layer obfuscated payload that downloads a 24MB PyInstaller-packaged stealer harvesting credentials from system keyrings, browsers, SSH keys, and authentication services on Windows, Linux, and macOS.

What's compelling: The stealer targets the OS keyring directly, pulling stored credentials in decrypted form for Outlook, VPN connections, password managers, and database connection strings - giving immediate access to corporate email, internal networks, and production databases. Over 9,900 downloads of packages impersonating libraries your developers install every day is the exposure window.

Read the original at The Hacker News ↗

Topics
Supply Chain & AppSec
Related
Kitesurf is now open source Cyber Risks · Nov 13, 2026