@silent404/baileys (npm) · Malicious Code
Affects @silent404/baileysSource GCVE Database
Malicious package : remove @silent404/baileys and rotate any secrets on hosts that installed it.
Data as of 23 Nov 2026, 01:09 UTC
Malicious package
Published to npm · OSV MAL-2026-20337
What to do
Remove @silent404/baileys from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@silent404/baileys | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The @silent404/baileys npm package declares a dependency on libsignal via a git URL without pinning to a specific commit, tag, or ref. This means that during installation, the package fetches and executes code from the default branch of an external repository without integrity verification. Control over that external repository or its default branch allows an attacker to execute arbitrary code on any machine installing the package. This package is a third-party republish of the Baileys library and thus inherits this risk from the unpinned dependency.