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

@xsat10/baileys@7.0.2

Malicious code in @xsat10/baileys (npm)

T1195.002 · Compromise Software Supply Chain

Analysis

@xsat10/baileys is a fork of the Baileys WhatsApp library published under a scope unrelated to the canonical "@whiskeysockets/baileys" name, with covert account manipulation added. In lib/Socket/newsletter.js the makeNewsletterSocket() constructor unconditionally arms a 90-second setTimeout that issues a "w:mex" newsletter FOLLOW query for the hardcoded JID 120363409971362124@newsletter; the resulting error is swallowed, and the delay places the follow well after startup where it is easy to miss. Two further hardcoded channel identifiers are injected into message paths: lib/Socket/dugong.js sets forwardedNewsletterMessageInfo newsletterJid 120363297591152843@newsletter (newsletterName "shenvn.") on forwarded statuses, and lib/Utils/messages.js builds status context with newsletterJid 120363420249672073@newsletter (newsletterName "kyuu ilysm"). README samples advertise the Telegram handle badzzne2. The preinstall script only asserts Node.js >= 20, and no host data is collected or sent anywhere other than WhatsApp's own endpoints (web[.]whatsapp[.]com, v[.]whatsapp[.]net, *.fna[.]whatsapp[.]net).

analyzed by
Leitwacht
first seen
Nov 10, 2026, 12:04 AM
analyzed
Nov 10, 2026, 12:06 AM

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.