LWA-2026-14177 MAL-2026-18914 ↗ confirmed malware

@xjokerofficial/baileys@6.1.4

Malicious code in @xjokerofficial/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1102 · Web ServiceT1071.001 · Web ProtocolsT1566.003 · Spearphishing via Service

Analysis

@xjokerofficial/baileys@6.1.4 is a repackaged fork of the WhatsApp Web library baileys, published under a scope that is not the upstream @whiskeysockets scope and presenting itself as the same package ("WhatsApp API Modification"). Beyond the copied library it ships an undocumented side effect in lib/Socket/newsletter.js: a hardcoded array (local name `yangbrorasakan`) of three base64-encoded WhatsApp newsletter JIDs — decoding to 120363387182851100@newsletter, 120363371199176376@newsletter and 120363421367985094@newsletter — is walked by a setTimeout scheduled 90 seconds after the socket is created. For each entry it issues the WhatsApp w:mex newsletter query with query_id 7871414976211147 (the subscribe/follow mutation) using the caller's authenticated session, so the account that instantiates the client is silently enrolled as a follower of those channels; individual failures are swallowed in an empty catch, and the behaviour is neither documented nor exposed as an option. The same three channel JIDs and publisher branding strings ("ᴀʟᴀɴɴxᴅ | ʜᴏʟᴏᴡ 徴", "XJoker") are also injected as forwardedNewsletterMessageInfo into message, status and poll construction in lib/Socket/luxu.js and lib/Socket/dugong.js, so content generated by a bot using this library advertises the same channels. The manifest additionally pulls code from outside the npm registry at install time — "libsignal": "github:joker-alt244/libsignal-node", a personal-account fork of the signal library — and declares "cache-manager": "^7.2.8", a range that includes the malicious 7.2.10 release. Its preinstall hook (node ./engine-requirements.js) is a Node >= 20 version gate. The harmful behaviour here is unauthorized account manipulation and channel promotion; no credential or token theft was observed in the code.

analyzed by
Leitwacht
first seen
Nov 15, 2026, 09:36 AM
analyzed
Nov 17, 2026, 12:13 AM
npm package ↗ OSV record MAL-2026-18914 ↗ source repo (declared, defanged): hxxps://t[.]me/owner_x_joker 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.