Skip to main content
Menu
Advisories

Malicious code in @uh-platform/domain-widget (npm)

GHSA-XH82-8X4M-9W6CPublished Updated GitHubMalware

Description

Source: amazon-inspector (1fa27cef146dec157eaf78519d56ff2ef696f32e99746cdabea9e30be7c03b96)

Package @uh-platform/domain-widget@100.0.0 is a scoped placeholder with an empty author, generic description, and no real functionality. Its package.json declares scripts.preinstall = "node index.js", and index.js shells out via exec() to curl a hardcoded Burp Collaborator subdomain at pa33pg1od9cr4ffnrzec8864jvpmdd12.oastify.com. On npm install, the installer's host performs a DNS+HTTP request to that attacker-controlled OAST endpoint, disclosing the installer's IP and host presence and confirming out-of-band code execution on the build machine. The @uh-platform scope combined with an inflated 100.0.0 version, empty metadata, and a preinstall-only payload is the canonical dependency-confusion shape targeting an internal namespace to shadow a private package during resolution.

---

Credit: OpenSSF (source)

Affected versions

References