MAL-2026-13438
Malicious code in cewe-npm-cops (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (673bd57ca8632e768772381c7439b0b15008914879dfb5c22d42e40ce954c9e5) cewe-npm-cops@99.9.9 is a dependency-confusion probe. package.json declares scripts.preinstall = 'node preinstall.js'; preinstall.js reads os.hostname() and issues a dns.lookup against `<hostname>.zfir3qor582xqvyqm0tdc7xpqgw7ky8n.oastify.com`, an author-controlled Burp Collaborator (Interactsh) out-of-band host. Every npm install of this package unconditionally leaks the installer's machine hostname via DNS to a third-party OOB service. The package is otherwise hollow: version is set to 99.9.9 (max-version squat designed to override an internal package of the same name during resolution), main is an empty index.js, and author is the placeholder 'Your_HackerOne_Username'. The self-described 'harmless PoC' framing does not change the behavior: installer host identity is exfiltrated to an attacker-controlled endpoint at install time.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for cewe-npm-cops (npm). Pin to a known-safe version or switch to an alternative.