Two releases of the npm package @xz-bails/baileys pull their libsignal dependency from an unpinned GitHub account, and GitHub lists both releases as malware.
The npm account xzv-rxvz published both releases under the name Rz. GitHub reviewed the report and published malware advisory GHSA-h4ch-q5x4-x2j7 on 23 November 2026.
What happened
@xz-bails/baileys is a fork of the Baileys WhatsApp Web library. OpenSSF record MAL-2026-20340 carries an Amazon Inspector analysis of it.
- Version 6.0.10 went to npm at 06:16 UTC on 17 November 2026. Version 6.0.11 followed at 21:39 UTC on 19 November 2026.
- The
package.jsonfile in both versions declareslibsignalasgithub:tenka-san/libsignal-node. The pin carries no commit SHA, tag or integrity check. - An install therefore fetches whatever the HEAD of that personal GitHub repository serves, and lifecycle scripts in the fetched tarball run on the installer machine.
- In code inspection I read
package.jsonandengine-requirements.jsof version 6.0.10, andpackage.json,lib/index.jsandlib/Socket/index.jsof version 6.0.11.engine-requirements.jsonly checks the Node version. Those files contain no malicious code. The flagged risk sits in the unpinned dependency, not in the files I read.
Affected versions
6.0.10and6.0.11. GitHub lists both in the vulnerable range= 6.0.10and= 6.0.11.- GitHub lists no patched version. Both versions stay live on npm, and
6.0.11is the latest release as of 23 November 2026.
Indicators of compromise
- Dependency source
github:tenka-san/libsignal-nodeinpackage.json - npm publisher account
xzv-rxvz - Version 6.0.10 tarball integrity
sha512-155hUIOJgc9ZoGn7J42M0XknvrP0/metQVzxjhT9ulVdlRCapfEDPdNzQfZV26VmoI5o7JlKG4YemRF5dEI8Pg==
How to check
Run this command in each project folder to list an installed copy.
npm ls @xz-bails/baileys
Search your lockfiles for the dependency source. This command only reads files.
grep -n "tenka-san" package-lock.json yarn.lock pnpm-lock.yaml 2>/dev/null
Check your CI build logs and lockfile history for either affected version. A clean install today cannot rule out earlier exposure.
What to do now
- Remove
@xz-bails/baileysfrom the project and from its lockfile. - Remove the
github:tenka-san/libsignal-nodedependency. Use an on-registry libsignal build with a fixed version instead. - If you find an affected version in a build history, rotate the secrets that build had access to.
What Vigilance would show
These examples show an install hold and the corresponding owner report.
Example install message
Vigilance blocked `@xz-bails/baileys` 6.0.11. This version is too new or changed in a way Vigilance must check first.
Example owner report
Bad update
@xz-bails/baileys 6.0.11
An npm release pulled a crypto dependency from an unpinned GitHub account, so an install ran code the registry never checked.
No security team? See who reads the alert.
Frequently asked questions
Is @xz-bails/baileys still on npm?
Yes. Versions 6.0.10 and 6.0.11 stayed live after GitHub published the advisory on 23 November 2026, and npm lists 6.0.11 as the latest release.
Does the package's own code steal credentials?
Not in the files inspected for this page. The GitHub advisory flags the unpinned libsignal dependency, which runs code from a mutable personal GitHub repository during install.
Sources
Send this page to the person who looks after AI at your company.