Malicious code in sauruspro-bail (npm)
- GHSA-7j35-x788-5m8x
Description
Malicious package. `sauruspro-bail` 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: 120363418964199743@newsletter, 120363429190136593@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/af6d7a13cf34b6ea7b4179955cc7dbd1298ae6bf/osv/malicious/npm/sauruspro-bail/MAL-2026-19073.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
sauruspro-bailnpm
Affected versions Fixed in all versions none stated
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.