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

@denzz221/baileys@8.0.8

Malicious code in @denzz221/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1027 · Obfuscated Files or InformationT1497.003 · Time Based EvasionT1059.007 · JavaScriptT1071.001 · Web Protocols

Analysis

This package is a republished fork of the WhatsApp Web API library Baileys (basename identical to the upstream @whiskeysockets/baileys package, shipped under a different scope) that silently manipulates the WhatsApp account of whoever runs code using it. In lib/Socket/newsletter.js, inside makeNewsletterSocket(), an undisclosed 90-second setTimeout callback is registered that issues a newsletter GraphQL FOLLOW query for the hardcoded channel 120363400780200098@newsletter through the user's own authenticated WhatsApp session; the call is wrapped in try/catch and buried among unrelated newsletter-parsing code, so any bot or automation built on the library subscribes that account to the channel without the operator's knowledge or consent. Two further hardcoded channel identifiers are shipped in code: 120363420249672073@newsletter (newsletterName "kyuu ilysm", in the default message payload built in lib/Utils/messages.js) and 120363297591152843@newsletter (newsletterName "shenvn.", in lib/Socket/dugong.js). The preinstall script engine-requirements.js only checks the Node.js version. No credential or token harvesting was found in the shipped code; all network traffic is to WhatsApp endpoints (wss://web[.]whatsapp[.]com, v[.]whatsapp[.]net, wa[.]me/faq[.]whatsapp[.]com), and the forced channel follow is the sole non-standard action.

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