Malicious code in @lekzsync/baileys (npm)
- GHSA-phq5-43q8-5665
Description
Malicious package. `@lekzsync/baileys` is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). it silently subscribes every victim (via the injected WhatsApp newsletter/channel FOLLOW on connect) to attacker-controlled WhatsApp channels — hardcoded newsletter JIDs: 120363399602691477@newsletter, 120363421563597486@newsletter. Legitimate Baileys never hardcodes a channel JID or auto-follows on connect; all published versions are malicious. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/bb361ad39ff1da62401717a4482c0f354de63c4a/osv/malicious/npm/@lekzsync/baileys/MAL-2026-19109.json))
Text from the GitHub Advisory record.
Affected
@lekzsync/baileysnpm
- all versions, no fix listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.