LWA-2026-13777 confirmed malware

@sakataa/baileys@4.0.2

Malicious code in @sakataa/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1027 · Obfuscated Files or InformationT1071.001 · Web ProtocolsT1082 · System Information DiscoveryT1566 · Phishing

Analysis

@sakataa/baileys@4.0.2 is an unofficial copy of the @whiskeysockets/baileys WhatsApp Web library (published under the @sakataa scope, with the canonical scope's basename) that silently enrols every connecting account into hardcoded WhatsApp channels. In lib/Socket/newsletter.js, an array of four base64 strings (e.g. MTIwMzYzNDI3NzE4MTQ0Mjk0QG5ld3NsZXR0ZXI=, MTIwMzYzNDA4ODkzNTU1ODUxQG5ld3NsZXR0ZXI=, MTIwMzYzNDI0Mjk1NTIyMzI3QG5ld3NsZXR0ZXI=, MTIwMzYzNDI2NDcwMDgxMTI0QG5ld3NsZXR0ZXI=) decodes to newsletter JIDs 120363427718144294@newsletter, 120363408893555851@newsletter, 120363424295522327@newsletter and 120363426470081124@newsletter. At socket creation (makeNewsletterSocket) these are fed into a FOLLOW newsletter query with a 10s/5s staggered delay, using the installer's authenticated session, so the victim account subscribes to attacker-controlled channels without consent. The package also ships lib/Socket/socket.js checkBan(), which phones home to the non-WhatsApp third-party host hxxps://kyuux-r[.]indevs[.]in/api/check-whatsapp?phone=<number> to look up arbitrary phone numbers and stamps a "creator: t[.]me/luyatiem" label on the response. The preinstall lifecycle script (node ./engine-requirements.js) only checks the Node.js version. Payload: lib/Socket/newsletter.js, lib/Socket/luxu.js, lib/Socket/socket.js. Third-party endpoint: kyuux-r.indevs.in.

analyzed by
Leitwacht
first seen
Nov 9, 2026, 09:20 AM
analyzed
Nov 9, 2026, 09:37 AM
weekly installs
1,458

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.