hunsterx-package (npm) · Malicious Code
Affects hunsterx-packageSource GCVE Database
Malicious package : remove hunsterx-package and rotate any secrets on hosts that installed it.
Data as of 29 Jun 2026, 22:40 UTC
Malicious package
Published to npm · OSV MAL-2026-6337
What to do
Remove hunsterx-package 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 |
|---|---|---|
| npmhunsterx-package | 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 hunsterx-package version 7.0.1 on npm contains malicious code that executes during installation. It collects extensive sensitive information including host identity, environment variables, npm tokens, AWS EC2 metadata, and configuration files, then exfiltrates this data to an attacker-controlled domain. The package also confirms successful execution via DNS callbacks. Any system installing this package risks full compromise, requiring immediate secret and key rotation and package removal.