GHSA-2hqr-p625-3qq9
Malicious code in @angkasabaileys/baileys (npm)
Auswirkung
Malicious package. `@angkasabaileys/baileys` is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). `makeNewsletterSocket` in `lib/Socket/newsletter.js` registers a `connection.update` handler that, every time the socket connection opens, issues a newsletter FOLLOW for the hardcoded channel 120363431179022660@newsletter from the victim's account, silently swallowing any error. There is no option to disable it, and the README states the opposite ("No auto-follow channel (newsletter) behavior"). Legitimate Baileys never hardcodes a channel or auto-follows one. Version 1.0.1 (published 2026-11-17) carries this code. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/8c7c65fd9d16231dee2521ba851c76da6f9174ac/osv/malicious/npm/@angkasabaileys/baileys/MAL-2026-20678.json))
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | @angkasabaileys/baileys | = 1.0.1 | nicht erfasst |