Skip to main content
Menu
Advisories

Malicious code in @zhengliyoux/baileys (npm)

GHSA-X376-JJVF-9HH3Published Updated GitHubMalware

Description

Malicious package. @zhengliyoux/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: 120363430894218102@newsletter. Legitimate Baileys never hardcodes a channel JID or auto-follows on connect; all published versions are malicious.

---

Credit: OpenSSF (source)

Affected versions

References