Malicious code in aetheria-baileys (npm)
- GHSA-xhwx-crgx-q8qf
Description
aetheria-baileys is a modified copy of the Baileys WhatsApp Web library (@whiskeysockets/baileys) that subscribes the user's WhatsApp account to channels chosen by its author. When an application that imports it creates a socket with `makeWASocket`, `lib/Socket/index.js` registers a `connection.update` handler that, every time the connection opens, calls `newsletterFollow` on the user's authenticated session for each ID in a hardcoded `AETHERIA_NEWSLETTER_JIDS` list (120363415212796706@newsletter and 120363414877334847@newsletter, plus 120363408668270262@newsletter from 1.0.1), ignoring errors. There is no option to turn it off, and the README does not mention it. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/62cac70b04e18675722e53398de608556aff54f0/osv/malicious/npm/aetheria-baileys/MAL-2026-21037.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
aetheria-baileysnpm
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.