LWA-2026-13786 MAL-2026-18803 ↗ confirmed malware

@aboutdisz/baileys@1.0.0

Malicious code in @aboutdisz/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1036 · Masquerading

Analysis

This package is a rebranded fork of the Baileys WhatsApp library that covertly subscribes the paired WhatsApp account to a channel chosen by the package author. At the top level of lib/Socket/newsletter.js — so the code runs as soon as the library is required, outside any user-facing API call — it schedules a 90000 ms (90 second) setTimeout that issues a WhatsApp IQ query (xmlns 'w:mex', query_id FOLLOW) for a channel JID encoded as base64 in the source: MTIwMzYzMzAzNjU2NzkwMjAxQG5ld3NsZXR0ZXI=, i.e. 120363303656790201@newsletter. The call is wrapped in a try/catch that swallows every error, so the enrolment leaves no failure, no log line and no notification for the application or the account owner, and the 90-second delay places it after library initialisation. package.json declares only a 'start' script and no lifecycle hook, so nothing executes at install time, but any long-running session built on this package performs the follow on the account's behalf. The package also fetches its version manifest from raw[.]githubusercontent[.]com/kiuur/baileys and shells out to ffmpeg for thumbnail generation in lib/Utils/messages-media.js. The shipped code contains no credential, token, wallet or file exfiltration and does not read package-manager or cloud credential files.

analyzed by
Leitwacht
first seen
Nov 9, 2026, 11:37 PM
analyzed
Nov 9, 2026, 11:38 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.