Is ruby-baileys safe?
Versions 1.5.17 and 1.5.18 of ruby-baileys were compromised (WhatsApp channel hijack (PhantomSub): follows publisher-chosen channels through the user's session). Other versions are not flagged as malicious. npm's latest tag points to 1.5.18, one of these versions, so an unpinned install gets it.
Do not install ruby-baileys 1.5.17 or 1.5.18
CRITICALanalyst verifiedWhatsApp channel hijack (PhantomSub): follows publisher-chosen channels through the user's session. Added to CyberXYZ 2026-10-10, verified by a CyberXYZ analyst.
- file identical to known malware+70
WAProto/fix-imports.js is byte-identical to known malware (sha256 7655dbbd6f2ee11e9ed54e4412f2116e0c7f2974495788baadc7e9a84a938d88 = confirmed_scan:@itsmee_aizat.id/baileys2@1.6.0(@itsmee_aizat.id/baileys2), confirmed_s)
- package contents+8
source finding (sev 10)
- Malicious
- 1.5.17, 1.5.18
- Move to
- Pin a release that is not listed above: the latest tag points to one that is.
If one of these versions was installed, remove it and treat the credentials, tokens and SSH keys on that machine as exposed: rotate them. Check CI runners and container images that installed it too.
0 direct dependencies
none carry a known advisory
0 packages depend on it
an advisory here reaches each of them
Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.
Checked 2026-10-30 at 19:37 UTC. Updated continuously from NVD, GHSA, OSV and CNA feeds.