# GHSA-4RF3-5PMJ-PW8M: Malicious code in @ikyzanx/baileys (npm)

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

## Affected versions

- @ikyzanx/baileys (npm): 8.5.6

## Description

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

## References

- https://github.com/ossf/malicious-packages/blob/374928f6258cf3beac8c6f24cee0a67100be4219/osv/malicious/npm/@ikyzanx/baileys/MAL-2026-20286.json
- https://www.npmjs.com/package/@ikyzanx/baileys/v/8.5.6
- https://github.com/advisories/GHSA-4rf3-5pmj-pw8m

Page: https://cve.now/GHSA-4RF3-5PMJ-PW8M

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