Malicious code in combined-baileys (npm)
- GHSA-6r8q-f5jm-fj28
Description
Malicious package. `combined-baileys` is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). `lib/Socket/newsletter.js` hardcodes the channel 120363422352987107@newsletter. 15 seconds after the connection opens it sends a newsletter FOLLOW and, 3 seconds later, a MUTE for that channel, silently subscribing the victim account and hiding its notifications; it also auto-reacts with a random emoji to posts in that channel. The README section "Newsletter dan auto-join" claims the library performs no automatic join. Legitimate Baileys never hardcodes or auto-follows a channel. Version 0.0.0-stage is a placeholder stub without this code. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6ea90cf5e44b70b8488f243016d8d1e6ae38428d/osv/malicious/npm/combined-baileys/MAL-2026-20814.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
combined-baileysnpm
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.