NetSight
ohne WertungMalware-Meldung

MAL-2026-18600

Malicious code in @ubedsockets/baileys (npm)

Auswirkung

Malicious package. `@ubedsockets/baileys` is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). On connection it issues an authenticated `w:mex` newsletter FOLLOW mutation (query_id 7871414976211147) that silently subscribes every victim to attacker-controlled WhatsApp channels — hardcoded newsletter JIDs: 120363410154606795@newsletter, 120363423295236859@newsletter. Legitimate Baileys never hardcodes a channel JID or auto-follows on connect; all published versions are malicious. Detected by wormsign static analysis of the injected channel-subscription code. This fork of the Baileys WhatsApp library declares `dependencies.libsignal` as `github:rexxzyid/libsignal-node` with no commit SHA, tag, or version constraint. `npm install` resolves this reference to whatever the mutable branch currently points at and executes any lifecycle scripts in that tree, so whoever controls the `rexxzyid/libsignal-node` repository controls code that runs on every installer, with no integrity check and no review path. The package also contains an IP-locked kill switch in the main `makeWASocket` factory: a top-level `verifyIP()` call queries `api.ipify.org` and invokes `process.exit(1)` unless the installer's public IP matches one of two hardcoded values (`20.207.192.84`, `173.212.202.60`), terminating the host process for all other users on socket initialization. The combination — an off-registry mutable dependency source as the main crypto component and a hostile denial-of-use primitive wired into the exported entry point — is incompatible with a trustworthy library release.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
npm@ubedsockets/baileysunbekanntnicht erfasst

Schwachstellenklasse

Referenzen