Advisory

MAL-2026-19059

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in @zanxiky/baileys (npm)

Details

Malicious package. @zanxiky/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: 120363399602691477@newsletter, 120363421563597486@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.

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (0f1051c395438db8dc0dbe6de1cb09e6e10c83fc6062d359ca85093ce946f0e0)
package.json for @zanxiky/[email protected] declares the libsignal dependency as github:tenka-san/libsignal-node — a non-registry git source on an unaffiliated personal GitHub account with no commit SHA and no integrity check. On npm install, npm clones the current default-branch tip of that repository and executes any lifecycle scripts it contains, so the owner of the tenka-san GitHub account controls arbitrary code execution on every installer's machine, and the referenced bytes can change at any time without any version bump to this package. The GitHub account is unrelated to the upstream Baileys publisher (whiskeysockets), and the fork itself appears to be a lookalike of the Baileys WhatsApp library.

Severity

Not rated by the source.

Dates

Published
2026-11-13 03:31 UTC
Modified
2026-11-13 03:45 UTC

Affected packages and fixes

@zanxiky/baileys

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences