# GHSA-6JGR-8F9M-5RP7: Malicious code in @chatunity/baileys (npm)

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

## Affected versions

- @chatunity/baileys (npm): 3.2.0
- @chatunity/baileys (npm): 3.2.1

## Description

## Source: amazon-inspector (b6d06d6b516b21b0ac6ed45e5653dca243695a2c17326669ec58498e4c9bcf45)
package.json declares the runtime dependency `libsignal` with the value `github:chatunitycenter/libsignal-node`, an off-registry git source with no commit SHA or tag pin. On `npm install`, npm fetches whatever the default branch of that repository currently contains and executes any lifecycle scripts inside it, and the module is then required transitively via lib/Signal/libsignal.js from the package's main entry. The dependency source is mutable and integrity-unchecked: any change pushed to that branch (or takeover of the owning account) is executed on every subsequent install of this package version, with no version bump or artifact change on the npm side. The owning GitHub account is unrelated to established libsignal publishers and there is no signature or hash gating the fetched content.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/df8912ac853d808526d73c577abd0cdfa8d704f1/osv/malicious/npm/@chatunity/baileys/MAL-2026-17287.json))

## References

- https://github.com/ossf/malicious-packages/blob/df8912ac853d808526d73c577abd0cdfa8d704f1/osv/malicious/npm/@chatunity/baileys/MAL-2026-17287.json
- https://www.npmjs.com/package/@chatunity/baileys/v/3.2.0
- https://www.npmjs.com/package/@chatunity/baileys/v/3.2.1
- https://github.com/ossf/malicious-packages/blob/72394477b395764c28acdd932236d25fca79ced6/osv/malicious/npm/@chatunity/baileys/MAL-2026-17287.json
- https://github.com/advisories/GHSA-6jgr-8f9m-5rp7

Page: https://cve.now/GHSA-6JGR-8F9M-5RP7

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