signup-lib (npm) · Malicious Code
Affects signup-libSource GCVE Database
Malicious package : remove signup-lib and rotate any secrets on hosts that installed it.
Data as of 17 Nov 2026, 06:50 UTC
Malicious package
Published to npm · OSV MAL-2026-20054
What to do
Remove signup-lib from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmsignup-lib | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The signup-lib package version 99.99.99 is a malicious npm package designed for dependency confusion attacks. It impersonates an internal dependency by using an unscoped name and a high version number to override private packages. Upon installation, it executes a postinstall script that sends the hostname of the installing machine to a remote server without user consent, effectively leaking sensitive environment information.