MAL-2026-20054

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/signup-lib/MAL-2026-20054.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20054
Published
2026-11-16T11:34:58Z
Modified
2026-11-17T06:00:39Z
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=<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.

Database specific
{
    "iocs":  {
        "domains":  [
            "h1.cx"
        ],
        "files":  [
            {
                "digests":  {
                    "sha256":  "068e06a8d750d9df9df52fec96148460e743aef0e7870e615c7386c759c5046b"
                },
                "note":  "postinstall script: node postinstall.js",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "37eb2570104fbe890bd4409ee6656e6d0a70029d1e70a1bd648364a9a2a29124"
                },
                "note":  "Executed by the postinstall script of signup-lib@99.99.99.",
                "paths":  [
                    "postinstall.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ],
        "urls":  [
            "https://h1.cx/log"
        ]
    }
}
Credits

Affected packages

npm / signup-lib

Package

Affected ranges

Affected versions

99.*
99.99.99

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/signup-lib/MAL-2026-20054.json"