NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

nakano-baileysnpm

Advisory published Updated

nakano-baileys is a confirmed malicious npm package (MAL-2026-21036) that executes malicious code on install (malicious versions 1.0.8, 1.0.9, 1.1.0…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in nakano-baileys (npm)

MAL-2026-21036
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall nakano-baileys

What this malware 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.

Malicious versions

8 flagged
1.0.81.0.91.1.01.1.11.1.21.1.31.1.41.1.5

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for nakano-baileys (8 malicious versions).

  2. If you installed it — respond

    Remove nakano-baileys from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If nakano-baileys was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. nakano-baileys on npm has been identified as a malicious package (versions 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Credits

  • InvisiRisk, Inc. · finder

Detect & block this

O3 blocks nakano-baileys-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

nakano-baileys (npm) malicious package — MAL-2026-21036 | O3 Security