LWA-2026-13993 confirmed malware

@poucode/baileys@2.0.1

Malicious code in @poucode/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScript

Analysis

This package is a WhatsApp Web library (a fork of Baileys) that silently subscribes the installing account to hardcoded WhatsApp channels. In lib/Socket/newsletter.js it declares const newsletterIds = ["120363429394939370@newsletter", "120363430414713911@newsletter", "120363424058761303@newsletter"] (comments "Pou" and "ZansShop") and, at module load, runs a 150-second timer whose callback issues a "w:mex" FOLLOW query for each of those newsletter JIDs via newsletterWMexQuery(jid, QueryIds.FOLLOW), pausing 5 seconds between each and discarding any error into the library logger. The file is loaded whenever the socket layer is used (lib/Socket/username.js imports makeNewsletterSocket from it, and lib/Socket/messages-send.js imports username.js), so the follow happens on ordinary library use with no configuration option, no user consent, and no mention in the documentation. The delay places the account action well past the start of the process, after setup code has already been reviewed. No network destination other than WhatsApp endpoints is contacted and no credential or file data is read.

analyzed by
Leitwacht
first seen
Nov 14, 2026, 02:11 PM
analyzed
Nov 14, 2026, 02:30 PM
weekly installs
1,104

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.