MAL-2026-11269
Dashboard / Malicious Package / MAL-2026-11269
MAL-2026-11269
Summary: Malicious code in consumerweb-risk (npm)
Details: Source: amazon-inspector (aa886e4b335d3fc76fa6bc8e50c2e428ac164165830705c0ab2847857c2b3aa7) The package's preinstall lifecycle script runs automatically on npm install. It collects the installer's OS username (os.userInfo().username), hostname (os.hostname()), and current working directory (process.cwd()), serializes them to JSON, hex-encodes the payload, chunks it into DNS subdomain labels, and issues dns.lookup() queries against an attacker-controlled nameserver under jgl.red. The lookups themselves carry the encoded host identity out to the attacker's authoritative DNS server, forming a covert DNS-tunnel exfiltration channel that fires on every install regardless of whether the module is ever required. Source: ghsa-malware (0e5f4efb70659109081158cdf1172001c3a589dbac63414af7c04485d40e42d0) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References: https://github.com/advisories/GHSA-5439-r8p8-2gmx, https://www.npmjs.com/package/consumerweb-risk/v/3.4.3
Affected packages
Package
Name: consumerweb-risk
Purl: pkg:npm/consumerweb-risk
Affected ranges
Type: SEMVER
Events:
