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

@dyyxyzz/baileysnpm

Advisory published Updated

@dyyxyzz/baileys is a confirmed malicious npm package (MAL-2026-20804) that executes malicious code on install (malicious versions 1.0.6, 1.0.7, 1.0.8…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @dyyxyzz/baileys (npm)

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

What this malware does

@dyyxyzz/baileys is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own WhatsApp account to WhatsApp Channels chosen by the publisher. Two forms, both in makeNewsletterSocket and run on every socket creation. (1) 1.0.6, 1.0.7, 1.0.8, 1.1.9 and 1.1.10 (lib/Socket/newsletter.js sha256 c04aa44aee3441eb6a1d35b8dbb6ebac128461b346274a76cb8546258d8653da): 5 seconds after creation it sends newsletterWMexQuery("120363384627502211@newsletter", QueryIds.FOLLOW); a second timer 80 seconds after creation fetches hxxps://github[.]com/DyyEuuee/Nani/blob/main/codes/bailwa.json and follows each entry (that URL serves an HTML page, so only the hard-coded channel is followed in practice). Errors are swallowed. (2) 1.1.11 replaces this with the loadBase loop: lib/Utils/messages-media.js exports loadBase, which makeNewsletterSocket (lib/Socket/newsletter.js) calls on every socket creation as loadBase(newsletterWMexQuery, QueryIds). 80 seconds later it fetches a channel list from a URL stored as base64 and, 5 seconds apart, calls newsletterWMexQuery(id, QueryIds.FOLLOW) for each entry with the victim's authenticated session, swallowing errors. Nothing is logged and the README does not mention it. lib/Utils/messages-media.js sha256 1c38d186f020e01b3332b614be5ef3718b9c88789f2ada7bfe88ffa1a090e610; the URL decodes to hxxps://raw[.]githubusercontent[.]com/DyyEuuee/Nani/refs/heads/main/codes/bailwa.json (4 channel IDs on 2026-11-06). 1.0.3 and 1.0.4 are not listed: their lib/Socket/newsletter.js does not parse (the follow line ends in "QueryIds.>"), so the library cannot load. Same behaviour as the PhantomSub family (MAL-2026-17342). Amazon Inspector described the same loadBase loop in @rixxcodex/baileys (MAL-2026-16483).

Malicious versions

6 flagged
1.0.61.0.71.0.81.1.91.1.101.1.11

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for @dyyxyzz/baileys (6 malicious versions).

  2. If you installed it — respond

    Remove @dyyxyzz/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 @dyyxyzz/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. @dyyxyzz/baileys on npm has been identified as a malicious package (versions 1.0.6, 1.0.7, 1.0.8, 1.1.9, 1.1.10, 1.1.11 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

References

Credits

  • CyberXYZ · finder

Detect & block this

O3 blocks @dyyxyzz/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

@dyyxyzz/baileys (npm) malicious package — MAL-2026-20804 | O3 Security