LWA-2026-14598 MAL-2026-18711 ↗ confirmed malware

nishiki-bail@1.1.23

Malicious code in nishiki-bail (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1102 · Web Service

Analysis

nishiki-bail@1.1.23 is a republished WhatsApp Web client library (a Baileys fork) carrying an injected payload that manipulates the installer's WhatsApp account. In lib/Socket/newsletter.js, makeNewsletterSocket defines autoFollowNewsletter() and schedules it with a 120-second setTimeout; when it runs it calls the newsletter join query (QueryIds.FOLLOW / xwa2_newsletter_join_v2) for the hardcoded channel 120363329486691279@newsletter, silently subscribing the user's account to that channel with no configuration or user action; errors from the call are swallowed. The package also ships lib/Socket/clutch-handler.js (class ClutchHandler, wired into the send path as `gun` in lib/Socket/messages-send.js), which constructs forged event/view-once WhatsApp messages whose forwardedNewsletterMessageInfo defaults to newsletter name "secret-company" and newsletter JID 120363329486691279@newsletter, and which loads recipient data from ./contacts-cache.json in the process working directory. The preinstall hook (node ./engine-requirements.js) only performs a Node.js version check. No network destinations other than WhatsApp's own servers (web[.]whatsapp[.]com, call[.]whatsapp[.]com) are contacted by the injected code.

analyzed by
Leitwacht
first seen
Nov 28, 2026, 10:52 PM
analyzed
Nov 28, 2026, 10:53 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.