LWA-2026-13684 MAL-2026-18682 ↗ confirmed malware

@wanzforme/bails@1.0.0

Malicious code in @wanzforme/bails (npm)

T1195.002 · Compromise Software Supply ChainT1027 · Obfuscated Files or InformationT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 Channel

Analysis

This package is a WhatsApp automation library (a fork of Baileys) whose message-send path has been covertly modified so that certain messages are rebuilt and branded by the author, and whose API relays caller-supplied phone numbers to an unrelated third-party host. Message rewrite and channel injection: lib/Socket/messages-send.js imports a non-upstream module (lib/Socket/luxu.js, class `imup`) and instantiates it inside sendMessage. Its detectType() classifies the caller's content and the switch in messages-send.js routes PAYMENT, PRODUCT, ALBUM, EVENT, POLL_RESULT, ORDER, GROUP_STATUS and GROUP_LABEL messages into luxu.js handlers that construct the outgoing payload themselves and relay their own proto message instead of the caller's. Every such message carries forwardedNewsletterMessageInfo pointing at the hardcoded WhatsApp channels 120363380357951328@newsletter (newsletterName "Wanz-Lonely") and 120363399602691477@newsletter, together with forced-forward metadata (forwardingScore 99999, isForwarded, businessMessageForwardInfo, dataSharingContext.showMmDisclosure), so messages sent by an application using this library appear forwarded from and promote that channel. Phone-number relay: lib/Socket/socket.js adds a `checkBan(number)` method that issues GET hxxps://kyuux-r[.]indevs[.]in/api/check-whatsapp?phone=<number>, delivering the caller-supplied phone number to a third-party operator outside WhatsApp, and spreads a "creator" attribution string from that response into the library's return value. The preinstall hook (engine-requirements.js) only enforces a Node.js version floor and performs no network or shell activity; no token, environment, file or wallet exfiltration was found in the package.

analyzed by
Leitwacht
first seen
Nov 5, 2026, 05:26 AM
analyzed
Nov 5, 2026, 05:28 AM
weekly installs
531

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.