LWA-2026-14005 MAL-2026-18955 ↗ confirmed malware

casper-baileys@2.0.0

Malicious code in casper-baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1071.001 · Web ProtocolsT1102 · Web ServiceT1082 · System Information Discovery

Analysis

casper-baileys@2.0.0 is a repackaged Baileys WhatsApp library that silently subscribes the installer's own WhatsApp account to a third-party channel. In lib/Socket/newsletter.js, makeNewsletterSocket() schedules a 90-second setTimeout that unconditionally sends the WhatsApp w:mex FOLLOW mutation (query id 7871414976211147) for channel 120363322461279856@newsletter — no user prompt, no configuration and no relation to the library's documented API; the same channel JID and names ("z4ph", "shenvn.") are hardcoded into message ContextInfo in lib/Utils/messages.js and into status forwarding in lib/Socket/dugong.js, so forwarded content carries the channel branding. The package also ships a preinstall hook (engine-requirements.js, a Node >=20 version check) and lib/index.js performs a fire-and-forget require-time request to hxxps://raw.githubusercontent[.]com/xhclintohn/client/refs/heads/main/information.json whose response is discarded. No credential, token, wallet or file access was found in the shipped code; the unwanted behaviour is the undisclosed channel auto-follow and the silent install-time request.

analyzed by
Leitwacht
first seen
Nov 15, 2026, 08:54 AM
analyzed
Nov 15, 2026, 08:56 AM
weekly installs
835

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.