Dependency-confusion canary: signup-lib (npm) — postinstall hook exfiltrates hostname to h1.cx on install (no CVE)
Severity: critical · Patch status: no-fix-needed · Since 2026-11-17
signup-lib@99.99.99 is a dependency-confusion package on npm that squats the unscoped name of an internal dependency, whose existence it learned from a published JavaScript source map, and uses version 99.99.99 to override the private package. A postinstall hook runs node postinstall.js during npm install, printing a notice to stderr and sending the machine's hostname via HTTPS GET to https://h1.cx/log?depconf=<hostname. The package claims to be an authorized security-research canary, but it reports from any machine that installs it without the installer's consent. GitHub advisory GHSA-r87g-8hwq-8mxh (CWE-506, critical) lists affected version 99.99.99 with no patched version; any developer or CI environment resolving this name is affected. Remediation is to remove/block the package and scope internal dependencies.
What to do
- Audit installed dependencies and lockfiles for signup-lib@99.99.99 and remove it; treat any machine or CI runner that installed it as having leaked its hostname
- Check logs/proxy history for requests to h1.cx/log?depconf= to identify affected hosts
- Configure npm scope/registry overrides and .npmrc to prevent public resolution of internal package names
- Avoid publishing source maps or internal dependency names to public artifacts; use scoped package names for private code
- Pin private dependencies with exact versions and enable registry allow-lists in CI
Sources
All live incidents on Threat Watch