# GHSA-2Q5P-VQH2-8C92: Malicious code in zero-baileys (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-09-18
- Modified: 2026-09-18

## Affected versions

- zero-baileys (npm): 2.7.0

## Description

## Source: amazon-inspector (58d472a4390be835fc8ffd5e62a7d3b2bb7270ad6ea651d9cd15bc7abd7735c8)
package.json redirects the `libsignal` dependency to `npm:@otaxayun/libsignal-node@latest`. The `@latest` dist-tag is mutable and unpinned, so each `npm install` of zero-baileys resolves whatever tarball the `@otaxayun` scope currently publishes and executes any lifecycle scripts (preinstall/install/postinstall) it contains. Upstream Baileys resolves libsignal from a pinned source; the alias here substitutes an unofficial third-party scope as the trust root for a core cryptographic dependency, with no version pin and no integrity check. The static match on `child_process` + `https.request` + `POST` in lib/Utils/messages-media.js:28 corresponds to media-download helpers in the runtime library and is not itself an install-time exfil path.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/ea10930d581ebcec46b61de86d2056d5f3555444/osv/malicious/npm/zero-baileys/MAL-2026-16280.json))

## References

- https://github.com/ossf/malicious-packages/blob/ea10930d581ebcec46b61de86d2056d5f3555444/osv/malicious/npm/zero-baileys/MAL-2026-16280.json
- https://www.npmjs.com/package/zero-baileys/v/2.7.0
- https://github.com/advisories/GHSA-2q5p-vqh2-8c92

Page: https://cve.now/GHSA-2Q5P-VQH2-8C92

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