NetSight
criticalMalware report

GHSA-4rf3-5pmj-pw8m

Malicious code in @ikyzanx/baileys (npm)

Impact

## Source: amazon-inspector (6c64694820be3e6d15789cddda220597ead0ab1beed316980af701b4f2d0c80e) 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/374928f6258cf3beac8c6f24cee0a67100be4219/osv/malicious/npm/@ikyzanx/baileys/MAL-2026-20286.json))

Affected packages

EcosystemPackageAffectedFixed in
npm@ikyzanx/baileys= 8.5.6none recorded

Weakness classification

References