Skip to main content
MalwarePublished Updated

hunsterx-package (npm) · Malicious Code

Affects hunsterx-packageSource GCVE Database

0

Malicious package : remove hunsterx-package and rotate any secrets on hosts that installed it.

Data as of 29 Jun 2026, 22:40 UTC

Classification

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

ProductAffectedFixed in
npmhunsterx-packageAffected
  • =7.0.1
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.

References

Community reviews

Loading reviews…