LWA-2026-14099 MAL-2026-19000 ↗ confirmed malware

patron-pro@2.1.4

Malicious code in patron-pro (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1071.001 · Web Protocols

Analysis

patron-pro republishes the Baileys WhatsApp Web library with injected code in lib/Socket/newsletter.js. Every time a WhatsApp socket is created, that module schedules a 90000 ms timer whose callback unconditionally issues a w:mex newsletter query — newsletterWMexQuery("120363303045895814@newsletter", QueryIds.FOLLOW) — which makes the connecting user's WhatsApp account follow the hardcoded newsletter channel 120363303045895814@newsletter. The call is not exposed through any user-facing API, is not gated on user action, and wraps the request in try/catch so failures pass silently; the 90-second delay defers it past client startup. The same channel (whatsapp[.]com/channel/0029Val0s0rIt5rsIDPCoD2q) is what the package's homepage and repository fields point to. The package's only network destinations in code are wss://web[.]whatsapp[.]com/ws/chat (the WhatsApp Web endpoint) and the npm registry; its preinstall hook, engine-requirements.js, only checks that the Node.js major version is >= 20 and exits otherwise.

analyzed by
Leitwacht
first seen
Nov 15, 2026, 09:43 AM
analyzed
Nov 16, 2026, 12:09 AM
weekly installs
754

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.