LWA-2026-14325 confirmed malware

@outlaw1/baileys@0.0.3

Malicious code in @outlaw1/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1036 · Masquerading

Analysis

This package is an unofficial republication of the @whiskeysockets/baileys WhatsApp Web API library, published under a different scope (@outlaw1 rather than the canonical @whiskeysockets or the author's own @lordmega scope referenced in its README and repository links). Two core modules are shipped deliberately obfuscated with javascript-obfuscator output — a shuffled encoded string array plus hex-named identifier dispatcher — while every neighbouring module in the same directories ships as readable source: lib/Utils/messages.js (about 72 KB, roughly 2,900 obfuscated identifiers) and lib/Socket/newsletter.js (about 13 KB, roughly 530 obfuscated identifiers). The published sourcemaps for both files omit sourcesContent, so the hidden logic cannot be recovered from the tarball. The package also declares a preinstall lifecycle hook, "node ./engine-requirements.js" (that file performs only a Node.js version check and exits), and ships an editor-backup artefact, lib/Socket/messages-send.js.bak, next to the live lib/Socket/messages-send.js — a leftover of post-copy editing. No network indicators, credential paths or environment-variable reads were found in the readable portions of the package; the behaviour is hidden inside the two obfuscated message-handling modules, which sit on the code path that processes WhatsApp session and message data.

analyzed by
Leitwacht
first seen
Nov 19, 2026, 02:51 PM
analyzed
Nov 19, 2026, 02:53 PM
npm package ↗ source repo (declared, defanged): hxxps://github[.]com/LORDMEGA-MD/baileys Request takedown / dispute →

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.