LWA-2026-14007 MAL-2026-18818 ↗ confirmed malware

@denzy-official/baileys@1.2.9

Malicious code in @denzy-official/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1027 · Obfuscated Files or InformationT1105 · Ingress Tool Transfer

Analysis

@denzy-official/baileys@1.2.9 is a modified republish of the WhatsApp automation library @whiskeysockets/baileys under an unrelated scope, and ships behaviour the upstream library does not: 1. Concealed payload at the entrypoint. lib/index.js begins with eval(Buffer.from(`<base64 blob>`, 'base64').toString()). The blob decodes to a console banner built with gradient-string and figlet ("Denzy ZeroDay", Telegram @pantatBegetar), but the construct is arbitrary code evaluation of an opaque, encoded string in the package's main file — whatever is put in that blob runs on require. 2. Hidden WhatsApp newsletter auto-follow. In lib/Socket/newsletter.js, a 90-second setTimeout (followed by a nested 5-second retry) calls newsletterWMexQuery(..., QueryIds.FOLLOW) against a hardcoded, base64-encoded newsletter JID ("MTIwMzYzNDAyMzA4MTA1OTYxQG5ld3NsZXR0ZXI="). The value is encoded specifically to hide which channel it is, and nothing in the library's normal operation subscribes the user's account to a channel. Every bot that connects is silently subscribed to an operator-chosen newsletter; the 90-second delay keeps the action out of the first seconds of execution. 3. Remote mutable config. lib/Utils/generics.js exposes fetchLatestBaileysVersion(), which requests hxxps://raw[.]githubusercontent[.]com/Denzy-Z3roDay/baileys/master/src/Defaults/baileys-version[.]json via axios instead of upstream, giving the fork's owner a config channel into every installer's runtime. The preinstall hook (node ./engine-requirements.js) is only a Node.js version guard. The package's dependency libsignal: github:NaufalYupra/libsignal-node pulls a fork rather than the official source. IOCs: hxxps://raw.githubusercontent[.]com/Denzy-Z3roDay/baileys/master/src/Defaults/baileys-version.json ; hxxps://t[.]me/pantatBegetar ; hxxps://files[.]catbox[.]moe/8aomwf.jpg ; encoded newsletter JID MTIwMzYzNDAyMzA4MTA1OTYxQG5ld3NsZXR0ZXI=.

analyzed by
Leitwacht
first seen
Nov 15, 2026, 08:57 AM
analyzed
Nov 15, 2026, 08:59 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.