Malicious Code Detected in cb-serverless-plugins: A Critical Security Alert
Summary
MAL-2025-16675: Malicious code in cb-serverless-plugins (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 cb-serverless-plugins package is designed to enhance serverless application development by providing various plugins that streamline deployment and management tasks. However, it has been identified as containing malicious code, which poses a significant risk to users relying on its functionality for secure and efficient serverless operations.
Vulnerability Detail
The vulnerability in cb-serverless-plugins stems from the inclusion of malicious code within the package. This code can potentially compromise the security of applications utilizing the package, leading to unauthorized access, data breaches, or other malicious activities. The issue was first reported on August 14, 2025, and affects all versions starting from 0.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cb-serverless-plugins
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, consider removing the cb-serverless-plugins package from your project until a secure version is released. You can do this by running the command: npm uninstall cb-serverless-plugins.
Conclusion
The cb-serverless-plugins package has been identified as containing malicious code, posing a significant security risk. Users are advised to update or remove the package to protect their applications. Utilizing tools like Vulert can help in monitoring vulnerabilities effectively.
See every vulnerability recorded for cb-serverless-plugins →
FAQ
cb-serverless-plugins is a package that provides plugins for serverless application development, aimed at simplifying deployment and management tasks.
The specific nature of the malicious code has not been disclosed, but it poses a risk of unauthorized access and potential data breaches.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If immediate updates are not possible, consider removing the package as a temporary measure to mitigate risks until a secure version is available.
Regularly check the official repositories of your dependencies and consider using tools like Vulert to receive real-time alerts for open-source vulnerabilities.