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

@dyyxyzz/baileys-modnpm

Advisory published Updated

@dyyxyzz/baileys-mod is a confirmed malicious npm package (MAL-2026-20805) that opens a backdoor for remote access (malicious versions 6.0.24, 6.0.26, 6.0.27…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @dyyxyzz/baileys-mod (npm)

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

What this malware does

@dyyxyzz/baileys-mod 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. Every form below sits in makeNewsletterSocket and runs on every socket creation, with errors swallowed and nothing logged. 6.0.24 (lib/Socket/newsletter.js sha256 463aacffe1a88ba06c13a41480406dc3727a926ea4bcbdccc34ef62d814be214): 70 seconds after creation it follows two hard-coded channels, and 5 seconds later nine more, with newsletterWMexQuery(jid, QueryIds.FOLLOW). 6.0.26 (713e645eb8c67e99ea4cf33bcb76a4cfcefea6d578e319e2136c26d8024e3af8): follows 120363421160571057@newsletter and 120363384627502211@newsletter 5 seconds after creation. 6.0.27 (9fa1e152f5c3e79ba124c01dacce68e92cb7cc73d1095965794059e225092f0b): 80 seconds after creation fetches hxxps://raw[.]githubusercontent[.]com/skyzopedia/Screaper/refs/heads/main/idChannel.json and follows each id. 6.0.28, 6.0.32 and 6.0.33 (6f7d318d07dc834bb7da04905aa919f43ec554e8830c66f59e092994a7c9e088): both of the last two. 6.0.34 to 6.0.54 (dc59b3e3bd172b777e587ccb94762ff750dbb281d4241e3b6acd75edfea4cfe7): follows 120363384627502211@newsletter after 5 seconds, then after 80 seconds every id in hxxps://raw[.]githubusercontent[.]com/DyyEuuee/Nani/refs/heads/main/codes/bailwa.json. 7.0.5 and 7.0.6 (c04aa44aee3441eb6a1d35b8dbb6ebac128461b346274a76cb8546258d8653da): the same, with the list URL changed to hxxps://github[.]com/DyyEuuee/Nani/blob/main/codes/bailwa.json (an HTML page, so only the hard-coded channel is followed in practice). 7.0.7 and 7.0.8 use 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 the DyyEuuee/Nani raw list above (4 channel IDs on 2026-11-06). 6.0.25 and 7.0.4 are not listed: their lib/Socket/newsletter.js does not parse, 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

27 flagged
6.0.246.0.266.0.276.0.286.0.326.0.336.0.346.0.366.0.376.0.406.0.416.0.426.0.436.0.446.0.456.0.466.0.486.0.496.0.506.0.516.0.526.0.536.0.547.0.57.0.67.0.77.0.8

Detection & response playbook

Backdoor / remote access
  1. Find it

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

  2. If you installed it — respond

    @dyyxyzz/baileys-mod establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.

  3. Did it already run?

    If @dyyxyzz/baileys-mod 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-mod on npm has been identified as a malicious package (versions 6.0.24, 6.0.26, 6.0.27, 6.0.28, 6.0.32, 6.0.33, 6.0.34, 6.0.36, and 19 more 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-mod-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.

Explore

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