Malware in zyleys npm package — full machine compromise, no safe version exists
Severity: critical · Patch status: no-fix-needed · Since 2026-12-01
GitHub's malware advisory database flagged the npm package zyleys as containing embedded malicious code (CWE-506), published 2026-12-01. Every published version (= 0) is affected and there are no patched versions, meaning the package cannot be used safely at all. The advisory warns that any computer with the package installed or running should be considered fully compromised, with control potentially handed to an outside entity; removing the package does not guarantee removal of all malicious software it deployed. All secrets and keys stored on affected machines are at risk and should be treated as stolen. Any developer, CI system, or deployment that pulled zyleys from npm is affected.
What to do
- Rotate all secrets, keys, tokens, and credentials stored on or accessible from any machine where zyleys was installed, using a clean machine
- Remove zyleys from all projects, lockfiles, and caches, and rebuild affected environments from trusted images
- Audit affected machines for persistence and follow-up malware; consider reimaging them rather than trusting cleanup
- Check npm audit logs and CI/CD pipelines for installs of zyleys and any downstream exfiltration or suspicious activity
- Block the package in dependency firewalls/allowlists and alert teams that may have used it
Sources
All live incidents on Threat Watch