LWA-2026-14054 MAL-2026-18859 ↗ confirmed malware

@kyuu2nd/baileys@2.0.0

Malicious code in @kyuu2nd/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1098 · Account ManipulationT1105 · Ingress Tool Transfer

Analysis

@kyuu2nd/baileys@2.0.0 is a republished fork of the WhatsApp library baileys that silently enrols the installing user's own WhatsApp account into the author's channel. The library's newsletter module (lib/Socket/newsletter.js) schedules a 90-second timer whose callback issues a newsletter FOLLOW query for the hardcoded channel 120363423538799477@newsletter over the victim's authenticated session, wrapped in a silent try/catch and delayed so the action happens long after startup; the package README (line 413) presents this forced follow as a feature. A second hardcoded channel, 120363297591152843@newsletter ("shenvn."), is injected into forwarded status messages in lib/Socket/dugong.js. In addition, requiring the package (main entry lib/index.js) immediately fetches hxxps://raw[.]githubusercontent[.]com/z4phdev/client/refs/heads/main/information[.]json and prints author-controlled content taken from data[0], and lib/Utils/generics.js repoints the Baileys version update check to hxxps://raw[.]githubusercontent[.]com/z4phdev/baileys/master/src/Defaults/baileys-version[.]json. The package also replaces the native Signal protocol dependency with an unofficial personal-scope package, libsignal rewritten to npm:@shennmine/libsignal-node@2.0.1. IOC: WhatsApp channel JIDs 120363423538799477@newsletter and 120363297591152843@newsletter; raw[.]githubusercontent[.]com/z4phdev/client and raw[.]githubusercontent[.]com/z4phdev/baileys; npm scope @shennmine.

analyzed by
Leitwacht
first seen
Nov 15, 2026, 09:14 AM
analyzed
Nov 15, 2026, 09:17 AM
weekly installs
3,906

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.