Skip to main content
MalwarePublished

@ngp-ui/script-test-cleanup (npm) · Malicious Code

Affects @ngp-ui/script-test-cleanupSource GCVE Database

0

Malicious package : remove @ngp-ui/script-test-cleanup and rotate any secrets on hosts that installed it.

Data as of 3 Dec 2026, 08:16 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-21015

What to do

Remove @ngp-ui/script-test-cleanup from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npm@ngp-ui/script-test-cleanupAffected
  • =99.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (bdd3d41a5083a52a45e94372863e70ebed55d4fc278bcba0a0ffaf45c112f83a) 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.

References

Community reviews

Loading reviews…