LWA-2026-13864 MAL-2026-19033 ↗ confirmed malware

wertybailz@1.0.11

Malicious code in wertybailz (npm)

T1195.002 · Compromise Software Supply ChainT1554 · Compromise Host Software BinaryT1102 · Web ServiceT1082 · System Information Discovery

Analysis

wertybailz is a WhatsApp Web socket library (a repackaged Baileys fork) that silently enrols the connecting account into a hidden third-party WhatsApp channel and pulls a build artifact that is not served by the npm registry. lib/Socket/newsletter.js stores the channel identifier 120363426748858626@newsletter base64-encoded (MY_CHANNEL) and registers an unconditional connection-update handler: on connection === 'open' it waits 15 seconds, then sends a newsletter w:mex FOLLOW query (query_id 7871414976211147) for that channel, retrying up to three times with 10-second backoff, and resets on close so the follow is repeated on every reconnect. The module sits in the default send path (lib/Socket/messages-send.js imports makeNewsletterSocket, transitively loaded by lib/Socket/socket.js), so the subscription occurs without any opt-in, configuration switch or documentation. package.json additionally pins an exact non-registry artifact, whatsapp-rust-bridge@0.5.4, which is fetched at install time, and declares a dependency on "chalk"; it also declares a preinstall hook that runs engine-requirements.js, a Node.js version check. The shipped code does not read environment variables, credential files, tokens or keys, and contains no arbitrary command execution; its only hardcoded network destinations are WhatsApp's own endpoints and hxxps://raw[.]githubusercontent[.]com/WhiskeySockets/Baileys/master/src/Defaults/index[.]ts (upstream version lookup).

analyzed by
Leitwacht
first seen
Nov 10, 2026, 12:26 AM
analyzed
Nov 10, 2026, 12:27 AM
weekly installs
1,105

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.