Malicious Code Detected in redirect-5k9q5v Package - npm Vulnerability Alert
Summary
MAL-2025-191583: Malicious code in redirect-5k9q5v (npm). Affects redirect-5k9q5v versions 1.0.1. 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 redirect-5k9q5v package is a Node.js library available through npm, primarily used for managing URL redirection in web applications. It is designed to facilitate seamless navigation by redirecting users from one URL to another. However, this package has been identified as containing malicious code, which poses significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the redirect-5k9q5v package stems from the inclusion of malicious code that can compromise the integrity of applications using this library. This code can potentially lead to unauthorized access, data breaches, or the execution of harmful scripts within the application environment. The malicious nature of this code was identified by ReversingLabs, highlighting the importance of vigilance when using third-party packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall redirect-5k9q5v
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 redirect-5k9q5v package from your project until a secure version is released. You can do this by executing:
npm uninstall redirect-5k9q5v
This will prevent any potential exploitation of the vulnerability while you seek alternatives or wait for a fix.
Conclusion
The redirect-5k9q5v package has been flagged for containing malicious code, posing serious security risks to applications. It is crucial to update or remove this package to safeguard your application. Utilizing tools like Vulert can help monitor and identify vulnerabilities in your software effectively.
See every vulnerability recorded for redirect-5k9q5v →
FAQ
The redirect-5k9q5v package is used for managing URL redirection in web applications, allowing developers to redirect users from one URL to another seamlessly.
The malicious code was identified by ReversingLabs, a cybersecurity firm that specializes in analyzing and detecting vulnerabilities in software packages.
Using the redirect-5k9q5v package with malicious code can lead to unauthorized access, data breaches, and the execution of harmful scripts, compromising the security of your application.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software. By analyzing your package-lock.json file, Vulert can provide real-time alerts about vulnerabilities, including this one.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.