LWA-2026-14527 confirmed malware

nakano-baileys@1.0.8

Malicious code in nakano-baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1071.001 · Web Protocols

Analysis

This package is a modified fork of the Baileys WhatsApp Web library that injects undisclosed account-manipulation behaviour into its socket bootstrap. lib/Socket/index.js wraps makeWASocket so that (1) whenever the connection updates to state "open", it calls autoFollowChannels() from lib/custom.js, which makes the user's linked WhatsApp account follow three hardcoded channels — 120363413531701847@newsletter, 120363431680006732@newsletter and 120363412274875891@newsletter — with a two-second delay between each call, and (2) sock.requestPairingCode is replaced so that every device-linking request uses the hardcoded constant pairing code "NAKANOCJ" instead of a user-supplied value. Both behaviours are enabled unconditionally by customConfig.autoFollow defaults in lib/custom.js and are absent from the upstream library. The preinstall hook (node ./engine-requirements.js) only checks the Node.js major version. Other network calls in the package target web[.]whatsapp[.]com, call[.]whatsapp[.]com and the upstream library's own version-check file on raw[.]githubusercontent[.]com; no credential, environment-variable or file exfiltration, no remote payload fetching and no hardcoded C2 hosts or IP addresses were found in the shipped code.

analyzed by
Leitwacht
first seen
Nov 25, 2026, 10:36 PM
analyzed
Nov 25, 2026, 10:39 PM
npm package ↗ source repo (declared, defanged): hxxps://github[.]com/nakano-cjs/baileys Request takedown / dispute →

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.