Malicious package · npm
Malicious code in @ngp-ui/script-test-cleanup (npm)
99.0.0No safe version. Remove it.What it does
The package declares a preinstall lifecycle script that reads the installing machine's hostname with os.hostname() and embeds it in a DNS lookup for a subdomain of oob.jr0ch17.com (<hostname>.ngp-ui.script-test-cleanup.oob.jr0ch17.com), an out-of-band collector not associated with the installer. The lookup fires automatically on npm install, before any code is invoked by the user, with no disclosure or opt-in. The package ships no functional implementation; its only install-time effect is the outbound DNS callback. The scope-prefixed name combined with the implausibly high version 99.0.0 matches the dependency-confusion shape, in which an internal-looking name and winning version are published publicly so that resolution inside private build systems is signalled to the collector. Data leaving the installer is limited to the host identifier; no credentials, environment contents, or files are read, and no code is fetched or executed.
No fix · Remove and contain
npm uninstall @ngp-ui/script-test-cleanupSources