MAL-2026-20770: Malicious code in @ngp-ui/api-client (npm)
@ngp-ui/api-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.api-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/api-client and 2 sibling @ngp-ui packages with the same script within a minute on 2026-11-27.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this package?
Organizations that use a private package named @ngp-ui/api-client and allow npm to resolve packages from the public registry may be exposed. Version 99.0.0 is intended to outrank a same-named private package during dependency resolution.
What must happen for the hostname to be disclosed?
The malicious preinstall script runs when @ngp-ui/api-client@99.0.0 is installed with npm. It reads the installing machine's hostname and performs a DNS lookup to a publisher-controlled domain containing that hostname.
How can I check whether systems installed it?
Check dependency manifests and lockfiles for @ngp-ui/api-client version 99.0.0. Also review DNS telemetry for queries to the ngp-ui.api-client.oob.jr0ch17.com domain pattern, including hostnames prepended as subdomains.
What can be done if the package cannot be removed immediately?
Prevent npm from retrieving this package from the public registry and block DNS resolution to the publisher-controlled domain pattern. Because the package's described behavior is in its preinstall script, avoid further installs that would execute lifecycle scripts.