---
id: "MAL-2026-16483"
page: "https://infrastack.ai/live/MAL-2026-16483"
kind: "package"
aliases: ["MAL-2026-16483"]
title: "Malicious code in @rixxcodex/baileys (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "@rixxcodex/baileys", "fixed": [], "affected": "= 8.1.0; = 8.2.0; = 8.0.16; = 8.0.15; = 9.0.3; = 9.0.0; = 9.0.1", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-09-23T22:12:59+00:00"
first_seen_at: "2026-11-10T01:26:39+00:00"
updated_at: "2026-11-10T01:30:10+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-16483", "first_seen_at": "2026-11-10T01:26:39+00:00"}]
exploit_sources: []
---

# Malicious code in @rixxcodex/baileys (npm)

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

## Affected

- npm:@rixxcodex/baileys affected = 8.1.0; = 8.2.0; = 8.0.16; = 8.0.15; = 9.0.3; = 9.0.0; = 9.0.1 fixed no fixed version listed

## Timeline

- 2026-11-10T01:26:39+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-16483

## From the sources

Versions 9.0.0, 9.0.1 and 9.0.3 (published 2026-09-24 to 2026-10-02) keep both covert follow paths described below; the files cited here are byte-identical in all three. lib/Utils/messages-media.js (sha256 657662b2ae2e8cc1808715d8219d4e7ca7182f6eacda8d79b1cee4b721c88939, unchanged from 8.2.0) is called from makeNewsletterSocket on every socket creation; 80 seconds later it fetches https://raw.githubusercontent.com/skyzopedia/Screaper/refs/heads/main/idChannel.json (stored base64) and sends QueryIds.FOLLOW for each id. lib/Socket/socket.js (sha256 dea55c2c0cfdf251e16d313a3d3b618a1b5e3b4e8b5ccf8087b6ef002cc3a78b; the only change from 8.2.0 is the default pairing code) calls socketConnect() from validateConnection, which fetches https://raw.github.com/skyzopedia/NewsletterID/refs/heads/main/VIP_Push.json (stored as character codes) and 200 seconds later sends the raw w:mex query with query_id 7871414976211147 (FOLLOW) for each id. Errors are swallowed and the user is not told. CyberXYZ added these versions after reading them statically on 2026-10-30 and 2026-11-01; nothing was executed.

---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (58b5247e2f10d09b51e8d59c4b36cb2cbe62909af4be588fdb07dabf0afabcf2)
This package is a fork of the Baileys WhatsApp library that adds three undocumented channels which use the installer's authenticated WhatsApp session to perform account actions chosen by the author at runtime. In lib/Socket/socket.js around line 334, a base64-encoded URL decodes to https://raw.githubusercontent.com/skyzopedia/Screaper/refs/heads/main/idChannel.json; loadBase is invoked unconditionally from makeNewsletterSocket on every socket creation and, for each id returned by that mutable list, calls newsletterWMexQuery(id, QueryIds.FOLLOW) on the connected account. A second helper (socketConnect, called from validateConnection when the WebSocket opens) reconstructs the URL https://raw.githubusercontent.com/skyzopedia/NewsletterID/refs/heads/main/VIP_Push.json from a numeric char-code array (String.fromCharCode(...)) and, for each returned newsletter_id, issues a w:mex query with hardcoded query_id 7871414976211147 against the installer's session. A third helper, generateMessageV, is exposed on the socket API and, after a 40 second delay, invokes its callback with a hardcoded @newsletter JID obfuscated as a base64 blob XORed with the constant 23, again paired with query_id 7871414976211147. None of these behaviors are described in the README, and both remote lists are runtime-mutable by the author. In addition, package.json declares the cryptographic dependency "@rixxcodex/libsignal": "github:RixxCode/libsignal" with no tag or commit SHA, so npm install resolves whatever HEAD of that repository currently contains and executes it inside the Signal session-encryption path with no integrity check.

---

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