LWA-2026-14563 confirmed malware

@kingorwot/my-baileys@4.0.0

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

T1059.007 · JavaScriptT1497 · Virtualization/Sandbox EvasionT1071.001 · Web ProtocolsT1102 · Web Service

Analysis

This package is a modified fork of the Baileys WhatsApp Web socket library that carries a covert injected block in lib/Socket/newsletter.js. When makeNewsletterSocket() is constructed, the injected code waits 120 seconds, then fetches hxxps://raw[.]githubusercontent[.]com/dgxeonking/strings/refs/heads/main/strings[.]json from an external GitHub repository and treats the returned JSON as a list of WhatsApp channel IDs. It then issues newsletter FOLLOW requests (QueryIds.FOLLOW, XWAPaths.xwa2_newsletter_join_v2) through the victim's authenticated WhatsApp session for every ID in that remote list, one every 11 seconds, swallowing all errors so nothing is logged or surfaced to the operator. The list is attacker-controlled and can be changed at any time without republishing the package, and the 120-second delay is chosen to outlast short-lived monitoring of the install/first-run window. The remainder of the package is an ordinary Baileys fork; its preinstall hook (node ./engine-requirements.js) is only a Node.js >=20 version check. The injected block contains no credential, token or .env file harvesting and no code obfuscation — its observable effect is silent manipulation of the installer's WhatsApp account (forced channel follows/subscriptions) driven by a remote, mutable configuration file at raw[.]githubusercontent[.]com/dgxeonking/strings.

analyzed by
Leitwacht
first seen
Nov 27, 2026, 05:36 AM
analyzed
Nov 27, 2026, 05:37 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.