nme-library (npm): malicious package compromises any machine where it is installed; no safe version exists
Severity: critical · Patch status: no-fix-needed · Since 2026-12-01
GitHub's advisory database published GHSA-fqm3-7h29-mjj8 on 2026-12-01 flagging the npm package nme-library as malware (CWE-506, embedded malicious code). Every published version (= 0) is affected and there are no patched versions, so the package cannot be safely used. The advisory states that any computer with the package installed or running should be considered fully compromised, implying the code grants attackers full control of the host, enabling theft of secrets, keys and credentials and further malicious software deployment. The package sees roughly 221 downloads per month, so exposure is limited but real. Removal of the package alone is not guaranteed to eliminate the malicious software it installed. No fix exists; remediation is host-level incident response and credential rotation.
What to do
- Rotate all secrets, keys, tokens and credentials stored on or accessible from any machine where nme-library was installed, using a clean machine
- Treat affected machines as fully compromised: rebuild/reimage them rather than just uninstalling the package
- Audit build systems, CI runners and developer workstations for the package in package.json, lockfiles and node_modules
- Remove nme-library from all projects and dependencies and block it in your registry/proxy
- Review logs and network traffic for signs of exfiltration or attacker access following installation
Sources
All live incidents on Threat Watch