@zeppeliorg/wbails@1.1.2
Malicious code in @zeppeliorg/wbails (npm)
Analysis
This package is a Baileys (WhatsApp Web API) fork that has been modified to silently force the installed bot's WhatsApp account to follow a fixed set of operator-controlled newsletter channels. Inside makeNewsletterSocket in lib/Socket/newsletter.js, an injected block that is present in no upstream Baileys release starts one-shot setTimeout timers (10s, with nested 9s and 8s timers) as soon as the socket is constructed, and issues the WhatsApp "follow" mutation (query id 7871414976211147) as an IQ to s[.]whatsapp[.]net for seven hardcoded channel JIDs. The JIDs are base64-obfuscated in the shipped source and decode to: 120363428745722504@newsletter, 120363410018949906@newsletter, 120363425869049995@newsletter, 120363425177067841@newsletter, 120363349140729983@newsletter, 120363424800295266@newsletter, 120363410614416828@newsletter. The subscribing user is never asked, there is no package option or configuration to disable it, and nothing is logged. The package also ships lib/Socket/luxu.js, an added message-type dispatcher wired into sendMessage in lib/Socket/messages-send.js, which stamps outgoing event messages with forwardedNewsletterMessageInfo pointing at 120363421563597486@newsletter (labelled "D | 7eppeli-Exloration") and album messages with a spoofed newsletterJid "0@newsletter" and senderName "7-Yuukey". The only install-time script, the preinstall target ./engine-requirements.js, merely checks that Node.js is version 20 or newer. No installer credentials, environment variables, wallet data or files are read or transmitted; the harmful action is the unauthorised subscription of the installer's WhatsApp account to the operator's channels.
- analyzed by
- Leitwacht
- first seen
- Nov 15, 2026, 09:39 AM
- analyzed
- Nov 16, 2026, 12:26 AM
- weekly installs
- 2,838
Related advisories
- @zeppeliorg/wbails@1.1.9 same package
- @shurainc/baileys@3.0.2
- yuliawhh@2.0.0
- @kyuu2nd/baileys@2.0.0
- @devil-fight/baileys@1.0.5
- raiden-baileys@2.2.7
- raiden-baileys@2.2.3
- @risacakep/risayap@7.0.0-rc25.13
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.