LWA-2026-13808 MAL-2026-18861 ↗ confirmed malware

@langitdeveloper/baileys@2.1.1

Malicious code in @langitdeveloper/baileys (npm)

T1105 · Ingress Tool TransferT1098 · Account Manipulation

Analysis

@langitdeveloper/baileys ships a modified copy of the WhatsApp Web client library with an added auto-subscribe payload. When a socket is constructed, lib/Socket/newsletter.js (makeNewsletterSocket, lines ~71-100) fetches a remote channel list over HTTPS from hxxps://raw[.]githubusercontent[.]com/FadelSM/IDCH/refs/heads/main/idch[.]json, parses it as an array of newsletter JIDs, and schedules a 90-second setTimeout that iterates the list and sends a WhatsApp `mex` newsletter FOLLOW query for every entry using the victim's own authenticated session (query tag 'iq', xmlns 'w:mex', to s[.]whatsapp[.]net). The account running the library is therefore silently subscribed to whichever WhatsApp channels the remote third-party JSON names, and the list can be changed at any time by its author. The delay is used to place the subscriptions past short-lived monitoring windows. Separately, lib/Socket/dugong.js (~line 391) stamps outbound status/event messages with a hardcoded forwardedNewsletterMessageInfo block naming channel "shenvn." with newsletterJid 120363430179804706@newsletter, routing that traffic to a fixed channel. The package's preinstall script only checks for Node.js >= 20 and does nothing else. Indicator to block or monitor: hxxps://raw[.]githubusercontent[.]com/FadelSM/IDCH/refs/heads/main/idch[.]json and newsletter JID 120363430179804706@newsletter.

analyzed by
Leitwacht
first seen
Nov 9, 2026, 11:52 PM
analyzed
Nov 10, 2026, 06:02 AM

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.