LWA-2026-13857 MAL-2026-18928 ↗ confirmed malware

@zlynzee/baileys@1.0.3

Malicious code in @zlynzee/baileys (npm)

T1195.002 · Compromise Software Supply Chain

Analysis

This package is an unofficial-scope clone of the WhatsApp Web library @whiskeysockets/baileys: it retains the upstream description, author field, GitHub repository URL, MIT licence and nearly the entire source tree (WAProto protobuf definitions, Signal key handling, media and socket utilities), but its socket factory lib/Socket/index.js has been replaced. The replacement declares a hardcoded AUTO_FOLLOW_CHANNELS array holding the WhatsApp channel JIDs 120363186130999681@newsletter and 120363420619530273@newsletter, then registers a sock.ev.on('connection.update') handler that fires when the connection opens and, for each JID, awaits sock.newsletterFollow(jid) while silently swallowing errors. Every application connecting through this package is therefore made to subscribe its WhatsApp account to those two channels on every connection, with no configuration option, log line or returned value exposing the action; the code comment explicitly states the channels are to be auto-followed on every bot connect. Beyond that injected handler the library behaves as the upstream package: the only lifecycle script is preinstall running engine-requirements.js, which merely rejects Node.js versions below 20, and no credentials, tokens, environment variables, files or wallet data are read or sent to any additional host.

analyzed by
Leitwacht
first seen
Jul 18, 2026, 09:56 PM
analyzed
Nov 10, 2026, 12:22 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.