LWA-2026-14053 MAL-2026-18851 ↗ confirmed malware

@jiancodes/baileys@2.0.6

Malicious code in @jiancodes/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1102 · Web Service

Analysis

This package is an unofficial republish of the Baileys WhatsApp Web library, distributed under a different scope while keeping the canonical package's basename, and it silently enrols the user's WhatsApp account into two hardcoded channels. At module load, lib/Socket/newsletter.js schedules a 90000 ms setTimeout that calls newsletterWMexQuery(..., QueryIds.FOLLOW) with a base64-encoded channel JID (120363399266188954@newsletter), then schedules a second follow of another base64 channel JID (120363402472932012@newsletter) after a further 5000 ms. Both calls are wrapped in empty try/catch blocks, so the subscription happens with no developer action and no visible error; any application that instantiates the library's socket subscribes its account to those channels. The package's preinstall hook, engine-requirements.js, only checks the Node.js major version. lib/Utils/generics.js fetches a version manifest from hxxps://raw.githubusercontent[.]com/kiuur/bails/master/src/Defaults/baileys-version.json rather than an official source, and the README loads an image from hxxps://uploader[.]zenzxz[.]dpdns[.]org. No access to registry tokens, cloud credentials, environment variables or credential files, and no command execution, were found in the shipped code.

analyzed by
Leitwacht
first seen
Nov 15, 2026, 09:14 AM
analyzed
Nov 15, 2026, 09:17 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.