whoami-notifier (npm): malicious package fully compromises hosts and exposes secrets/keys
Severity: critical · Patch status: no-fix-needed · Since 2026-11-24
The GitHub Advisory Database published GHSA-cx3g-72gj-7hfw on 2026-11-24, flagging the npm package whoami-notifier as malware containing embedded malicious code (CWE-506). All versions from = 0 are affected, and no patched versions exist. The advisory states that any computer with this package installed or running should be considered fully compromised, and that all secrets and keys stored on such a machine should be rotated immediately from a different computer. Removing the package is recommended, but because an outside entity may have gained full control, removal may not eliminate all malicious software. The package has roughly 357 downloads per month. No CVE, exploitation details, or specific victim information is provided.
What to do
- Treat any host that installed or ran whoami-notifier as fully compromised; isolate it from networks and sensitive systems.
- From a different, clean computer, immediately rotate all secrets, API keys, tokens, passwords, and certificates that were present on affected hosts.
- Remove the whoami-notifier package and rebuild affected environments from known-good sources rather than relying on package removal alone.
- Audit npm dependencies, lockfiles, and build artifacts for whoami-notifier, including transitive or indirect installs.
- Scan affected systems for persistence and additional malware; consider reimaging hosts that ran the package.
- Monitor for unauthorized access or credential misuse tied to secrets exposed on affected machines.
Sources
All live incidents on Threat Watch