@xz-bails/baileys (npm) · Malicious Code
Affects @xz-bails/baileysSource GCVE Database
Malicious package : remove @xz-bails/baileys and rotate any secrets on hosts that installed it.
Data as of 23 Nov 2026, 05:12 UTC
Malicious package
Published to npm · OSV MAL-2026-20340
What to do
Remove @xz-bails/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@xz-bails/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 npm package @xz-bails/baileys versions 6.0.10 and 6.0.11 include a dependency on libsignal sourced directly from a personal GitHub repository without a fixed commit or integrity check. This allows the repository owner to execute arbitrary code during package installation, posing a risk of malicious code execution on the installer's machine.