LWA-2026-14561 MAL-2026-20674 ↗ confirmed malware

supunmd-baileys@0.0.1

Malicious code in supunmd-baileys (npm)

T1195.002 · Compromise Software Supply ChainT1036 · MasqueradingT1565.002 · Transmitted Data Manipulation

Analysis

supunmd-baileys@0.0.1 is a fork of the Baileys WhatsApp Web library that injects the author's WhatsApp channel identities into every message the host application sends. In lib/Socket/luxu.js two channel IDs are hardcoded — 120363421563597486@newsletter (labelled "Edgar") and 120363399602691477@newsletter — and attached as forwardedNewsletterMessageInfo, together with forged metadata: forwardingScore 1 and 99999, isForwarded true, a full set of fabricated disappearingMode initiators, and a supportPayload marking the message as an AI message. Album, event and poll-result messages that an application using this library sends therefore display as forwarded from those channels rather than as the application's own content. The manifest additionally declares a dependency on cache-manager ^7.2.8, which resolves to 7.2.10 — a release of that library with a known-malicious version — so installing this package pulls that code into the installer's dependency tree. The package also exposes sock.checkBanStatus (lib/Socket/ban-checker.js), which queries hxxps://api[.]whatsapp[.]com/send?phone=… and WhatsApp's USync device protocol to determine registration and ban status for arbitrary phone numbers. Its preinstall hook (node ./engine-requirements.js) only checks the Node.js major version and makes no network calls.

analyzed by
Leitwacht
first seen
Nov 27, 2026, 01:51 AM
analyzed
Nov 27, 2026, 01:54 AM
npm package ↗ OSV record MAL-2026-20674 ↗ source repo (declared, defanged): hxxps://www[.]npmjs[.]com/package/supunmd-baileys Request takedown / dispute →

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.