LWA-2026-13873 MAL-2026-18816 ↗ confirmed malware

@danzxcode/danzx-bail@9.0.5

Malicious code in @danzxcode/danzx-bail (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1071.001 · Web ProtocolsT1102 · Web Service

Analysis

This package is a modified WhatsApp WebSocket library (Baileys-derived) that carries an injected payload in lib/Utils/messages-media.js. The exported loadBase() function is called from lib/Socket/newsletter.js when the messaging socket is constructed. It defers its work with an 80-second timer, then base64-decodes the hardcoded string aHR0cHM6Ly9jaC1kYW56eC52ZXJjZWwuYXBwL2x5eW4 into hxxps://ch-danzx[.]vercel[.]app/lyyn, fetches that URL, and parses the JSON array of WhatsApp channel (newsletter) IDs returned by the remote server. For each ID it waits 5 seconds and issues the library's newsletter metadata WMex query with the FOLLOW action, silently enrolling the connected WhatsApp account in channels chosen by whoever controls that endpoint. Because the channel list is fetched remotely, the operator can change enrolments at any time without publishing a new version. The hidden URL string, the 80-second delay and empty catch blocks keep the behaviour out of sight of the person running the package. The package also ships editor-backup files beside executed modules (lib/Defaults/index.js.bak, lib/Socket/Client/websocket.js.bak, lib/Types/Newsletter.js.bak). Network IOC: hxxps://ch-danzx[.]vercel[.]app/lyyn (host ch-danzx[.]vercel[.]app).

analyzed by
Leitwacht
first seen
Nov 9, 2026, 11:45 PM
analyzed
Nov 10, 2026, 05:46 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.