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

@lyyncode/lyyn-bailnpm

Advisory published Updated

@lyyncode/lyyn-bail is a confirmed malicious npm package (MAL-2026-20808) that executes malicious code on install (malicious versions 8.0.8, 8.0.9, 9.0.0…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @lyyncode/lyyn-bail (npm)

MAL-2026-20808
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @lyyncode/lyyn-bail

What this malware does

@lyyncode/lyyn-bail 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. 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. 8.0.8 to 9.0.4: lib/Utils/messages-media.js sha256 657662b2ae2e8cc1808715d8219d4e7ca7182f6eacda8d79b1cee4b721c88939 (byte-identical to @rixxcodex/baileys 8.2.0), URL hxxps://raw[.]githubusercontent[.]com/skyzopedia/Screaper/refs/heads/main/idChannel.json (23 channel IDs on 2026-11-06). 9.0.5: sha256 810d8f9f6b369ba64a3760beea0c0ccfd449399da2d8aedb458d7ce168394963, URL hxxps://ch-lyyncode[.]vercel[.]app/lyyn. 9.0.6 to 9.0.8: sha256 20563d8117ea37b0df09bc579be38b153000c881022e62536b30b081a41712a4, URL hxxps://ch-rho[.]vercel[.]app/lyyn (1 channel ID on 2026-11-06). Same behaviour as the PhantomSub family (MAL-2026-17342). Amazon Inspector described the same loadBase loop in @rixxcodex/baileys (MAL-2026-16483).

Malicious versions

11 flagged
8.0.88.0.99.0.09.0.19.0.29.0.39.0.49.0.59.0.69.0.79.0.8

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for @lyyncode/lyyn-bail (11 malicious versions).

  2. If you installed it — respond

    Remove @lyyncode/lyyn-bail 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 @lyyncode/lyyn-bail 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. @lyyncode/lyyn-bail on npm has been identified as a malicious package (versions 8.0.8, 8.0.9, 9.0.0, 9.0.1, 9.0.2, 9.0.3, 9.0.4, 9.0.5, and 3 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 @lyyncode/lyyn-bail-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

@lyyncode/lyyn-bail (npm) malicious package — MAL-2026-20808 | O3 Security