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

@silent404/baileysnpm

Advisory published Updated

@silent404/baileys is a confirmed malicious npm package (MAL-2026-20337) that steals credentials and exfiltrates sensitive data (malicious versions 7.0.0, 7.0.1, 7.0.2…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @silent404/baileys (npm)

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

What this malware does

package.json declares libsignal as git+https://github.com/whiskeysockets/libsignal-node with no commit SHA, tag, or ref pin. On npm install, this fetches whatever the default branch currently points to and executes any lifecycle scripts it contains, with no integrity check and no version pin. Control of that repository (or of its default branch) translates directly into code execution on any machine installing this package. The package is a third-party republish under the @silent404 scope of the Baileys library and transfers install-time trust to an external repository it does not itself control. Other static matches (a ping-keyword co-occurrence in lib/Utils/generics.js) correspond to the library's documented WebSocket keep-alive/ping logic, not an exfiltration path.

Malicious versions

4 flagged
7.0.07.0.17.0.27.2.1

Indicators of compromise (SHA-256)

2abf574d1761cbe09d306210410fd9d5f58f82dc0d896b515d0967d2ec1bf058
709bc67cb6534cd622336ee39c471a021adf94c50cc4ff8bedc1828b8d33f78b
a8c78aa3f8099cb8bfc40966d5098cfb17f0efba719136cf84fb2034de8cfbea
da8ce29e1f48e6e5e532878cf840d4676ed4a198e2b95988d279a94f5ebd0643

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for @silent404/baileys (4 malicious versions).

  2. If you installed it — respond

    @silent404/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 @silent404/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. @silent404/baileys on npm has been identified as a malicious package (versions 7.0.0, 7.0.1, 7.0.2, 7.2.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-023028IN-MAL-2026-023026IN-MAL-2026-023031IN-MAL-2026-023030

References

Credits

  • Amazon Inspector · finder

Detect & block this

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

@silent404/baileys (npm) malicious package — MAL-2026-20337 | O3 Security