@fadeldev/baileys-mod@8.0.5
Malicious code in @fadeldev/baileys-mod (npm)
Analysis
A modified WhatsApp automation library that silently subscribes the connected WhatsApp account to the author's channels. When the module is loaded, lib/Socket/newsletter.js registers three timers with a 90000 ms delay; each fires a WhatsApp "w:mex" FOLLOW query (QueryIds.FOLLOW, id 7871414976211147) that makes the signed-in account follow a hardcoded channel. The channel JIDs are hidden as decimal character-code arrays decoded at runtime with String.fromCharCode — 120363408367338249@newsletter, 120363409508273158@newsletter and 12036340982021544@newsletter — and are triggered without any user action or consent. The README discloses only one channel (whatsapp[.]com/channel/0029VaranC0KmCPQCHryFs2C), so the remaining subscriptions occur without disclosure. A further channel reference, 120363420091867664@newsletter ("fadelsm."), is embedded in lib/Socket/dugong.js as forwardedNewsletterMessageInfo attached to generated event messages, pushing that channel into recipients' message context. No credential, token, environment variable or file is read or transmitted, there is no non-WhatsApp network destination, and the preinstall hook (engine-requirements.js) only checks that Node.js is version 20 or newer.
- analyzed by
- Leitwacht
- first seen
- Nov 26, 2026, 05:51 PM
- analyzed
- Nov 26, 2026, 05:53 PM
- weekly installs
- 684
Related advisories
- @fadeldev/baileys-mod@8.0.3 same package
- @fadeldev/baileys-mods@8.0.4
- vant@4.9.12
- vant@3.6.15
- vant@3.6.13
- vant@4.9.11
- vant@4.9.13
- malvin-wa@0.1.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.