# GHSA-FGQR-8PGF-5Q3W: Malicious code in @rizzkezik/bailseys (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-23
- Modified: 2026-11-23

## Affected versions

- @rizzkezik/bailseys (npm): 6.7.10

## Description

## Source: amazon-inspector (2fa8bdc9bd695b0c97cf49bf1ed749af15e57c3237be6f0ed2e2797f15ad5ae5)
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))

## References

- https://github.com/ossf/malicious-packages/blob/e731fd4d6693f084cf4183f25f62a73e1a316684/osv/malicious/npm/@rizzkezik/bailseys/MAL-2026-20335.json
- https://www.npmjs.com/package/@rizzkezik/bailseys/v/6.7.10
- https://github.com/advisories/GHSA-fgqr-8pgf-5q3w

Page: https://cve.now/GHSA-FGQR-8PGF-5Q3W

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
