Vulnerability MAL-2026-20811
Summary
Malicious code in @robihostingid/baileys (npm)
Details
@robihostingid/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. 8.0.8 and 9.0.0 use the loadBase loop: lib/Utils/messages-media.js exports loadBase, which makeNewsletterSocket (lib/Socket/newsletter.js) calls on every socket creation as loadBase(newsletterWMexQuery, QueryIds). 80 seconds later it fetches a channel list from a URL stored as base64 and, 5 seconds apart, calls newsletterWMexQuery(id, QueryIds.FOLLOW) for each entry with the victim's authenticated session, swallowing errors. Nothing is logged and the README does not mention it. 8.0.8: lib/Utils/messages-media.js sha256 657662b2ae2e8cc1808715d8219d4e7ca7182f6eacda8d79b1cee4b721c88939 (byte-identical to @rixxcodex/baileys 8.2.0), URL hxxps://raw[.]githubusercontent[.]com/skyzopedia/Screaper/refs/heads/main/idChannel.json. 9.0.0: sha256 3616c81fe6b723a3951ff05672859ac73853507e3ec717dd151e1dc1e4db37c5, URL hxxps://raw[.]githubusercontent[.]com/robihosting/Screaper/refs/heads/main/idChannel.json. 8.0.9 does the same from lib/Socket/newsletter.js (sha256 f8762cc88d6e58b9347eef75e5c0a8216a783cd47ec90001f13a93a40600bea9): 80 seconds after socket creation it fetches the robihosting/Screaper list (URL in plain text) and follows each id. Same behaviour as the PhantomSub family (MAL-2026-17342). Amazon Inspector described the same loadBase loop in @rixxcodex/baileys (MAL-2026-16483).