GHSA-r87g-8hwq-8mxh
Malicious code in signup-lib (npm)
Impact
signup-lib@99.99.99 is a dependency-confusion package: it takes the unscoped name of an internal dependency, which its `source.txt` says was found in a published JavaScript source map, and uses version 99.99.99 to win over the private package. A `postinstall` hook runs `node postinstall.js` on npm install, which prints a notice to stderr and sends the machine's hostname to `https://h1.cx/log?depconf=<hostname>` with an HTTPS GET. The package calls itself an authorized security-research canary, but it reports from any machine that installs it without the installer's consent. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/203dde7c95ee1d7bf0ddd3856e42fd5b79ec6812/osv/malicious/npm/signup-lib/MAL-2026-20054.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | signup-lib | = 99.99.99 | none recorded |