Malicious Code Detected in redis-request-parser: npm Package Vulnerability
Summary
MAL-2026-71: Malicious code in redis-request-parser (npm). Affects redis-request-parser versions 1.2.6. 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 redis-request-parser is an npm package designed to facilitate the parsing of Redis request data. It is commonly used in applications that interact with Redis databases, providing a streamlined way to handle requests. However, version 1.2.6 of this package has been identified as malicious, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the redis-request-parser package communicating with a domain associated with malicious activities. This behavior can lead to unauthorized data access, potential data breaches, and compromise of the integrity of applications using this package. The malicious nature of the package was identified by the OpenSSF Package Analysis project, which flagged version 1.2.6 as a security threat.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall redis-request-parser
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 redis-request-parser package from your project until a secure version is confirmed. You can do this by executing: npm uninstall redis-request-parser.
Conclusion
The redis-request-parser package version 1.2.6 has been flagged as malicious due to its communication with a harmful domain. It is crucial for developers to update or remove this package to safeguard their applications from potential security threats.
See every vulnerability recorded for redis-request-parser →
FAQ
The redis-request-parser is an npm package used for parsing Redis request data in applications that interact with Redis databases.
Version 1.2.6 communicates with a domain linked to malicious activities, posing security risks to applications that use it.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
If immediate updates are not feasible, consider removing the package as a temporary measure until a secure version is available.
Detailed information can be found in the OpenSSF Package Analysis report and on the GitHub repository for malicious packages.