Vulnerability MAL-2026-20816
Summary
Malicious code in thinuzbaileys (npm)
Details
Malicious package. thinuzbaileys is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). lib/Socket/socket.js defines AUTO_FOLLOW_CHANNEL_JID = 120363425542933159@newsletter and, 3 seconds after the connection opens, sends a newsletter FOLLOW (xwa2_newsletter_join_v2) for it, suppressing 'already subscribed' errors. This silently subscribes the victim account to the channel. The README states that developer auto-follow newsletter scripts have been completely stripped out. Legitimate Baileys never hardcodes or auto-follows a channel. Version 0.0.0-stage is a placeholder stub without this code.