cvelo
P2 · HighMalware

Malicious code in @ngp-ui/script-test-cleanup (npm)

  • MAL-2026-21015

Description

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.

Text from the OSV record.

Affected

  • @ngp-ui/script-test-cleanupnpm

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.