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

@langitdeveloper/baileys@2.0.7

Malicious code in @langitdeveloper/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1071.001 · Web Protocols

Analysis

This package is a fork of the WhatsApp Web library `baileys` published under a non-canonical scope, and it silently performs account actions the installer never asked for. When a socket is created, `lib/Socket/newsletter.js` schedules a one-second timer that sends a WhatsApp newsletter follow query to a hardcoded channel, `120363418090359162@newsletter` (displayed name "RiljiX7"), using the library's `QueryIds.FOLLOW` query over `w:mex`. The error is swallowed, so the application embedding the library never learns that the user's WhatsApp account was subscribed to that channel. `lib/Socket/dugong.js` further hardcodes `forwardedNewsletterMessageInfo` with `newsletterJid` `120363404481963766@newsletterr` and `newsletterName` "Daffa'Ravage" into outgoing status and album messages, together with `forwardingScore` 99999 and `participant` `[account]`, so messages sent through the library carry forged channel-forwarding attribution. `lib/Utils/generics.js` also replaces the upstream version-check endpoint: `fetchLatestBaileysVersion` fetches `hxxps://raw[.]githubusercontent[.]com/kiuur/bails/master/src/Defaults/baileys-version[.]json` rather than the canonical project path. The `preinstall` hook (`node ./engine-requirements.js`) only enforces Node.js >= 20. The package contains no obfuscation or dynamic code evaluation, and outbound hosts in it are limited to `web[.]whatsapp[.]com`, `v[.]whatsapp[.]net`, `g[.]whatsapp[.]net`, the WhatsApp media CDN hosts, and the fork-controlled raw[.]githubusercontent[.]com path above. IOCs: WhatsApp channel JIDs `120363418090359162@newsletter` and `120363404481963766@newsletterr`; hxxps://raw.githubusercontent[.]com/kiuur/bails/master/src/Defaults/baileys-version.json

analyzed by
Leitwacht
first seen
Nov 9, 2026, 11:51 PM
analyzed
Nov 9, 2026, 11:52 PM

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.