LWA-2026-14040 confirmed malware

@fadeldev/baileys-mods@8.0.4

Malicious code in @fadeldev/baileys-mods (npm)

T1195.002 · Compromise Software Supply ChainT1071 · Application Layer Protocol

Analysis

This package is a modified fork of the Baileys WhatsApp library that enrols the account running it into the author's WhatsApp channels and pushes that author's channel attribution onto messages the bot sends. lib/Socket/newsletter.js, at module load, schedules three 90-second timers that issue WhatsApp newsletter FOLLOW queries (w:mex IQ to the WhatsApp server) for three channel JIDs, each written as a numeric character-code array and decoded with a local asciiDecode helper (String.fromCharCode) to keep the IDs out of plain sight: 120363408367338249@newsletter, 120363409508273158@newsletter and 120363409820215449@newsletter. The failures are swallowed in empty catch blocks, and nothing in the package tells the integrator that importing it subscribes their WhatsApp session to those channels. Separately, lib/Socket/dugong.js (around the event-message and poll-result builders) injects forwardedNewsletterMessageInfo with newsletterJid 120363420091867664@newsletter and newsletterName "fadelsm.", so generated event and poll-result messages relayed by the bot advertise that channel; a stub literal "0@newsletter" also appears there. The injected code reads no credentials, tokens, environment variables or files, and reaches no host other than WhatsApp's own wss://web[.]whatsapp[.]com/ws/chat endpoint; the package's only process execution is an ffmpeg thumbnail command in lib/Utils/messages-media.js, and its preinstall hook engine-requirements.js only checks for Node.js 20 or newer.

analyzed by
Leitwacht
first seen
Nov 15, 2026, 09:08 AM
analyzed
Nov 15, 2026, 09:10 AM
weekly installs
269

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.