Malicious npm package js-integer-log — full host compromise; rotate all secrets on affected machines
Severity: critical · Patch status: no-fix-needed · Since 2026-11-30
GitHub's malware advisory database published GHSA-5pm2-c7vm-hw5f on 2026-11-30 flagging the npm package js-integer-log as containing embedded malicious code (CWE-506). Every version (= 0) is affected and no patched version exists. GitHub's guidance states that any computer with the package installed or running should be considered fully compromised, with control potentially handed to an outside entity, and that removing the package does not guarantee removal of all malicious software it installed. The package has very low usage (~66 downloads/month) but shows 5203 GitHub stars, which may inflate perceived trust. No CVE is assigned; the advisory is database-reviewed malware classification rather than a vulnerability fix.
What to do
- Treat any machine where js-integer-log was installed or executed as fully compromised; rotate all secrets and keys from a clean machine
- Remove the package and rebuild/reimage affected systems, as removal may not eliminate implanted malware
- Audit dependency lockfiles and CI caches for js-integer-log and block it in npm policies/firewalls
- Review access logs and network egress for signs of attacker activity since installation
Sources
All live incidents on Threat Watch