Malicious code in dinocode-baileys (npm)
Description
Malicious package. dinocode-baileys is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). In lib/Socket/messages-recv.js it hides two channel JIDs as character-code arrays (120363428355171197@newsletter, 120363428984357510@newsletter). When the connection opens, it waits 30 seconds, then sends a newsletter FOLLOW followed by a MUTE for each one, silently subscribing the victim account to attacker-controlled WhatsApp channels and hiding their notifications. Legitimate Baileys never hardcodes channel JIDs. Version 0.0.0-stage is a placeholder stub without this code.
---