LWA-2026-14105 MAL-2026-19004 ↗ confirmed malware

r-baileys@1.0.0

Malicious code in r-baileys (npm)

T1565.001 · Stored Data ManipulationT1059.007 · JavaScript

Analysis

This package is a modified fork of the Baileys WhatsApp library that silently subscribes the installing user's WhatsApp account to a fixed channel. In lib/Socket/newsletter.js the code declares AUTO_FOLLOW_CHANNELS = ["120363422469819028@newsletter"] and an autoFollowWhatsAppChannels() helper that runs inside makeNewsletterSocket(): 10 seconds after the socket is created it issues a newsletter FOLLOW w:mex query (Types_1.QueryIds.FOLLOW) for that JID over the user's own authenticated WhatsApp session, catches and discards any error, and provides no configuration, disclosure or opt-out. The same file also hardcodes query ids and wrappers for follow/unfollow, mute and channel-update mutations. The package's preinstall hook, engine-requirements.js, only checks the Node.js major version. No credential, token, wallet or environment-value harvesting and no third-party network destinations were found; the only outbound traffic is npm registry and the library's normal WhatsApp endpoints.

analyzed by
Leitwacht
first seen
Nov 15, 2026, 09:49 AM
analyzed
Nov 16, 2026, 12:16 AM
weekly installs
235

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.