{"id":"MAL-2026-20771","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 `\u003chostname\u003e.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.","modified":"2026-11-30T03:45:05.433610964Z","published":"2026-11-27T04:02:56Z","database_specific":{"iocs":{"domains":["jr0ch17.com","oob.jr0ch17.com"],"files":[{"note":"preinstall.js of @ngp-ui/auth-client@99.0.0; resolves \u003chostname\u003e.ngp-ui.auth-client.oob.jr0ch17.com.","paths":["preinstall.js"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"8771de9de49f4b8b80d01a00db8b9b4203701e2c8bdd981ad9c57b6338bec4b3"}},{"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":"a809b1944287ca37839c8d484589717f302dc44c93c11f0040ec3d6398ef684e"}},{"note":"Executed by the preinstall script of @ngp-ui/auth-client@99.0.0.","paths":["preinstall.js"],"source":"PACKAGE_ARCHIVE","digests":{"sha256":"8771de9de49f4b8b80d01a00db8b9b4203701e2c8bdd981ad9c57b6338bec4b3"}}]}},"affected":[{"package":{"name":"@ngp-ui/auth-client","ecosystem":"npm","purl":"pkg:npm/%40ngp-ui/auth-client"},"versions":["99.0.0"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ngp-ui/auth-client/MAL-2026-20771.json"}}],"schema_version":"1.9.2","credits":[{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}