dependencykfee-2 (npm) · Malicious Code
Affects dependencykfee-2Source GCVE Database
Malicious package : remove dependencykfee-2 and rotate any secrets on hosts that installed it.
Data as of 13 Nov 2026, 04:29 UTC
Malicious package
Published to npm · OSV MAL-2026-18460
What to do
Remove dependencykfee-2 from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmdependencykfee-2 | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'dependencykfee-2' versions 1.0.0, 1.0.5, 1.5.5, and 1.8.9 is identified as malicious. It contains no functional code but runs a preinstall script that encodes the installer's current working directory path and exfiltrates it via DNS queries to a domain controlled by attackers. This behavior leaks sensitive environment information such as OS username, host layout, and project name during installation. The package appears to be a reconnaissance probe consistent with dependency confusion attacks.