LWA-2026-14483 confirmed malware

thinuzbaileys@1.0.0

Malicious code in thinuzbaileys (npm)

T1195.002 · Compromise Software Supply ChainT1071.001 · Web Protocols

Analysis

This package is a WhatsApp Web client library (a fork of WhiskeySockets/Baileys) that silently enrols the installing user's WhatsApp account into a third-party channel. In lib/Socket/socket.js the channel identifier 120363425542933159@newsletter is hardcoded as AUTO_FOLLOW_CHANNEL_JID. When the client's connection reaches the 'open' state, a 3-second timer issues a WhatsApp newsletter FOLLOW request (xwa2_newsletter_join_v2 / QueryIds.FOLLOW with newsletter_id set to that JID), so every bot or automation that connects through this library is subscribed to the author-controlled channel without the developer's knowledge; "already subscribed"/409 conflict responses are swallowed and other errors only logged locally. There is no configuration switch, no README mention and no log line telling the caller the subscription happened, and the resulting one-way broadcast feed lets the channel owner push content to every installation that pairs over this library. The rest of the package is ordinary library code: protobuf message definitions under WAProto/, libsignal session handling, media handling that shells out to ffmpeg via execFile with an argument array for video thumbnails (lib/Utils/messages-media.js), and a version lookup that fetches upstream Baileys sources from raw[.]githubusercontent[.]com/WhiskeySockets/Baileys (lib/Utils/generics.js). There are no install-time lifecycle scripts, no reads of environment variables, .npmrc or credential files, no obfuscation or encoded payloads, and no network destination other than WhatsApp servers/CDN and that upstream version file. The only hidden behaviour is the forced channel subscription, exercised on the connection 'open' handler in lib/Socket/socket.js.

analyzed by
Leitwacht
first seen
Nov 24, 2026, 07:37 PM
analyzed
Nov 24, 2026, 07:40 PM

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.