@binaryorg/beautifier (npm): malicious package compromises any machine where it is installed (no CVE)
Severity: critical · Patch status: no-fix-needed · Since 2026-12-01
GitHub's advisory database published a malware advisory for the npm package @binaryorg/beautifier, flagged under CWE-506 (embedded malicious code). All published versions (= 0) are affected and no patched version exists, indicating the package was malicious from the start rather than a hijacked legitimate library. GitHub states that any computer with the package installed or running should be considered fully compromised, with control potentially handed to an outside entity. Anyone who installed the package — directly or as a transitive dependency — is affected. Removal of the package does not guarantee removal of the malicious software it deployed. No CVE is assigned; the advisory was published and reviewed on 2026-12-01.
What to do
- Rotate all secrets, keys, and credentials stored on or accessible from affected machines immediately, using a clean computer
- Remove @binaryorg/beautifier from all projects and lockfiles and audit for transitive dependency usage
- Rebuild or wipe affected machines; do not assume uninstalling the package removed the malware
- Review logs and network traffic for signs of exfiltration or attacker access since installation
- Block the package name in internal registries and CI, and scan dependency trees for it
Sources
All live incidents on Threat Watch