{"id":"MAL-2026-20054","summary":"Malicious code in signup-lib (npm)","details":"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=\u003chostname\u003e` 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.","modified":"2026-11-17T06:00:39.392769499Z","published":"2026-11-16T11:34:58Z","database_specific":{"iocs":{"domains":["h1.cx"],"files":[{"note":"postinstall script: node postinstall.js","paths":["package.json"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"068e06a8d750d9df9df52fec96148460e743aef0e7870e615c7386c759c5046b"}},{"source":"PACKAGE_ARCHIVE","digests":{"sha256":"37eb2570104fbe890bd4409ee6656e6d0a70029d1e70a1bd648364a9a2a29124"},"note":"Executed by the postinstall script of signup-lib@99.99.99.","paths":["postinstall.js"]}],"urls":["https://h1.cx/log"]}},"affected":[{"package":{"name":"signup-lib","ecosystem":"npm","purl":"pkg:npm/signup-lib"},"versions":["99.99.99"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/signup-lib/MAL-2026-20054.json"}}],"schema_version":"1.9.2","credits":[{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}