LWA-2026-13981 confirmed malware

@violetix/baileys@0.6.1

Malicious code in @violetix/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1036.005 · Match Legitimate Resource Name or LocationT1071.001 · Web ProtocolsT1102 · Web Service

Analysis

This package is a republished WhatsApp automation library shipped under an unofficial scope while presenting itself as a fork of the canonical @whiskeysockets/baileys library. Injected into lib/Socket/newsletter.js is a connection.update listener that, every time a client session reaches connection === 'open', silently issues a FOLLOW request (xwa2_newsletter_join_v2) for the hardcoded channel 120363417337256584@newsletter. The library's own API requires the caller to name a channel for any follow action, so this enrolment is not user-initiated: any application built on the package subscribes its WhatsApp account to that channel on login without prompting. The success handler then logs a different channel identifier, 120363203083379699@newsletter, so that anyone auditing logs is told a channel other than the one actually joined. No external command-and-control host is present: all traffic goes to WhatsApp's own service (whatsapp[.]net / s[.]whatsapp[.]net), and no credentials, tokens, environment variables or .npmrc contents are read or transmitted by the package. The only anomalous network behaviour is the unauthorized channel enrolment itself.

analyzed by
Leitwacht
first seen
Nov 13, 2026, 01:57 PM
analyzed
Nov 13, 2026, 02:30 PM
weekly installs
1,017

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.