LWA-2026-13788 MAL-2026-18804 ↗ confirmed malware

@alzx7z/baileys@2.0.5

Malicious code in @alzx7z/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1027 · Obfuscated Files or InformationT1098 · Account ManipulationT1071.001 · Web Protocols

Analysis

@alzx7z/baileys is a repackaged clone of the WhatsApp library @whiskeysockets/baileys with code injected into lib/Socket/newsletter.js that forces the user's authenticated WhatsApp account to follow operator-controlled channels. At module load, four timers fire 90 seconds later and each issues a WhatsApp "w:mex" newsletter FOLLOW query (QueryIds.FOLLOW) for a channel JID hidden as a base64 string literal: 120363407144637058@newsletter, 120363425065963346@newsletter, 120363406524087186@newsletter and 120363420091867664@newsletter. The requests are sent through the caller's own established WhatsApp socket, so any application that connects with this package silently enrols the signed-in account(s) into those four channels shortly after startup; the 90-second delay places the action well after the socket handshake and outside typical short-lived install checks. The hooks swallow errors so the subscriptions are invisible to the application. The package's only lifecycle hook (preinstall: node ./engine-requirements.js) merely enforces Node.js >= 20 and performs no download or execution. No credential, token, wallet or environment reads are present in the shipped code and no destination other than web[.]whatsapp[.]com is contacted.

analyzed by
Leitwacht
first seen
Nov 9, 2026, 11:37 PM
analyzed
Nov 9, 2026, 11:42 PM

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.