Malicious code in kdrive-utils (npm)
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.
AI Analysis
Technical Summary
The kdrive-utils package at version 99.9.9 is a malicious npm package that includes a preinstall lifecycle script which automatically runs on installation. This script performs an HTTP request to an attacker-controlled domain, embedding the hostname and username of the compromised system, facilitating supply-chain reconnaissance and potential further exploitation. The package is designed as a dependency confusion attack, using a high version number to override internal packages. It contains no legitimate code beyond this beaconing behavior. According to the source advisories, any system with this package installed should be treated as fully compromised.
Potential Impact
Installation of this package results in immediate disclosure of system hostname and username to an attacker-controlled server. The presence of this package indicates a full compromise, potentially allowing attackers to execute arbitrary code or maintain persistence. All secrets and keys on the affected system are at risk and should be rotated. Removal of the package alone does not guarantee elimination of all malicious artifacts or backdoors.
Mitigation Recommendations
There is no official patch or fix available for this malicious package. The recommended mitigation is to immediately remove the kdrive-utils package version 99.9.9 from all affected systems. Treat any system with this package installed as fully compromised and perform a thorough incident response, including rotating all secrets and keys from a separate, trusted system. Monitor for any signs of further compromise. Patch status is not applicable as this is a malicious package rather than a vulnerability in legitimate software.
Malicious code in kdrive-utils (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The kdrive-utils package at version 99.9.9 is a malicious npm package that includes a preinstall lifecycle script which automatically runs on installation. This script performs an HTTP request to an attacker-controlled domain, embedding the hostname and username of the compromised system, facilitating supply-chain reconnaissance and potential further exploitation. The package is designed as a dependency confusion attack, using a high version number to override internal packages. It contains no legitimate code beyond this beaconing behavior. According to the source advisories, any system with this package installed should be treated as fully compromised.
Potential Impact
Installation of this package results in immediate disclosure of system hostname and username to an attacker-controlled server. The presence of this package indicates a full compromise, potentially allowing attackers to execute arbitrary code or maintain persistence. All secrets and keys on the affected system are at risk and should be rotated. Removal of the package alone does not guarantee elimination of all malicious artifacts or backdoors.
Mitigation Recommendations
There is no official patch or fix available for this malicious package. The recommended mitigation is to immediately remove the kdrive-utils package version 99.9.9 from all affected systems. Treat any system with this package installed as fully compromised and perform a thorough incident response, including rotating all secrets and keys from a separate, trusted system. Monitor for any signs of further compromise. Patch status is not applicable as this is a malicious package rather than a vulnerability in legitimate software.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6295
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-v9x6-7mvw-mf22"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a3ef7be27e9c79719ffd4f7
Added to database: 06/26/2026, 22:05:50 UTC
Last enriched: 06/26/2026, 22:33:47 UTC
Last updated: 07/26/2026, 14:53:21 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.