cvelo
P2 · HighMalware

Malicious code in @rizzkezik/bailseys (npm)

  • GHSA-fgqr-8pgf-5q3w

Description

package.json declares the libsignal dependency as `github:tenka-san/libsignal-node` with no commit SHA or tag. On `npm install`, npm clones whatever bytes currently sit at that personal GitHub repository's default-branch HEAD and installs them into the dependency tree, running any lifecycle scripts the fetched payload defines. There is no version pin, no integrity check, and the source is a non-registry, personal-account repository under third-party control — whoever controls tenka-san/libsignal-node can substitute arbitrary code at any time, and every subsequent install of @rizzkezik/bailseys will execute it. The project is a Baileys (WhatsApp library) fork; libsignal is a core cryptographic dependency normally sourced from a pinned registry release, so an unpinned mutable git reference in that slot is a direct install-time code-inclusion path from an untrusted control sphere. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/e731fd4d6693f084cf4183f25f62a73e1a316684/osv/malicious/npm/@rizzkezik/bailseys/MAL-2026-20335.json))

Text from the GitHub Advisory record.

Affected

  • @rizzkezik/bailseysnpm

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.