CRITICAL npm Malware

Malicious code in @xz-bails/baileys (npm)

MAL-2026-20340

Published · Modified

Dependency scanning

Check whether @xz-bails/baileys is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

Source: amazon-inspector (ff217bd2a1260e646df994e1d5a14ad54c79b81083e90755647c7ee2ee3c6ad3)

package.json declares libsignal as github:tenka-san/libsignal-node with no commit SHA, tag, or integrity check. On npm install, this resolves to whatever the mutable HEAD of that personal GitHub account's branch currently returns, and any lifecycle scripts inside the fetched tarball execute on the installer's machine. The reference points to an individual personal account rather than the upstream signalapp organization or the WhiskeySockets parent of this Baileys fork, so whoever controls that GitHub repository controls code that runs on every installer of this package. This is an off-registry dependency source for a transitive that provides cryptographic/signal-protocol functionality.

Ready to move

Start Securing

Free, no credit card | First findings in minutes