MAL-2026-20771

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ngp-ui/auth-client/MAL-2026-20771.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20771
Published
2026-11-27T04:02:56Z
Modified
2026-11-30T03:45:05Z
Summary
Malicious code in @ngp-ui/auth-client (npm)
Details

@ngp-ui/auth-client@99.0.0 is a dependency-confusion package with no functional code: it takes a name in the @ngp-ui scope at version 99.0.0, high enough to outrank a same-named package on a private registry. Its preinstall script runs node preinstall.js on npm install, which reads the machine's hostname and resolves <hostname>.ngp-ui.auth-client.oob.jr0ch17[.]com, sending the hostname of every installing machine to a DNS server controlled by the publisher. The npm account jr0ch17-bb published @ngp-ui/auth-client and 2 sibling @ngp-ui packages with the same script within a minute on 2026-11-27.

Database specific
{
    "iocs":  {
        "domains":  [
            "jr0ch17.com",
            "oob.jr0ch17.com"
        ],
        "files":  [
            {
                "digests":  {
                    "sha256":  "8771de9de49f4b8b80d01a00db8b9b4203701e2c8bdd981ad9c57b6338bec4b3"
                },
                "note":  "preinstall.js of @ngp-ui/auth-client@99.0.0; resolves <hostname>.ngp-ui.auth-client.oob.jr0ch17.com.",
                "paths":  [
                    "preinstall.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "a809b1944287ca37839c8d484589717f302dc44c93c11f0040ec3d6398ef684e"
                },
                "note":  "preinstall runs `node preinstall.js`, which sends the hostname over DNS to ngp-ui.auth-client.oob.jr0ch17.com.",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "8771de9de49f4b8b80d01a00db8b9b4203701e2c8bdd981ad9c57b6338bec4b3"
                },
                "note":  "Executed by the preinstall script of @ngp-ui/auth-client@99.0.0.",
                "paths":  [
                    "preinstall.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ]
    }
}
Credits

Affected packages

npm / @ngp-ui/auth-client

Package

Name
@ngp-ui/auth-client
View open source insights on deps.dev
Purl
pkg:npm/%40ngp-ui/auth-client

Affected ranges

Affected versions

99.*
99.0.0

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/@ngp-ui/auth-client/MAL-2026-20771.json"