cvelo
P2 · HighMalware

Malicious code in @ngp-ui/auth-client (npm)

  • GHSA-4gv6-7m9h-x7m2

Description

@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 `<hostname>.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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/a340912cc27a3abd3d2158fe4bf1dbcc43bdce79/osv/malicious/npm/@ngp-ui/auth-client/MAL-2026-20771.json))

Text from the GitHub Advisory record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • @ngp-ui/auth-clientnpm

    No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.