Malicious Code Vulnerability in node-request-utils: A Threat to npm Users
Summary
MAL-2026-15632: Malicious code in node-request-utils (npm). Affects node-request-utils versions 1.0.0. 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
node-request-utils is a utility package in the npm ecosystem designed to simplify HTTP request handling in Node.js applications. It is commonly used for its convenience in managing requests and responses. However, this package has been found to contain malicious code that poses significant security risks to users, particularly on Windows platforms.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded in the package's post-install script. When users install node-request-utils, the script downloads a harmful JavaScript file from an external URL, disables TLS verification, and executes it on the user's machine. This malicious code installs various persistence mechanisms to maintain control over the system, including registry modifications and scheduled tasks. It also employs techniques to evade detection in sandbox environments, making it particularly dangerous.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall node-request-utils
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, users can avoid using node-request-utils until a secure version is released. Additionally, consider implementing security measures such as running applications in isolated environments or using tools like Vulert to monitor for vulnerabilities.
Conclusion
The discovery of malicious code in node-request-utils highlights the importance of vigilance when using open-source packages. Users are urged to take immediate action to protect their systems by uninstalling the affected package and monitoring for updates or alternatives.
See every vulnerability recorded for node-request-utils →
FAQ
node-request-utils is an npm package that simplifies HTTP request handling in Node.js applications.
The malicious code can install persistent backdoors, allowing attackers to maintain control over your system and potentially steal sensitive information.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
Immediately uninstall node-request-utils and check for a secure version or alternative packages to replace it.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, and ensure to review package integrity before installation.