Malicious Code Vulnerability in wiz-redirects Package
Summary
MAL-2026-1877: Malicious code in wiz-redirects (npm). Affects wiz-redirects versions 99.999.99. 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 wiz-redirects package is a tool used in Node.js applications to manage URL redirections efficiently. It allows developers to define and handle redirects seamlessly within their applications. However, this package has been identified to contain malicious code, posing significant risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the wiz-redirects package stems from the inclusion of malicious code that can compromise the security of applications using this package. This code can lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious nature of this vulnerability was identified by ReversingLabs, which reported the issue based on their analysis of the package's code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wiz-redirects
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 measure, you can remove the wiz-redirects package from your project until a secure version is released. This can be done by executing the command: npm uninstall wiz-redirects. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The wiz-redirects package has been identified to contain malicious code, posing serious security risks to applications. It is crucial to update the package to a secure version or remove it entirely until a fix is available. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.
See every vulnerability recorded for wiz-redirects →
FAQ
Wiz-redirects is a Node.js package designed to manage URL redirections in web applications.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
The risks include unauthorized access to sensitive data, potential data breaches, and exploitation of the application by malicious actors.
Yes, it is recommended to update the wiz-redirects package to the latest secure version to mitigate the risks.
If immediate updates are not possible, consider removing the package or using alternative solutions until a secure version is available.