Malicious Code Detected in kcheck Package: Version 7.0.0 Compromised
Summary
MAL-2025-192960: Malicious code in kcheck (npm). Affects kcheck versions 7.0.0 – 8.0.0. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The kcheck package is a utility designed for checking various system configurations and statuses in Node.js applications. It is widely used in the npm ecosystem for its ease of use and functionality. However, version 7.0.0 has been identified as malicious, posing significant risks to users who rely on it for system checks.
Vulnerability Detail
The vulnerability stems from the kcheck package version 7.0.0, which has been flagged as malicious by the OpenSSF Package Analysis project. This version communicates with a domain linked to malicious activities, potentially compromising user data and system integrity. Users of this package may unknowingly expose their systems to further attacks or data breaches due to this malicious behavior.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall kcheck
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, users can remove the kcheck package from their project until they can update to a safe version. This can be done with the following command:
npm uninstall kcheck
Conclusion
The kcheck package version 7.0.0 has been identified as malicious, posing significant risks to users. It is crucial to update to version 8.0.0 to mitigate these risks. Users should also consider using tools like Vulert to monitor their applications for vulnerabilities.
See every vulnerability recorded for kcheck →
FAQ
kcheck is a Node.js utility package used for checking system configurations and statuses.
You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor vulnerabilities without any signup.
If you cannot update the package immediately, consider uninstalling it as a temporary measure to protect your application.
Using the compromised version may expose your system to malicious activities, including data breaches and unauthorized access.
For more information on vulnerabilities, you can visit Vulert's website, which provides real-time monitoring and alerts for open-source vulnerabilities.