npm · Malicious package advisory
Malwarereyz-baileys
MAL-2026-19006
Malicious code in reyz-baileys (npm)
Details
reyz-baileys is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own WhatsApp account to WhatsApp Channels chosen by the publisher. When the socket connects, code in index.js sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363405947742419@newsletter, 120363421096003443@newsletter, using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).
Compromised versions (4)
- 1.0.2
- 1.0.3
- 1.0.4
- 1.0.5
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.