LWA-2026-13985 confirmed malware

@poucode/baileys@1.0.2

Malicious code in @poucode/baileys (npm)

T1195.002 · Compromise Software Supply Chain

Analysis

A fork of the Baileys WhatsApp WebSocket library published under an unofficial @poucode scope that silently subscribes the installer's WhatsApp account to operator-controlled channels. In package/lib/Socket/newsletter.js, at module top level (so it runs as soon as the library is imported, with no option or configuration to enable it), the code declares a hidden array `newsletterIds` containing three hardcoded channel JIDs — 120363429394939370@newsletter, 120363430414713911@newsletter and 120363424058761303@newsletter, annotated "Pou" and "ZansShop" — then schedules a 150000 ms setTimeout whose callback calls newsletterWMexQuery(jid, QueryIds.FOLLOW) for each JID five seconds apart, logging failures as "Newsletter follow failed". These JIDs appear nowhere else in the package; they are not configuration, not documented and not used by any API surface. Approximately 2.5 minutes after any application loads the module, the end user's own authenticated WhatsApp session is enrolled as a follower of those channels, inflating their audience without the account holder's knowledge or consent. The preinstall hook engine-requirements.js contains only a Node.js version check and does not download or execute anything; there is no credential, token, environment or file access in the package.

analyzed by
Leitwacht
first seen
Nov 13, 2026, 05:43 PM
analyzed
Nov 13, 2026, 06: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.