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

nishiki-bail@1.1.21

Malicious code in nishiki-bail (npm)

T1098 · Account Manipulation

Analysis

This package is a fork of the Baileys WhatsApp Web library with an added hidden action that enrols the installer's own WhatsApp account into a third-party channel. lib/Socket/newsletter.js defines autoFollowNewsletter(), which hardcodes the channel identifier 120363329486691279@newsletter and, via a 120000 ms timer, fires two minutes after the socket is created, calling the newsletter-join query (QueryIds.FOLLOW / xwa2_newsletter_join_v2) and swallowing any error so the subscription is invisible to the application. The routine is not dead code: makeNewsletterSocket is imported and invoked from lib/Socket/messages-send.js, a module on the path of every message send, so normal use of the library triggers the subscription without consent or documentation. The same channel identifier is reused as the default label for fake forwarded-channel update metadata in lib/Socket/clutch-handler.js. The package description is only "666" and nothing in the README mentions the channel. No credential, token or environment harvesting, no wallet or SSH access and no third-party network destinations were found; the preinstall hook only enforces a Node.js version.

analyzed by
Leitwacht
first seen
Nov 27, 2026, 12:37 PM
analyzed
Nov 27, 2026, 12:40 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.