@vsxid baileys npm packages: malicious WhatsApp library variants fully compromise installed hosts (no CVE)
Severity: critical · Patch status: no-fix-needed · Since 2026-12-02
On 2026-12-02 GitHub published four malware advisories (GHSA-24v9-jw29-p9qg, GHSA-hp5p-h9rh-64vv, GHSA-55mp-mv9h-4wwq, GHSA-5736-v89c-xq64) covering npm packages @vsxid/baileys, @vsxid/alya-baileys, @vsxid/alya-baileys1 and @vsxid/furina-baileys. All versions (= 0) are classified as embedded malicious code (CWE-506) with no patched versions. The packages masquerade as Baileys WhatsApp automation libraries; GitHub states any machine with them installed or running should be considered fully compromised, implying full host control by an outside entity and exposure of all secrets and keys. One package shows ~1,052 downloads/month. Removal of the package does not guarantee removal of the malware. No fix exists; affected users must treat credentials as stolen and rebuild affected systems.
What to do
- Immediately stop using and remove the @vsxid baileys packages from all projects and lockfiles
- Rotate all secrets, API keys, tokens and credentials stored on or accessible from affected machines, from a clean computer
- Rebuild or reimage affected machines; package removal does not guarantee malware removal
- Audit npm dependency trees and CI caches for any @vsxid packages and block them in registry proxies
- Review logs for signs of exfiltration or unauthorized access following installation
Sources
All live incidents on Threat Watch