cewe-npm-cops
Affected
- Versions:
99.9.9
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-823q-q648-p3m6
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in cewe-npm-cops (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (673bd57ca8632e768772381c7439b0b15008914879dfb5c22d42e40ce954c9e5)
[email protected] 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.
Not rated by the source.
99.9.9None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0