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

@lendxntaa/baileysnpm

Advisory published Updated

@lendxntaa/baileys is a confirmed malicious npm package (MAL-2026-17365) that steals credentials and exfiltrates sensitive data (malicious versions 0.0.7, 9.0.1, 9.0.2…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @lendxntaa/baileys (npm)

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

What this malware does

This package is part of a large family (100+ identified as of September 2026) of near-identical forks of the Baileys WhatsApp Web library that inject a covert channel-subscription action into the WhatsApp socket layer. On connect, the injected code issues an authenticated w:mex FOLLOW query (query_id 7871414976211147) against one or more attacker-chosen WhatsApp Channel/Newsletter JIDs, using the installer's own authenticated WhatsApp session -- silently subscribing the victim's account to channels it never asked to join.

The target JID(s) are hidden from casual source review via one of several obfuscation techniques observed across the family: a plain string literal, base64 encoding, base64+XOR, or a char-code array reconstructed at runtime. Some variants instead fetch a mutable, attacker-controlled remote JSON/JS list of target JIDs from GitHub or another host at runtime, letting the target list change after installation without a new npm publish. Every sample in the family shares the same underlying mechanism (a wrapped/patched socket-connect routine that fires the FOLLOW query some seconds after connect), even though the package name, JID value(s), and obfuscation/delivery method differ per fork.

The malicious action abuses the installer's own authenticated WhatsApp session to gain reach and subscribers for attacker-controlled channels; it does not exfiltrate credentials, establish persistence, or execute arbitrary remote code.

Affected package: @lendxntaa/baileys (npm), version(s): 9.5.0, 9.3.0, 9.1.0, 9.0.2, 9.0.1.

@lendxntaa/baileys is a fork of the Baileys WhatsApp client that declares "libsignal": "npm:@bellaxchuu/libsignal-node@latest" in package.json. The libsignal module id is loaded on the crypto/signal path of the WhatsApp client, so require('libsignal') inside this package resolves to code published under the unrelated @bellaxchuu scope, pinned to the mutable latest tag with no version and no integrity metadata. Every npm install can resolve to different bytes chosen by whoever controls that scope, and those bytes execute in-process whenever a consumer of this package uses the WA client. Package metadata further reduces reviewability: homepage and repository.url both point at a Telegram channel (https://t.me/lendd3) rather than a source repository, and the tarball ships a ~130 KB lib/antiban.js bundle not present in upstream Baileys.

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

6 flagged
0.0.79.0.19.0.29.1.09.3.09.5.0

Indicators of compromise (SHA-256)

0f844237b0db70e56f303c5780ea3a9bd92ae29696bb299ca739961fbc1422a0
f6cdce0b5a7d41dcc7b52fcd34e9010f32dddafab03f64e6db57ec52cc143c0b
028dd4f1db7a1636fb080d1442185a9d93f5836e4d1d2d6f433a2f1a3b099963
7a74b802fb12236aba10566b865fcd8aa8d4d8568d0a9a413afb5501adc3a04b
b9a9affe6e6f4ce9f9785cf40699d42baa963b9a8457b3a306d0b85d741dc76c
c19ead4c6ad7d080a4e74987c464a2791ae1483d271908f88fe855c3301d26f5
7ee7bfa4e96d338ab7d8a6762a9f758218f34953d934bb86cd5321dfbe03fd68

Detection & response playbook

Credential / info stealer
  1. Find it

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

  2. If you installed it — respond

    @lendxntaa/baileys is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If @lendxntaa/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. @lendxntaa/baileys on npm has been identified as a malicious package (versions 0.0.7, 9.0.1, 9.0.2, 9.1.0, 9.3.0, 9.5.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-021137IN-MAL-2026-021196IN-MAL-2026-021193IN-MAL-2026-021195IN-MAL-2026-021198IN-MAL-2026-021197GHSA-cqcv-g3vq-g6wr

References

Credits

  • Amazon Inspector · finder
  • OX Security · finder

Detect & block this

O3 blocks @lendxntaa/baileys-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

@lendxntaa/baileys (npm) malicious package — MAL-2026-17365 | O3 Security