LWA-2026-14380 MAL-2026-20292 ↗ confirmed malware

@kingorwot/my-baileys@3.0.0

Malicious code in @kingorwot/my-baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1071.001 · Web ProtocolsT1105 · Ingress Tool TransferT1036 · Masquerading

Analysis

This package is a trojanized fork of the Baileys WhatsApp library ("modded baileys") that silently enrols the running account in attacker-chosen WhatsApp channels. A block marked "AUTO FOLLOW CHANNELS" in lib/Socket/newsletter.js (duplicated in the bundled lib/index.cjs) is registered inside makeNewsletterSocket as a setTimeout with a 120-second delay, so it fires two minutes after any bot constructs the socket rather than at load time. On firing it downloads a JSON list of newsletter JIDs from hxxps://raw[.]githubusercontent[.]com/dgxeonking/strings/refs/heads/main/strings[.]json, then joins each one sequentially through the WhatsApp FOLLOW query (xwa2_newsletter_join_v2), waiting 11 seconds between joins and swallowing all errors so failures are invisible. The target list is remote-controlled, so the operator can change which channels victims are pushed into without publishing a new version. The package also stamps hardcoded newsletter identities onto messages sent by the host application — forwardedNewsletterMessageInfo with newsletterJid 120363421563597486@newsletter (name "D | 7eppeli-Exloration") and 120363399602691477@newsletter in lib/Socket/luxu.js — so other users see forged channel attribution on relayed messages. The manifest additionally installs a bundled native dependency from a non-upstream Git repository (git+hxxps://github[.]com/7ucg/whatsapp-rust-bridge[.]git, re-exported as whatsapp-rust-bridge-baron), which is fetched and built at install time. No lifecycle scripts are declared; the injected behaviour runs whenever the library is loaded and a socket is created.

analyzed by
Leitwacht
first seen
Nov 20, 2026, 07:51 PM
analyzed
Nov 20, 2026, 07:53 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.