Malicious Code Injection in miserable_eagle_0xrequest Package
Summary
MAL-2025-105878: Malicious code in miserable_eagle_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 miserable_eagle_0xrequest package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. The package is primarily used in JavaScript environments and is intended for developers looking to leverage npm for package management.
Vulnerability Detail
The vulnerability in the miserable_eagle_0xrequest package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to exploit npm's publishing system for malicious purposes. The ramifications include potential security risks for developers who unknowingly use this package, as it can lead to reputation damage and the proliferation of unwanted packages in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall miserable_eagle_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
Currently, there are no specific workarounds to mitigate the effects of this vulnerability other than removing the affected package from your project.
Conclusion
The miserable_eagle_0xrequest package presents a significant security risk due to its malicious code that alters package metadata and publishes unwanted variants. Developers are advised to remove this package from their projects and utilize tools like Vulert for ongoing monitoring of vulnerabilities in their dependencies.
See every vulnerability recorded for miserable_eagle_0xrequest →
FAQ
It is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated package publishing.
You can check your package-lock.json file for the presence of the miserable_eagle_0xrequest package. Additionally, you can use Vulert to monitor and alert for vulnerabilities in real-time.
Using this package can lead to security vulnerabilities, reputation damage, and the proliferation of unwanted packages in the npm registry.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in your open-source packages.
Remove the package immediately and check your project for any unintended consequences caused by its use.