habingeer (npm) · Malicious Code
Affects habingeerSource GCVE Database
Malicious package : remove habingeer and rotate any secrets on hosts that installed it.
Data as of 22 Jul 2026, 23:50 UTC
Malicious package
Published to npm · OSV MAL-2026-10995
What to do
Remove habingeer from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmhabingeer | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The habingeer npm package version 2.1.6 contains malicious code that executes automatically upon installation. It searches for sensitive files such as Solana keypairs and environment configuration files, exfiltrating their contents to a remote server. Additionally, on Linux systems, it fetches an SSH public key from a command-and-control server and appends it to the authorized_keys file, enabling persistent remote SSH access. The malware also modifies firewall rules to keep SSH accessible and uploads additional files from the host to the attacker’s server. These actions occur without user interaction during the npm install process.