---
id: "MAL-2026-18807"
page: "https://infrastack.ai/live/MAL-2026-18807"
kind: "package"
aliases: ["MAL-2026-18807"]
title: "Malicious code in @baileys-md/baileys (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "@baileys-md/baileys", "fixed": [], "affected": "= 12.2.0", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-10-27T00:00:00+00:00"
first_seen_at: "2026-11-09T23:37:50+00:00"
updated_at: "2026-11-09T23:39:36+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-18807", "first_seen_at": "2026-11-09T23:37:50+00:00"}]
exploit_sources: []
---

# Malicious code in @baileys-md/baileys (npm)

Link for people: https://infrastack.ai/live/MAL-2026-18807 (this .md is for agents)

## Affected

- npm:@baileys-md/baileys affected = 12.2.0 fixed no fixed version listed

## Timeline

- 2026-11-09T23:37:50+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-18807

## From the sources

@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).

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
