npm · Malicious package advisory
Malwarexzvbailey
GHSA-rg4j-jh5f-w982
Malicious code in xzvbailey (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: amazon-inspector (f961ec09baa139430fb2b04c3fef5350f16f659c8de585787a26f3c8535fca38) package.json declares the `libsignal` dependency as `github:tenka-san/libsignal-node`, a non-registry source pointing at a personal GitHub account with no tag or commit SHA. On `npm install`, npm fetches whatever the default branch's HEAD points to at that moment and runs any lifecycle scripts inside the cloned repo, so the owner of that account controls code that executes on the installer's machine. The account is unrelated to the upstream Baileys/libsignal publishers, and the package's own metadata is inconsistent (homepage and repository fields point at a Telegram URL while the bug tracker points at a different GitHub org, `pou-code/Baileys`), which is consistent with a repackaged Baileys lure rather than a legitimate fork. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/ea10930d581ebcec46b61de86d2056d5f3555444/osv/malicious/npm/xzvbailey/MAL-2026-16278.json)) **References:** - https://github.com/ossf/malicious-packages/blob/ea10930d581ebcec46b61de86d2056d5f3555444/osv/malicious/npm/xzvbailey/MAL-2026-16278.json - https://www.npmjs.com/package/xzvbailey/v/1.0.0 - https://github.com/advisories/GHSA-rg4j-jh5f-w982
Compromised versions (1)
- = 1.0.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.