{"id":"MAL-2026-20770","summary":"Malicious code in @ngp-ui/api-client (npm)","details":"@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 `\u003chostname\u003e.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.","modified":"2026-11-30T03:45:05.444597730Z","published":"2026-11-27T04:00:07Z","database_specific":{"iocs":{"domains":["jr0ch17.com","oob.jr0ch17.com"],"files":[{"note":"preinstall.js of @ngp-ui/api-client@99.0.0; resolves \u003chostname\u003e.ngp-ui.api-client.oob.jr0ch17.com.","paths":["preinstall.js"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"312954d607e3c516eebad3e5c2e41bed1b203ce1aa8e1ebdfa5a9be83ffa5c7b"}},{"note":"preinstall runs `node preinstall.js`, which sends the hostname over DNS to ngp-ui.api-client.oob.jr0ch17.com.","paths":["package.json"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"b31b6a759f550e3da43c4ef338dbb68412b04ae4e0e73554e34ba1da850ba9fe"}},{"paths":["preinstall.js"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"312954d607e3c516eebad3e5c2e41bed1b203ce1aa8e1ebdfa5a9be83ffa5c7b"},"note":"Executed by the preinstall script of @ngp-ui/api-client@99.0.0."}]}},"affected":[{"package":{"name":"@ngp-ui/api-client","ecosystem":"npm","purl":"pkg:npm/%40ngp-ui/api-client"},"versions":["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/api-client/MAL-2026-20770.json"}}],"schema_version":"1.9.2","credits":[{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}