@lekzsync/baileys (npm) · Malicious Code
Affects @lekzsync/baileysSource GCVE Database
Malicious package : remove @lekzsync/baileys and rotate any secrets on hosts that installed it.
Data as of 19 Nov 2026, 05:35 UTC
Malicious package
Published to npm · OSV MAL-2026-19109
What to do
Remove @lekzsync/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@lekzsync/baileyspkg:npm/%40lekzsync%2FbaileysOther threats | 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 @lekzsync/baileys npm package is a trojanized fork of the legitimate Baileys WhatsApp library. It contains malicious code that automatically subscribes users to attacker-controlled WhatsApp newsletter channels upon connection. This behavior is not present in the legitimate Baileys library. All published versions of this package are malicious. Systems with this package installed should be considered fully compromised.