Vulnerability MAL-2026-20681

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
14 days ago
November 15, 2026 at 11:07 AM UTC
Malicious code in @web2apkbail/baileys (npm)
3.0.1
3.0.1

Summary

Malicious code in @web2apkbail/baileys (npm)

Details

Malicious package. @web2apkbail/baileys is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). lib/Socket/registration.js defines HARDCODED_AUTO_JOIN_CHANNELS containing the attacker-controlled WhatsApp channel 120363410300674611@newsletter and, every time a connection opens, issues a newsletter FOLLOW for it, silently subscribing the victim account. This socket layer is what the default makeWASocket returns, so the behaviour is on by default. In addition, lib/Socket/luxu.js, imported by messages-send.js, stamps outgoing event messages with forwarded-newsletter context naming channel 120363421563597486@newsletter (poll-result messages default to 120363399602691477@newsletter unless the caller supplies a newsletter), and prepareWAMessageMedia in lib/Utils/messages.js adds an annotation linking channel 120363408947530202@newsletter to every outgoing media message that has no annotations of its own. Legitimate Baileys never hardcodes a channel JID or auto-follows a channel. Version 3.0.1 carries this code; the 0.0.0-stage placeholder does not.

Impacted packages

Timeline

Published
14 days ago
November 15, 2026 at 11:07 AM UTC
Last Modified
3 days ago
November 27, 2026 at 01:15 AM UTC