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

davexbaileysnpm

Advisory published Updated

davexbaileys is a confirmed malicious npm package (MAL-2026-20950) that executes malicious code on install (malicious versions 1.1.2, 1.1.3, 1.1.4…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in davexbaileys (npm)

MAL-2026-20950
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall davexbaileys

What this malware does

davexbaileys is a modified copy of the Baileys WhatsApp Web library (@whiskeysockets/baileys) that silently subscribes the user's WhatsApp account to channels chosen by its author. When an application that imports it creates a socket with makeWASocket, makeNewsletterSocket in lib/Socket/newsletter.js waits 90 seconds, decodes a base64-encoded URL, hxxps://raw[.]githubusercontent[.]com/pesh-254/Davexpair/main/newsletter[.]json, downloads a list of channel IDs from it and sends the newsletter FOLLOW query for each on the user's authenticated session, discarding every error (versions 1.1.2 to 2.5.24). Versions 2.5.27 and 2.5.28 instead follow the hardcoded 120363426943699042@newsletter, set as the default autoFollowNewsletterJid, when the connection first opens; the README mentions neither behaviour. The npm account davextech also published davebaileys (MAL-2026-18960), which fetches the same list.

Malicious versions

27 flagged
1.1.21.1.31.1.41.1.51.4.11.4.31.4.41.4.52.5.82.5.92.5.102.5.112.5.122.5.132.5.142.5.152.5.162.5.172.5.182.5.192.5.202.5.212.5.222.5.232.5.242.5.272.5.28

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for davexbaileys (27 malicious versions).

  2. If you installed it — respond

    Remove davexbaileys 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 davexbaileys 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. davexbaileys on npm has been identified as a malicious package (versions 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.4.1, 1.4.3, 1.4.4, 1.4.5, and 19 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Credits

  • InvisiRisk, Inc. · finder

Detect & block this

O3 blocks davexbaileys-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

davexbaileys (npm) malicious package — MAL-2026-20950 | O3 Security