Vulnerability MAL-2026-20770
Summary
Malicious code in @ngp-ui/api-client (npm)
Details
@ngp-ui/[email protected] 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.