Skip to main content
MalwarePublished

@xz-bails/baileys (npm) · Malicious Code

Affects @xz-bails/baileysSource GCVE Database

0

Malicious package : remove @xz-bails/baileys and rotate any secrets on hosts that installed it.

Data as of 23 Nov 2026, 05:12 UTC

Classification

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

ProductAffectedFixed in
npm@xz-bails/baileysAffected
  • =6.0.10
  • =6.0.11
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.

References

Community reviews

Loading reviews…