Skip to main content
Menu
Advisories

Malicious code in @callmewanz/bails (npm)

GHSA-GHQQ-835C-J9XWPublished Updated GitHubMalware

Description

Source: amazon-inspector (95c96275e82ea156a25ad40bf94483dba32b9f5920259f3adaa3367161a19864)

package.json declares the libsignal dependency as github:wanzchil/libsignal-node with no commit SHA, tag, or semver pin. On npm install, npm fetches whatever bytes the default branch of that GitHub repository currently returns and executes any lifecycle scripts contained in it, with no integrity check and no version resolution against the npm registry. Whoever controls the referenced GitHub repository controls code that runs on the installer's machine at install time, and that code can change silently between installs without any republish of this package.

---

Credit: OpenSSF (source)

Affected versions

References