Malicious Code Detected in generator-accelerate-node-microservice Package
Summary
MAL-2025-21267: Malicious code in generator-accelerate-node-microservice (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 generator-accelerate-node-microservice is an npm package designed to facilitate the rapid development of Node.js microservices. It provides developers with a scaffold to streamline the creation of microservice architectures. However, it has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the generator-accelerate-node-microservice package. This code can potentially compromise the security of applications that depend on this package, leading to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall generator-accelerate-node-microservice
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 using an alternative package that provides similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can analyze your package-lock.json file for real-time alerts on open-source vulnerabilities.
Conclusion
The discovery of malicious code in the generator-accelerate-node-microservice package highlights the importance of maintaining secure coding practices and regularly monitoring dependencies. Users are urged to uninstall the affected package and stay informed about updates and patches.
See every vulnerability recorded for generator-accelerate-node-microservice →
FAQ
It is an npm package designed to help developers quickly create Node.js microservices.
The specific nature of the malicious code has not been disclosed, but it poses security risks to applications using the package.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Currently, there is no patched version available. Users are advised to uninstall the package until a secure version is released.
Consider using an alternative package and monitor your application for vulnerabilities using tools like Vulert.