Malicious Code Injection in upper_elk_0xrequest Package
Summary
MAL-2025-110205: Malicious code in upper_elk_0xrequest (npm). Affected versions are not published. 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 upper_elk_0xrequest package is part of the npm ecosystem, primarily used for web development and JavaScript applications. It is designed to facilitate HTTP requests and enhance the functionality of web applications. However, this package has been identified as part of a malicious campaign that floods the npm registry with derivative packages, impacting developers and users alike.
Vulnerability Detail
The vulnerability in the upper_elk_0xrequest package stems from its association with the tea.xyz token reward campaign, which employs malicious scripts to manipulate package metadata. This includes removing private flags from package.json, altering version numbers, and generating random package names. The continuous republishing of these variants leads to pollution of the npm registry, potentially compromising the integrity of applications that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall upper_elk_0xrequest
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, you can avoid using the upper_elk_0xrequest package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The upper_elk_0xrequest package has been identified as a vector for malicious code injection, posing significant risks to applications that utilize it. Immediate action is required to remove the package and safeguard your projects. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.
See every vulnerability recorded for upper_elk_0xrequest →
FAQ
It is an npm package used for making HTTP requests in JavaScript applications, but it has been compromised with malicious code.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially compromising your application's integrity and security.
You should uninstall the upper_elk_0xrequest package immediately and check for any unauthorized changes in your project.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.