# MAL-2026-18807: Malicious code in @baileys-md/baileys (npm)

- Database: OpenSSF
- Malicious package: yes
- Published: 2026-10-27
- Modified: 2026-11-09

## Affected versions

- @baileys-md/baileys (npm): 12.2.0

## Description

@baileys-md/baileys is a fork of the Baileys WhatsApp Web library. In version 12.2.0, makeNewsletterSocket in lib/Socket/newsletter.js starts a timer that, 80 seconds after the socket is created, sends the WhatsApp w:mex FOLLOW query for the channels 120363419781122699@newsletter and 120363388692253922@newsletter through the user's authenticated session, with errors swallowed and without telling the user. Releases 12.2.1 to 12.3.2 ship the same block commented out, so they are not listed. Same behaviour as the PhantomSub family (MAL-2026-17342).

## References

- https://www.npmjs.com/package/@baileys-md/baileys
- https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/

Page: https://cve.now/MAL-2026-18807

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