LWA-2026-13871 confirmed malware

@mrlegendbot/baileys@1.0.0

Malicious code in @mrlegendbot/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1071.004 · DNS

Analysis

A combosquat of the Baileys WhatsApp WebSocket library (canonical @whiskeysockets/baileys) published under the @mrlegendbot scope. During installation the package performs a DNS TXT lookup to a remote host (a beacon), and it substitutes the canonical libsignal dependency with an attacker-scoped package (npm:@mrlegendbot/libsignal-node). The package ships a preinstall hook and pulls in whatsapp-rust-bridge. Install-time DNS beaconing to a non-WhatsApp host indicates command-and-control activity.

analyzed by
Leitwacht
first seen
Aug 6, 2026, 09:24 AM
analyzed
Aug 6, 2026, 09:29 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.