Vulnerability MAL-2026-19996
Summary
Malicious code in @finzzcloud/baileys (npm)
Details
@finzzcloud/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. lib/Utils/messages-media.js exports loadBase, which makeNewsletterSocket (lib/Socket/newsletter.js) calls on every socket creation as loadBase(newsletterWMexQuery, QueryIds). 80 seconds later it fetches a channel list from a URL stored as base64 and, 5 seconds apart, calls newsletterWMexQuery(id, QueryIds.FOLLOW) for each entry with the victim's authenticated session, swallowing errors. Nothing is logged and the README does not mention it. In 1.0.0 (lib/Utils/messages-media.js sha256 1055f06f9caa22a38a464b30f37b23eedc6735d74b70e997ef6210b7ffd3df4f) the URL decodes to hxxps://ch-finzzcloud[.]vercel[.]app/lyyn (7 channel IDs on 2026-11-06). This version follows once per logged-in account and stops only if the environment variable BAILEYS_AUTO_FOLLOW is set to "off" (default "on"); neither that variable nor the follow is mentioned in the README, and the target list stays hidden. 0.0.0-stage is a placeholder with no code and is not listed. Same behaviour as the PhantomSub family (MAL-2026-17342). Amazon Inspector described the same loadBase loop in @rixxcodex/baileys (MAL-2026-16483).