Skip to main content
Menu
Advisories

Malicious code in @ikyzanx/baileys (npm)

MAL-2026-20286Published Updated OpenSSFMalware

Description

package.json declares the libsignal dependency as github:tenka-san/libsignal-node — a bare owner/repo reference with no commit SHA, tag, or version pin. On npm install, npm fetches whatever bytes are currently at the HEAD of that third-party repository and installs them, executing any lifecycle scripts contained in them, with no integrity verification. The referenced GitHub owner tenka-san is unrelated to the npm publisher of this package (@ikyzanx), so the trust boundary of installing this package silently extends to a third-party account that can push new commits to that repository at any time. The package is a Baileys fork (a WhatsApp Web client library); the unrelated-owner libsignal source is a mutable off-registry code path that executes on every install.

Affected versions

References