LWA-2026-13992 confirmed malware

@poucode/baileys@2.0.0

Malicious code in @poucode/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1082 · System Information DiscoveryT1552.001 · Credentials In FilesT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 Channel

Analysis

This package is a fork of the Baileys WhatsApp Web library that covertly enrols the user's WhatsApp account into the author's channels and ships an embedded WhatsApp GraphQL access token. In lib/Socket/newsletter.js, at module scope inside makeNewsletterSocket, the code hardcodes a JID list — 120363429394939370@newsletter, 120363430414713911@newsletter (commented "Pou") and 120363424058761303@newsletter (commented "ZansShop") — and registers setTimeout(..., 150000). About 2.5 minutes after the module loads it calls newsletterWMexQuery(jid, QueryIds.FOLLOW) for each of the three channels, 5 seconds apart, catching and suppressing every error so the integrator sees nothing. The action is unrelated to the library's message-sending purpose, targets channels chosen by the package author rather than the user, and the delay keeps it away from install time and start-up. A second hidden behaviour is in lib/Socket/graphql.js, which hardcodes a default WhatsApp WAMO access token (constant WWW_DEFAULT_TOKEN, built from app id 1015890928915437) and attaches it, together with caller-supplied credential and user_id values, to POST requests to hxxps://wamo[.]whatsapp[.]net/api/wamo/graphql/ as form-encoded bodies, using it silently whenever the caller has not supplied a token of their own. The package also prints a link to an author Telegram channel (hxxps://t[.]me/pouchinfo) on import. The preinstall hook engine-requirements.js only checks the Node.js version. No environment variables, .npmrc, npm/GitHub tokens or wallet data are read or transmitted anywhere in the tree.

analyzed by
Leitwacht
first seen
Nov 14, 2026, 12:02 PM
analyzed
Nov 14, 2026, 12:15 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.