Malware in @zervonex/baileys: npm package compromises hosts and steals secrets
Severity: critical · Patch status: unpatched · Since 2026-11-23
The GitHub Advisory Database published a malware advisory for the npm package @zervonex/baileys, affecting all versions (= 0) with no patched versions available. The advisory states that any computer with the package installed or running should be considered fully compromised, and that all secrets and keys stored on that computer should be rotated immediately from a different computer. Removing the package is recommended, but because full control of the host may have been given to an outside entity, removal does not guarantee all malicious software has been eliminated. The package has about 62K downloads per month and 6 GitHub stars. No exploitation details, CVE, or attack date were provided.
What to do
- Treat any host that installed or ran @zervonex/baileys as fully compromised; isolate it from the network and do not rely on in-place cleanup.
- From a different trusted machine, rotate all secrets and keys that were present on affected hosts, including npm tokens, SSH keys, cloud credentials, API keys, and CI/CD secrets.
- Remove the package and rebuild affected systems from known-good images or clean hosts.
- Audit affected hosts for persistence, unauthorized access, and anomalous outbound activity.
- Block @zervonex/baileys in package registries and CI/CD, and scan lockfiles, SBOMs, and dependency inventories for it.
Sources
All live incidents on Threat Watch