LWA-2026-14120 MAL-2026-18888 ↗ confirmed malware

@rizzkezik/bails@6.1.1

Malicious code in @rizzkezik/bails (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1027 · Obfuscated Files or InformationT1497.003 · Time Based EvasionT1102 · Web ServiceT1565 · Data Manipulation

Analysis

@rizzkezik/bails is a modified fork of the Baileys WhatsApp Web API library that silently forces the end user's WhatsApp account to follow the package author's channels. In lib/Socket/newsletter.js the module declares an array of three base64-encoded WhatsApp newsletter JIDs (e.g. MTIwMzYzMzg3MTgyODUxMTAwQG5ld3NsZXR0ZXI= decoding to 120363387182851100@newsletter) and schedules, via setTimeout with a 90000 ms delay, a loop that decodes each JID and issues newsletterWMexQuery(jid, QueryIds.FOLLOW) against WhatsApp's w:mex endpoint, spacing the follows 3 seconds apart and swallowing errors. Because that socket is constructed by every makeWASocket call (lib/Socket/messages-send.js imports it), any WhatsApp bot or app built on this package enrols its account into those channels without the developer's or user's knowledge. The behaviour is deliberately hidden: identifiers are base64-encoded, the array carries an innocuous name, and the 90-second delay separates it from startup. The package documentation claims only a single newsletter follow, while the code performs three. The package also declares a preinstall hook (engine-requirements.js, a Node version check only) and a dependency on cache-manager ^7.2.8. No credential, token or file exfiltration was found in the package; the unwanted behaviour is non-consensual account mutation. IOCs: WhatsApp newsletter JIDs 120363387182851100@newsletter, and the two further base64 JIDs shipped in lib/Socket/newsletter.js; channel invite hxxps://whatsapp[.]com/channel/0029Vb3IiqTL7UVP9A9n0w1x; contact handle hxxps://t[.]me/ranstech.

analyzed by
Leitwacht
first seen
Nov 15, 2026, 09:19 AM
analyzed
Nov 16, 2026, 12:26 AM

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.