LWA-2026-14157 confirmed malware

@kropaku/baileys@6.7.22

Malicious code in @kropaku/baileys (npm)

T1027 · Obfuscated Files or InformationT1071.001 · Web ProtocolsT1071 · Application Layer ProtocolT1082 · System Information DiscoveryT1489 · Service Stop

Analysis

This package is an unofficial republished fork of the Baileys WhatsApp library that silently enrols the connected WhatsApp account into the author's channel and gates the library behind a remote license check. In lib/Socket/newsletter.js a module-load timer waits 120000 ms and then sends a WhatsApp W:mex query with QueryIds.FOLLOW for the hardcoded channel JID 120363407277177688@newsletter, wrapping the call in empty catch blocks so the follow attempt is invisible to the caller. lib/Socket/index.js (makeWASocket) requires a license key taken from config.licenseKey, process.env.KRISPEDIA_LICENSE or global.licenseKey, sends that key as a query parameter to hxxps://krispedia-license-api[.]vercel[.]app/api/verify (endpoint overridable via process.env.LICENSE_SERVER_URL), and calls process.exit(1) when the key is missing or rejected; two hardcoded master keys, "KRP-DEV-MASTER-2026" and "KRP-VIP-DEMO1", bypass the remote check. The license logic ships as javascript-obfuscator output (lib/Utils/license-guard.js, base64/rot decoder string array) with its unobfuscated source also included as lib/Utils/license-guard.src.js. A preinstall hook runs engine-requirements.js, a Node >=20 version check. IOCs: WhatsApp channel JID 120363407277177688@newsletter, license host krispedia-license-api[.]vercel[.]app, path /api/verify, env vars KRISPEDIA_LICENSE and LICENSE_SERVER_URL.

analyzed by
Leitwacht
first seen
Nov 16, 2026, 01:33 PM
analyzed
Nov 16, 2026, 01:40 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.