npm · Malicious package advisory
Malware@chatunity/baileys
GHSA-6jgr-8f9m-5rp7
Malicious code in @chatunity/baileys (npm)
Details
**Severity:** Critical **Affected versions:** `= 3.2.0` ## 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
Compromised versions (1)
- = 3.2.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.