kdrive-utils (npm) · Malicious Code
Affects kdrive-utilsSource GCVE Database
Malicious package : remove kdrive-utils and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:55 UTC
Malicious package
Published to npm · OSV MAL-2026-6295
What to do
Remove kdrive-utils 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 |
|---|---|---|
| npmkdrive-utils | 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 kdrive-utils npm package version 99.9.9 contains malicious code that executes a preinstall script during npm install. This script sends the installer's hostname and current OS username in a plain HTTP request to an attacker-controlled server, enabling reconnaissance and potential further compromise. The package is a dependency confusion attempt with no legitimate functionality. Systems with this package installed should be considered fully compromised, and secrets should be rotated immediately.