Malicious npm package api-helper-lib — full host compromise; rotate all secrets and keys (no CVE)
Severity: critical · Patch status: no-fix-needed · Since 2026-11-30
GitHub's advisory database published a malware advisory (GHSA-r6x4-g9mr-3gpx) for the npm package api-helper-lib on 2026-11-30. The package, which has no known source code repository and no patched versions, contains embedded malicious code (CWE-506) that gives an outside entity full control of any machine where it is installed or running. All versions (= 0) are affected. Any computer with the package installed should be considered fully compromised, and removing the package does not guarantee removal of all malicious software it may have deployed. Reach appears limited (~23 downloads/month), but any secrets or keys on affected machines are at risk. There is no fix; the only remediation is removal plus incident response.
What to do
- Rotate all secrets, keys, and credentials stored on any machine where api-helper-lib was installed, using a clean machine
- Remove the package and rebuild/reimage affected hosts from trusted images
- Audit systems for persistence and indicators of compromise left by the malware
- Check dependency trees and CI/CD environments for the package and block it from registries/proxies
Sources
All live incidents on Threat Watch