# GHSA-F9F2-3JXC-J4F6: Malicious code in @revinza/baileys (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-10
- Modified: 2026-11-10

## Affected versions

- @revinza/baileys (npm): 2.0.10
- @revinza/baileys (npm): 2.0.11
- @revinza/baileys (npm): 2.0.12
- @revinza/baileys (npm): 2.0.13
- @revinza/baileys (npm): 2.0.14
- @revinza/baileys (npm): 2.0.3
- @revinza/baileys (npm): 2.0.5
- @revinza/baileys (npm): 2.0.6
- @revinza/baileys (npm): 2.0.7
- @revinza/baileys (npm): 2.0.8
- @revinza/baileys (npm): 2.0.9

## Description

@revinza/baileys is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own WhatsApp account to WhatsApp Channels chosen by the publisher. When the socket connects, code in lib/Socket/newsletter.js sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363303656790201@newsletter (stored as base64 strings), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/f8bd377e5c522af8e1a7cf92b0cd17dcdba7a45f/osv/malicious/npm/@revinza/baileys/MAL-2026-18882.json))

## References

- https://github.com/ossf/malicious-packages/blob/f8bd377e5c522af8e1a7cf92b0cd17dcdba7a45f/osv/malicious/npm/@revinza/baileys/MAL-2026-18882.json
- https://www.npmjs.com/package/@revinza/baileys
- https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels
- https://github.com/advisories/GHSA-f9f2-3jxc-j4f6

Page: https://cve.now/GHSA-F9F2-3JXC-J4F6

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
