Vulnerability MAL-2026-21037
Summary
Malicious code in aetheria-baileys (npm)
Details
aetheria-baileys is a modified copy of the Baileys WhatsApp Web library (@whiskeysockets/baileys) that subscribes the user's WhatsApp account to channels chosen by its author. When an application that imports it creates a socket with makeWASocket, lib/Socket/index.js registers a connection.update handler that, every time the connection opens, calls newsletterFollow on the user's authenticated session for each ID in a hardcoded AETHERIA_NEWSLETTER_JIDS list (120363415212796706@newsletter and 120363414877334847@newsletter, plus 120363408668270262@newsletter from 1.0.1), ignoring errors. There is no option to turn it off, and the README does not mention it.