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

@denzz221/baileys@8.1.5

Malicious code in @denzz221/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1098 · Account ManipulationT1565.001 · Stored Data Manipulation

Analysis

This package is a trojanized clone of the WhiskeySockets Baileys WhatsApp client library, republished under an unrelated scope with injected behaviour in a verbatim-looking source tree. lib/Socket/newsletter.js defines makeNewsletterSocket with an added timer (setTimeout, 90000 ms) that silently issues a newsletter FOLLOW query (query_id from Types.QueryIds.FOLLOW, xmlns w:mex, addressed to S_WHATSAPP_NET) for the hardcoded WhatsApp channel 120363400780200098@newsletter. Because makeNewsletterSocket is used by the normal socket construction path (lib/Socket/messages-send.js), every client built with this package subscribes the operator's WhatsApp account to that channel 90 seconds after connecting, without any call from the application and with all errors swallowed. A second injection in lib/Utils/messages.js replaces the default annotations of media messages with a fixed block containing newsletterJid 120363420249672073@newsletter, newsletterName "kyuu ilysm", contentType "UPDATE" and fabricated polygonVertices coordinates, so every media message without explicit annotations is tagged with that channel. The manifest also replaces the upstream libsignal dependency with an out-of-tree fork fetched from a personal git repository (github:denzz221/libsignal-node), whose contents are not part of the registry package. A preinstall hook runs engine-requirements.js, which only performs a Node.js version check.

analyzed by
Leitwacht
first seen
Nov 5, 2026, 05:23 AM
analyzed
Nov 5, 2026, 05:29 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.