Skip to main content
Menu
Advisories

Malicious code in @wanzforme/bails4u (npm)

GHSA-38GH-X97R-9CX2Published Updated GitHubMalware

Description

Source: amazon-inspector (7db6d4bfe675bbaa2043f2958993761070ab6e5a09572d884082465b51bdf437)

package.json declares a runtime dependency libsignal with the source github:wanzchil/libsignal-node. The reference has no commit SHA, tag, or integrity hash, so npm install resolves whatever the referenced repository's default branch currently contains and executes any lifecycle scripts bundled with it on the installer's machine. The owner of wanzchil/libsignal-node can push new commits at any time, and future installs will fetch and run those bytes with no version pin and no verification — fully bypassing the npm registry's integrity model for this dependency. A separate static match in lib/Utils/generics.js around a ping/HTTP pattern is consistent with WhatsApp/Baileys-style network utilities and is not independently indicative of malice.

---

Credit: OpenSSF (source)

Affected versions

References