LWA-2026-14382 MAL-2026-20310 ↗ confirmed malware

@kropa/baileys@1.0.1

Malicious code in @kropa/baileys (npm)

T1027 · Obfuscated Files or InformationT1071.001 · Web ProtocolsT1059.007 · JavaScript

Analysis

@kropa/baileys@1.0.1 is a WhatsApp socket library that reuses the @whiskeysockets/baileys API and package name and adds behaviour the caller does not ask for. lib/Socket/newsletter.js hardcodes the channel 120363407277177688@newsletter and, 120 seconds after the socket initialises, issues a WhatsApp newsletter FOLLOW query for it (newsletterWMexQuery with QueryIds.FOLLOW, with empty catch blocks around it), silently subscribing the end user's WhatsApp account to that channel; no option or documentation exposes it. lib/Utils/license-guard.js is an obfuscated 11398-byte bundle (large _0x string dictionary and a second XOR string decoder); its plaintext twin lib/Utils/license-guard.src.js, shipped in the same directory, shows it reads KRISPEDIA_LICENSE / global.licenseKey, sends that key to hxxps://krispedia-license-api[.]vercel[.]app/api/verify (overridable through the LICENSE_SERVER_URL environment variable) and calls process.exit(1) on the embedding application when the key is missing, invalid or the gateway is unreachable — a remote kill-switch over any application that requires the library, triggered from makeWASocket() in lib/Socket/index.js. lib/Socket/messages-send.js assembles the sourceUrl field of outgoing rich image and video payloads from String.fromCharCode sequences that decode to hxxps://fiora[.]nixel[.]my[.]id/ , injecting an undocumented third-party host into message metadata in a form that defeats string search. Inspection of the shipped code found no reads of NPM_TOKEN, GITHUB_TOKEN, ~/.npmrc, ~/.ssh or ~/.aws and no upload of user files or credentials; the payload contacts only the licence endpoint and the host above.

analyzed by
Leitwacht
first seen
Nov 20, 2026, 08:52 PM
analyzed
Nov 20, 2026, 08:58 PM

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.