Critical Malicious Code Vulnerability in ui-router-cool-plugin
Summary
MAL-2025-5964: Malicious code in ui-router-cool-plugin (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 ui-router-cool-plugin is an npm package designed to enhance the functionality of AngularJS applications by providing additional routing capabilities. It is often used in web development to manage state transitions and views in single-page applications. However, this package has been identified to contain malicious code that compromises the security of systems using it.
Vulnerability Detail
The vulnerability originates from the inclusion of embedded malicious code within the ui-router-cool-plugin package. This code can lead to full system compromise, allowing unauthorized access to sensitive information such as secrets and keys stored on the affected machine. The malicious nature of the code poses significant risks, as it may facilitate further exploitation or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ui-router-cool-plugin
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 workaround, you can temporarily disable the functionality provided by the ui-router-cool-plugin while you assess the impact of the vulnerability. This can be done by commenting out the import statement in your JavaScript files and removing any references to the plugin in your routing configuration.
Conclusion
The ui-router-cool-plugin has been identified as containing malicious code that poses a significant security risk. Immediate action is required to remove the package and secure any compromised systems. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for ui-router-cool-plugin →
FAQ
The ui-router-cool-plugin is an npm package that enhances routing capabilities in AngularJS applications, allowing for better state management and view transitions.
The malicious code can compromise your system, allowing unauthorized access to sensitive data and potentially leading to further exploitation.
You should immediately remove the ui-router-cool-plugin package and rotate any secrets or keys stored on the affected system.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.
Regularly audit your dependencies, keep them updated, and use tools like Vulert to monitor for vulnerabilities in real-time.