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

@dreamguyxeon/baileyxnpm

Advisory published Updated

@dreamguyxeon/baileyx is a confirmed malicious npm package (MAL-2026-13930) that opens a backdoor for remote access (malicious versions 1.0.0, 2.0.0, 3.0.0…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @dreamguyxeon/baileyx (npm)

MAL-2026-13930
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @dreamguyxeon/baileyx

What this malware does

npm/@dreamguyxeon/baileyx is a Baileys WhatsApp Web API fork with the same undisclosed remote-controlled consentless newsletter auto-follow as related DGXeon packages. In lib/Socket/newsletter.js, after session setup it waits 120 seconds, fetches https://raw.githubusercontent.com/DGXeon13/strings/refs/heads/main/strings.json, and silently FOLLOWs listed newsletter JIDs. Trigger is runtime (makeNewsletterSocket), not install. It also fetches Baileys version metadata from DGXeon13/dgxeon-soket and aliases libsignal to npm:@dgxeon13/[email protected] (a separate package that patches @whiskeysockets/baileys). Independently corroborated by LPM Firewall's public malicious report for 2.0.0. Related OSV entries: dgxeon-baileys (MAL-2026-2252), baileys-dgxeon (MAL-2025-806). Tarball sha256 for 5.0.0: 0dffc5f0c8fd53b520c26de8788e6eafb1d939070a698e39f9f9853f42e6f7db.

This package is a fork of the Baileys WhatsApp library that contains an undocumented runtime hijack of the consumer's authenticated WhatsApp account. In lib/Socket/newsletter.js (lines 102-122), when the consumer creates a WhatsApp socket — the package's main advertised function — a 120-second setTimeout fires, fetches https://raw.githubusercontent.com/DGXeon13/strings/refs/heads/main/strings.json, and for each newsletter ID in that list issues a QueryIds.FOLLOW request under the user's authenticated session. The list is hosted on a mutable main branch under the package author's GitHub account, so the author can rotate the targeted channels at any time post-publication without republishing the package. The behavior is not mentioned in the README and is not gated by any user prompt or configuration. The main entrypoint lib/index.js is additionally wrapped in a custom base91 string-table decoder with anti-debugger debugger statements and eval("this"), concealing the bootstrap edges from casual review. The package also aliases the security-critical libsignal dependency to the same author's scope (npm:@dreamguyxeon/[email protected]), placing crypto primitives under the same trust boundary as the silent-relay code. Installer harm: any consumer who connects this fork to their WhatsApp account has their identity used to silently follow channels of the author's choosing, with the target list mutable indefinitely.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Malicious versions

5 flagged
1.0.02.0.03.0.04.0.05.0.0

Indicators of compromise (SHA-256)

c1b873d1c35283cbabd9bc82c8bffa55d3151abec85a75522ed8565c93d0546a
7ea8f669b9d0f75975bc9b1dd420bbaaade523baf2ac1bd4bc335e6007e10aa4
9c19da8d5ae5dc169d9d584a1751cbc82ff809bf5d0866786805124a6993ecaa
a033f5d103d84f240ca1f414b8906b3fa9f5d734e475ae0855cb4940c0875575
a40a1f6133c242f2ddfbdfa05b03e50ec3f9995e0de10d3dcd6f75343b5924c9
754cbf8aed43f593956c581a15ddfba2be14d4c0ae555a65c3955916f6412377

Detection & response playbook

Backdoor / remote access
  1. Find it

    Search your lockfiles and build artifacts for @dreamguyxeon/baileyx (5 malicious versions).

  2. If you installed it — respond

    @dreamguyxeon/baileyx 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 @dreamguyxeon/baileyx 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. @dreamguyxeon/baileyx on npm has been identified as a malicious package (versions 1.0.0, 2.0.0, 3.0.0, 4.0.0, 5.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-017624IN-MAL-2026-017795IN-MAL-2026-017800IN-MAL-2026-017791IN-MAL-2026-017788GHSA-94fw-5xp7-q2xq

References

Credits

  • Amazon Inspector · finder
  • pkgwarden · finder

Detect & block this

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

@dreamguyxeon/baileyx (npm) malicious package — MAL-2026-13930 | O3 Security