Malicious code in @zhengliyoux/baileys (npm)
- GHSA-x376-jjvf-9hh3
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](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/caedd61d5082f6ba16f32c7b814e038cd20cd83b/osv/malicious/npm/@zhengliyoux/baileys/MAL-2026-19115.json))
Text from the GitHub Advisory record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
@zhengliyoux/baileysnpm
Affected versions Fixed in all versions none stated
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.