MAL-2026-20772

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

@ngp-ui/context-providers@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.context-providers.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/context-providers 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":  "1c5bc061a8ccc2c5e239867c12c09c2013ece4a5bcdaf0c6b33a39a23804aa4f"
                },
                "note":  "preinstall.js of @ngp-ui/context-providers@99.0.0; resolves <hostname>.ngp-ui.context-providers.oob.jr0ch17.com.",
                "paths":  [
                    "preinstall.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "5a9892d43292947e96fd645f911269878e31b1ddf497bba404993a594abfb6ea"
                },
                "note":  "preinstall runs `node preinstall.js`, which sends the hostname over DNS to ngp-ui.context-providers.oob.jr0ch17.com.",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "1c5bc061a8ccc2c5e239867c12c09c2013ece4a5bcdaf0c6b33a39a23804aa4f"
                },
                "note":  "Executed by the preinstall script of @ngp-ui/context-providers@99.0.0.",
                "paths":  [
                    "preinstall.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ]
    }
}
Credits

Affected packages

npm / @ngp-ui/context-providers

Package

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

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/context-providers/MAL-2026-20772.json"