MAL-2026-20947: Malicious code in @kazehayadev1/raidenx-baileys (npm)
@kazehayadev1/raidenx-baileys is a modified copy of the Baileys WhatsApp Web library (@whiskeysockets/baileys) that silently subscribes the user's WhatsApp account to two channels. When an application that imports it creates a socket with makeWASocket, makeNewsletterSocket in lib/Socket/newsletter.js schedules a timer that, two minutes later, sends the newsletter FOLLOW query for 120363407277177688@newsletter and 120363407702752541@newsletter on the user's authenticated session and discards any error; no option disables it and the README does not mention it. The same two channel IDs are hardcoded in raiden-baileys (MAL-2026-19108), and the npm account kazehayadev1 published this package on 2026-12-01.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to the unwanted channel subscriptions?
Applications that import this package and create a WhatsApp socket with makeWASocket are exposed. The follow requests are sent using the authenticated WhatsApp session associated with that socket.
Does the behavior require an explicit feature to be enabled?
No. The package schedules the follow requests when the socket is created, and the available data states that no option disables this behavior.
When are the follow requests sent, and which channels are targeted?
They are scheduled for two minutes after socket creation. The targeted newsletter IDs are 120363407277177688@newsletter and 120363407702752541@newsletter.
How can I confirm this package contains the behavior?
Inspect lib/Socket/newsletter.js for makeNewsletterSocket scheduling newsletter FOLLOW queries for the two listed newsletter IDs. Errors from those requests are discarded, so application-visible errors may not indicate that the requests occurred.