cvelo
P2 · HighMalware

Malicious code in supunmd-baileys (npm)

  • GHSA-g54c-cvw3-h9f4

Description

package.json declares `dependencies.libsignal` as `github:tenka-san/libsignal-node` with no commit SHA, tag, or integrity hash. On `npm install`, this resolves to whatever the default branch of that personal-user repository contains at the moment of install, and any lifecycle scripts inside the fetched tree execute on the installer's machine. The dependency source is off-registry, unpinned, and controlled by a third-party user account unrelated to the npm publisher, so the content delivered to installers can change arbitrarily after this package version is published without any change to this package itself. This is a dependency-source hijack surface: control of that GitHub account, a repo rename, or a branch force-push is sufficient to execute attacker-controlled code on every installer of this package. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/ebdb9b6adb47bd7606601457604aeb0706b205b4/osv/malicious/npm/supunmd-baileys/MAL-2026-20674.json))

Text from the GitHub Advisory record.

Affected

  • supunmd-baileysnpm

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.