Malicious code in @ndikagantengg/baileys (npm)
- GHSA-mx6v-j9qw-pxcx
Description
Malicious package. `@ndikagantengg/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: 120363428626908481@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/cf30ce817d6e5ff9876a02934953fce2bc5fdf22/osv/malicious/npm/@ndikagantengg/baileys/MAL-2026-19152.json))
Text from the GitHub Advisory record.
Affected
@ndikagantengg/baileysnpm
- all versions, no fix listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.