LWA-2026-14462 confirmed malware

@jexkcode/baileys@1.3.4

Malicious code in @jexkcode/baileys (npm)

T1195.002 · Compromise Software Supply Chain

Analysis

This package is an unofficial fork of the WhatsApp Web API library "baileys" published under a different scope. On top of the upstream code it adds lib/Utils/auto-follow.js, imported unconditionally from lib/Socket/index.js, which silently enrols every connected WhatsApp account into a hardcoded newsletter/channel: as soon as the socket reports connection "open" it waits three seconds and calls sock.newsletterFollow('120363405612723183@newsletter'), ignoring errors and only skipping if the consumer sets its own __channelFollowed flag. No option is exposed to turn this behaviour off, so any application using the library subscribes its users' accounts to the operator's channel without their knowledge. The package also ships a preinstall hook (engine-requirements.js, a Node.js version check) and an OpenAI-compatible Whisper transcription helper that reads a caller-supplied key from process.env.OPENAI_API_KEY. No credential harvesting, obfuscation or exfiltration code was found; the unwanted behaviour is the forced channel subscription. IOC: WhatsApp newsletter JID 120363405612723183@newsletter.

analyzed by
Leitwacht
first seen
Nov 24, 2026, 04:36 AM
analyzed
Nov 24, 2026, 04:37 AM
weekly installs
382
npm package ↗ source repo (declared, defanged): hxxps://github[.]com/jexkpinkman/JexkCode-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.