Vulnerability MAL-2026-20951

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
1 month ago
October 13, 2026 at 03:33 PM UTC
Malicious code in @dcloude/baileys (npm)
0.0.8 - 0.0.9 and 0.1.1 - 0.1.4
0.0.8 - 0.0.9 and 0.1.1 - 0.1.4

Summary

Malicious code in @dcloude/baileys (npm)

Details

@dcloude/baileys is a modified copy of the Baileys WhatsApp Web library (@whiskeysockets/baileys) that silently subscribes the user's WhatsApp account to dozens of channels chosen by its author. When an application that imports it creates a socket with makeWASocket, lib/Socket/newsletter.js sends the newsletter FOLLOW query on the user's authenticated session for every channel ID in a hardcoded list: on the first connection in 0.0.8 to 0.1.2 (41 to 53 IDs from DEFAULT_AUTO_FOLLOW_CHANNELS), and 150 seconds after the socket is created in 0.1.3 and 0.1.4 (57 IDs, with no way to turn it off). The code comments call this a transparent auto-follow of "this library's own channel" documented in the README and a LITERACY.md file, but the README does not mention it and the package has no LITERACY.md, and a bundled "channel-follow guard" blocks other code's follow calls while allowing the author's list.

Impacted packages

Timeline

Published
1 month ago
October 13, 2026 at 03:33 PM UTC
Last Modified
7 hours ago
December 02, 2026 at 03:45 AM UTC