cvelo
P2 · HighMalware

Malicious code in @ikyzanx/baileys (npm)

  • GHSA-4rf3-5pmj-pw8m

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. --- 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))

Text from the GitHub Advisory record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • @ikyzanx/baileysnpm

    No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.