Malware in prettier-resolver npm package — full machine compromise, rotate all secrets
Severity: critical · Patch status: no-fix-needed · Since 2026-12-03
The npm package prettier-resolver has been identified as malware and published to the GitHub Advisory Database (GHSA-v775-w3cx-mv3f) on 2026-12-03. All versions (= 0) are affected and there are no patched versions; the package has no known source code repository. Any machine where the package is installed or running must be considered fully compromised, with control potentially handed to an outside entity. Roughly 2,000 downloads per month indicate a limited but real install base. Removal of the package alone is not guaranteed to remove all malicious software it deployed. There is no fix; remediation is incident response: isolate and rebuild affected machines and rotate all credentials.
What to do
- Treat any machine with prettier-resolver installed as fully compromised; isolate it immediately
- Rotate all secrets, keys, and credentials stored on affected machines from a clean computer
- Remove the package and rebuild/reimage affected systems rather than cleaning in place
- Audit dependency lockfiles and CI caches for prettier-resolver and block it in registries/proxies
- Review logs for signs of attacker activity following installation
Sources
All live incidents on Threat Watch