LWA-2026-14562 MAL-2026-20680 ↗ confirmed malware

@leonoremods/baileys@1.2.9

Malicious code in @leonoremods/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1071.001 · Web Protocols

Analysis

This package is an unofficial fork of the Baileys WhatsApp multi-device library that silently subscribes the connecting account to publisher-chosen WhatsApp channels, and it pulls in separately-compromised packages as runtime dependencies. On socket creation, src/WAUSync/Protocols/USyncNewsletterProtocol.js issues WhatsApp "mex" FOLLOW queries (iq xmlns w:mex, target s[.]whatsapp[.]net) to a hardcoded list of newsletter IDs on 50 s, 90 s and up to 140 s timers (newsletterSlotDelays); src/Socket/newsletter.js carries the same follows with base64-encoded IDs 120363400362472743@newsletter, 120363426470081124@newsletter, 120363408893555851@newsletter and 120363395678317603@newsletter. The behaviour is on by default — it is skipped only if the integrator passes newsletterAutoFollow: false or supplies their own newsletterAutoFollowIds — so accounts using the library are enrolled into third-party channels without consent. The manifest additionally declares runtime dependencies on cache-manager (^7.2.8) and @cacheable/node-cache (^3.0.1), versions that are themselves compromised; installing this package therefore places attacker-controlled code in the dependency tree of every consumer. No other network destinations, no obfuscation and no credential reads were found in the shipped code.

analyzed by
Leitwacht
first seen
Nov 27, 2026, 02:21 AM
analyzed
Nov 27, 2026, 02:23 AM
npm package ↗ OSV record MAL-2026-20680 ↗ source repo (declared, defanged): hxxps://github[.]com/LeonoreXd/Baileys 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.