Vulnerability MAL-2026-20678
Summary
Malicious code in @angkasabaileys/baileys (npm)
Details
Malicious package. @angkasabaileys/baileys is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). makeNewsletterSocket in lib/Socket/newsletter.js registers a connection.update handler that, every time the socket connection opens, issues a newsletter FOLLOW for the hardcoded channel 120363431179022660@newsletter from the victim's account, silently swallowing any error. There is no option to disable it, and the README states the opposite ("No auto-follow channel (newsletter) behavior"). Legitimate Baileys never hardcodes a channel or auto-follows one. Version 1.0.1 (published 2026-11-17) carries this code.