---
id: "MAL-2026-18859"
page: "https://infrastack.ai/live/MAL-2026-18859"
kind: "package"
aliases: ["MAL-2026-18859"]
title: "Malicious code in @kyuu2nd/baileys (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "@kyuu2nd/baileys", "fixed": [], "affected": "= 2.0.0; = 2.0.1; = 2.0.10; = 2.0.11; = 2.0.12; = 2.0.2; = 2.0.24; = 2.0.25; = 2.0.3; = 2.0.4; = 2.0.5; = 2.0.6; = 2.0.7; = 2.0.8", "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:53+00:00"
updated_at: "2026-11-09T23:41:42+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-18859", "first_seen_at": "2026-11-09T23:37:53+00:00"}]
exploit_sources: []
---

# Malicious code in @kyuu2nd/baileys (npm)

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

## Affected

- npm:@kyuu2nd/baileys affected = 2.0.0; = 2.0.1; = 2.0.10; = 2.0.11; = 2.0.12; = 2.0.2; = 2.0.24; = 2.0.25; = 2.0.3; = 2.0.4; = 2.0.5; = 2.0.6; = 2.0.7; = 2.0.8 fixed no fixed version listed

## Timeline

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

## From the sources

@kyuu2nd/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) 120363330344810280@newsletter, 120363400738305381@newsletter, 120363402868866359@newsletter, 120363404790454890@newsletter, 120363404861802607@newsletter, 120363405313529091@newsletter and 13 more (stored as character-code arrays) and a list downloaded at runtime from https://raw.githubusercontent.com/kiuur/IDCH/refs/heads/main/idch.json, using the victim's authenticated session and without telling them. 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_
