Malicious Code Detected in cluster-registry Package - Security Alert
Summary
MAL-2025-17204: Malicious code in cluster-registry (npm). Affected versions are not published. 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 cluster-registry package is an npm module designed to facilitate the management of cluster configurations in Node.js applications. It allows developers to register and manage clusters effectively, enhancing application performance and scalability. However, this package has been compromised, leading to the introduction of malicious code that poses significant security risks to users.
Vulnerability Detail
The vulnerability in the cluster-registry package stems from the inclusion of malicious code that can potentially compromise the integrity of applications utilizing this package. This issue was identified in all versions starting from 0, indicating that any application relying on this package is at risk. The ramifications of this vulnerability include unauthorized access to sensitive data, potential data breaches, and exploitation of the affected systems by malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cluster-registry
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 measure, consider removing the cluster-registry package from your project until a secure version is available. You can do this by executing the command: npm uninstall cluster-registry. This will help mitigate the risk while you seek alternative solutions.
Conclusion
The discovery of malicious code in the cluster-registry package poses a serious threat to applications that utilize it. It is essential for developers to take immediate action by updating or removing the package to safeguard their applications from potential exploitation.
See every vulnerability recorded for cluster-registry →
FAQ
The cluster-registry package is an npm module that helps manage cluster configurations in Node.js applications.
The vulnerability involves the presence of malicious code that can compromise application security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
As a workaround, consider uninstalling the cluster-registry package until a secure version is released.
Detailed information about this vulnerability can be found in the official GitHub repository for the cluster-registry package.