LWA-2026-14193 MAL-2026-18919 ↗ confirmed malware

@yemo-dev/yebail@4.1.0

Malicious code in @yemo-dev/yebail (npm)

Analysis

Independent static review (install never detonated — npm died on `spawn git ENOENT` for the github: libsignal dep, so static analysis is the only evidence) found covert malicious behaviour the first pass missed. lib/Socket/messages-recv.js:1150-1162: on EVERY connection 'open' in every socket the library creates, a 90s-delayed setTimeout decodes two ASCII numeric arrays (an obfuscation that evades literal-string scans — the first agent's decoder had no numeric-array support and wrongly reported "zero encoded strings") into hardcoded JIDs `120363408975923153@newsletter` and `120363421171049265@newsletter` and silently calls sock.newsletterFollow() on both — forcing every victim's authenticated WhatsApp account to follow the author's chosen channels, wrapped in a silent catch{} with no logging, no config option, no opt-out, and no disclosure in the README. I decoded the JIDs myself from the byte offsets. This is unauthorized account manipulation for the package author's benefit (channel follower growth/broadcast reach), executed via the user's own session — a behavioural backdoor with no credible benign explanation; no dual-use instrument exists to justify riskware. No .npmrc/credential/token-theft targets were found elsewhere, and the flagged timer and 305-byte preinstall hook are individually benign, but they do not exculpate the embedded payload. The whole package's purpose is tainted by it.

analyzed by
Leitwacht
first seen
Nov 15, 2026, 09:40 AM
analyzed
Nov 17, 2026, 12:30 AM
weekly installs
5,149
npm package ↗ OSV record MAL-2026-18919 ↗ source repo (declared, defanged): hxxps://github[.]com/yemo-dev/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.