Malicious Code Detected in cloud-runtime Package - Security Alert
Summary
MAL-2025-17168: Malicious code in cloud-runtime (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 cloud-runtime package is an npm library designed to facilitate cloud-based runtime environments for applications. It provides essential functionalities for developers to deploy and manage applications in the cloud efficiently. However, recent findings have revealed that this package contains malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the cloud-runtime package stems from the inclusion of malicious code that can compromise the integrity and security of applications utilizing this library. This malicious code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The issue was introduced in version 0 and has been flagged as a critical security concern by security researchers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cloud-runtime
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 cloud-runtime package from their project until a secure version is released. This can be done by executing the command: npm uninstall cloud-runtime. Additionally, consider using alternative packages that provide similar functionalities without the associated risks.
Conclusion
The discovery of malicious code in the cloud-runtime package poses a serious threat to users and their applications. Immediate action is required to mitigate risks by updating or removing the package. Staying informed about vulnerabilities and utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for cloud-runtime →
FAQ
The malicious code can potentially allow unauthorized access to systems and data, leading to security breaches.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If an immediate update is not possible, consider removing the package from your project as a temporary measure until a secure version is available.
While specific exploits have not been detailed, the presence of malicious code indicates a high risk of exploitation that could lead to severe consequences.
Detailed information about the vulnerability can be found in the GitHub repository of the malicious packages, specifically at https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cloud-runtime/MAL-2025-17168.json.