Critical Malicious Code Vulnerability in redux-router-kit Package
Summary
MAL-2025-190780: Malicious code in redux-router-kit (npm). Affects redux-router-kit versions 1.2.2 – 1.2.4. 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 redux-router-kit package is a utility designed for integrating routing capabilities into Redux applications, providing developers with tools to manage navigation and state seamlessly. It is commonly used in JavaScript applications to enhance user experience by enabling dynamic routing. However, this package has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability stems from the presence of malicious code embedded within the redux-router-kit package. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious code can persist even after the package is removed, posing a severe risk to the integrity and security of the affected systems. The vulnerability is classified under CWE-506, which indicates that the product contains code that appears to be malicious in nature.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall redux-router-kit
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, ensure that any application using redux-router-kit is not running while you remove the package. You can uninstall it using the command: npm uninstall redux-router-kit. Additionally, monitor your system for any unusual activity that may indicate further compromise.
Conclusion
The redux-router-kit package has been compromised with malicious code, posing a significant security threat to any systems using it. Immediate action is required to remove the package and secure sensitive information. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for redux-router-kit →
FAQ
redux-router-kit is a package that integrates routing capabilities into Redux applications, allowing for better state management and navigation.
The malicious code can compromise your system, allowing unauthorized access to sensitive information and potentially leading to further security breaches.
Immediately uninstall the redux-router-kit package and rotate any secrets or keys stored on the affected system.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Vulert is a tool that monitors open-source vulnerabilities in your software using just the package-lock.json file, providing real-time alerts for any issues.