npm · Malicious package advisory
Malwarezero-baileys
MAL-2026-16280
Malicious code in zero-baileys (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (58d472a4390be835fc8ffd5e62a7d3b2bb7270ad6ea651d9cd15bc7abd7735c8) package.json redirects the `libsignal` dependency to `npm:@otaxayun/libsignal-node@latest`. The `@latest` dist-tag is mutable and unpinned, so each `npm install` of zero-baileys resolves whatever tarball the `@otaxayun` scope currently publishes and executes any lifecycle scripts (preinstall/install/postinstall) it contains. Upstream Baileys resolves libsignal from a pinned source; the alias here substitutes an unofficial third-party scope as the trust root for a core cryptographic dependency, with no version pin and no integrity check. The static match on `child_process` + `https.request` + `POST` in lib/Utils/messages-media.js:28 corresponds to media-download helpers in the runtime library and is not itself an install-time exfil path.
Compromised versions (1)
- 2.7.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.