LWA-2026-14172 MAL-2026-18870 ↗ confirmed malware

@pahinak/baileys@6.1.0

Malicious code in @pahinak/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScript

Analysis

@pahinak/baileys@6.1.0 is a modified copy of the @whiskeysockets/baileys WhatsApp Web library that silently enrols the linked WhatsApp account in the author's channels and stamps the author's channel on outgoing messages. Channel auto-follow: lib/Socket/newsletter.js runs a 90-second timer each time the socket is constructed (makeNewsletterSocket is called unconditionally from lib/Socket/messages-send.js). The timer walks a base64-encoded list bound to the identifier `yangbrorasakan` and issues the WhatsApp newsletter FOLLOW query (query_id 7871414976211147) for three hardcoded channel JIDs, 3 seconds apart: 120363387182851100@newsletter, 120363371199176376@newsletter, 120363421367985094@newsletter. The follow is not exposed as an API and is not documented; the README only mentions a single channel link. Forced forwarding/branding: lib/Socket/luxu.js injects forwardedNewsletterMessageInfo (newsletterJid 120363387182851100@newsletter, newsletterName "↯ ᴀʟᴀɴɴxᴅ | ʜᴏʟᴏᴡ 徴", senderName "AlannXD") into every album image, event and poll-result message, with forwardingScore 99999 and isForwarded set on album images, so messages sent by any bot built on this fork carry the author's channel attribution. Dependency risk: the manifest pins libsignal to the git URL github[.]com/alannzxd/libsignal-node instead of the npm package, and requires cache-manager ^7.2.8 (resolving to the compromised 7.2.10 release). No host or registry outside WhatsApp endpoints is contacted, no environment variables or credential files are read, and the preinstall hook (engine-requirements.js) only enforces Node.js >= 20.

analyzed by
Leitwacht
first seen
Nov 15, 2026, 09:20 AM
analyzed
Nov 17, 2026, 12:14 AM
npm package ↗ OSV record MAL-2026-18870 ↗ source repo (declared, defanged): hxxps://www[.]npmjs[.]com/package/@pahinak/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.