VDB
EN

MAL-2026-13438

Malicious code in cewe-npm-cops (npm)

상세

--- _-= 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.

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

npm / cewe-npm-cops

No fixed version published yet for cewe-npm-cops (npm). Pin to a known-safe version or switch to an alternative.

참고