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

patron-pro@2.0.3

Malicious code in patron-pro (npm)

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

Analysis

patron-pro is a WhatsApp/Baileys-style API fork that covertly manipulates the authenticated user's WhatsApp account on first use. In lib/Socket/newsletter.js, the socket factory makeNewsletterSocket() unconditionally registers a 90-second timer when the socket is created. When it fires, the callback issues a WhatsApp WMex newsletter query with the FOLLOW operation for the hardcoded channel 120363303045895814@newsletter, subscribing the user's own account to that channel without any call from package code, user action or consent; the request is wrapped in an empty catch so failures are silent. Only one channel JID is hardcoded in the whole package, and it is not the channel the package's metadata advertises. The 90-second delay places the subscription after connection set-up, and the preinstall hook (node ./engine-requirements.js) only checks the Node.js version, so nothing warns the user. Aside from the subscription, traffic is the ordinary wss://web[.]whatsapp[.]com/ws/chat session and WhatsApp newsletter IQ queries, and the only process execution is ffmpeg thumbnail extraction in lib/Utils/messages-media.js. Hardcoded auto-followed channel JID: 120363303045895814@newsletter.

analyzed by
Leitwacht
first seen
Nov 15, 2026, 09:43 AM
analyzed
Nov 17, 2026, 12:22 AM
weekly installs
754
npm package ↗ OSV record MAL-2026-19000 ↗ source repo (declared, defanged): hxxps://whatsapp[.]com/channel/0029Val0s0rIt5rsIDPCoD2q Request takedown / dispute →

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.