Malicious package · npm
Malicious code in nakano-baileys (npm)
1.0.81.0.91.1.01.1.11.1.21.1.31.1.41.1.5No safe version. Remove it.What it does
nakano-baileys is a modified copy of the Baileys WhatsApp Web library (@whiskeysockets/baileys) that subscribes the user's WhatsApp account to three channels chosen by its author. When an application that imports it creates a socket with makeWASocket and the connection first opens, lib/Socket/index.js calls autoFollowChannels from lib/custom.js, which sends newsletterFollow on the user's authenticated session for 120363413531701847@newsletter, 120363431680006732@newsletter and 120363412274875891@newsletter, with autoFollow: true as the default. Earlier versions documented this and an opt-out in the README; from 1.0.8 the README no longer mentions it, while the code is unchanged. Versions 1.0.3 to 1.0.5 followed 120363424153860594@newsletter instead, the channel that @randev404/baileys (MAL-2026-18878) also follows from its lib/custom.js.
No fix · Remove and contain
npm uninstall nakano-baileys