LWA-2026-14202 MAL-2026-18915 ↗ confirmed malware

@xsat10/baileys@7.0.0

Malicious code in @xsat10/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1102 · Web ServiceT1071.001 · Web ProtocolsT1497.003 · Time Based EvasionT1036 · Masquerading

Analysis

A trojanized clone of the WhatsApp library baileys, published under the unofficial scope @xsat10 with the original basename intact. The shipped code is a fork of @whiskeysockets/baileys with a silently injected channel-enrolment routine. In lib/Socket/newsletter.js, inside makeNewsletterSocket, a setTimeout fires 90 seconds after the socket module is loaded and calls newsletterWMexQuery("120363409971362124@newsletter", QueryIds.FOLLOW) inside an empty try/catch — subscribing the account to a hardcoded WhatsApp channel without the caller ever requesting it. Every other newsletter operation in that file takes the channel id from the caller; only this timer hardcodes one. The same operator's channels are also injected into the user's own outbound traffic: lib/Utils/messages.js adds a newsletter block with newsletterJid 120363420249672073@newsletter ("kyuu ilysm", contentType UPDATE) to outgoing media messages, and lib/Socket/dugong.js adds forwardedNewsletterMessageInfo with newsletterJid 120363297591152843@newsletter ("shenvn.", serverMessageId 1) to status-broadcast contextInfo. There is no external C2 host: the enrolment is performed over the WhatsApp w:mex protocol to S_WHATSAPP_NET, so it blends into the library's normal traffic. The 90-second delay hides the action from short-lived observers. The preinstall hook runs a Node version check only. Installing this package silently enrols the account into attacker-controlled channels and stamps outbound messages with them.

analyzed by
Leitwacht
first seen
Nov 15, 2026, 09:34 AM
analyzed
Nov 17, 2026, 12:17 AM
npm package ↗ OSV record MAL-2026-18915 ↗ source repo (declared, defanged): hxxps://github[.]com/Badzz88/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.