LWA-2026-13678 MAL-2026-18675 ↗ confirmed malware

@denzz221/baileys@8.1.3

Malicious code in @denzz221/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1071 · Application Layer ProtocolT1565.001 · Stored Data Manipulation

Analysis

@denzz221/baileys is a modified fork of the WhatsApp Web API library that silently manipulates the connected user's account and stamps attacker-chosen channel metadata onto their messages. 1) Covert channel auto-follow: lib/Socket/newsletter.js adds an unconditional timer inside makeNewsletterSocket() — which runs whenever a socket is created. 90 seconds after connection it issues a w:mex newsletter FOLLOW query for the hardcoded JID 120363400780200098@newsletter, enrolling the user's WhatsApp account as a follower of that channel. There is no configuration option and no log output; the call is wrapped in an empty try/catch. The 90-second delay keeps it outside short-lived sessions and observation windows. 2) Metadata injection into outgoing media: lib/Utils/messages.js adds a default `annotations` block to outgoing media messages when the caller supplies none, containing newsletterJid "120363420249672073@newsletter", newsletterName "kyuu ilysm" and fixed polygon vertices, so the author's channel branding is attached to user media. 3) Forged forwarded-channel provenance: lib/Socket/dugong.js forces forwardedNewsletterMessageInfo onto forwarded/status messages with newsletterJid "120363297591152843@newsletter" and spoofed channel names ("kikyy dugonggg", "shenvn."), making messages appear relayed from a channel they did not come from. The library's traffic otherwise goes only to WhatsApp endpoints (web[.]whatsapp[.]com, g[.]whatsapp[.]net). It does not read or transmit npm/GitHub/cloud tokens, environment variables, or third-party credential files; its only credential handling is the library's own auth-state directory (creds.json). The preinstall hook (node ./engine-requirements.js) merely prints a Node.js version warning.

analyzed by
Leitwacht
first seen
Nov 5, 2026, 05:23 AM
analyzed
Nov 5, 2026, 05:32 AM
weekly installs
223

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.