Malicious Code Injection in random_coyote_0xrequest Package
Summary
MAL-2025-107706: Malicious code in random_coyote_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 random_coyote_0xrequest package is part of a broader ecosystem of npm packages that have been associated with the tea.xyz token reward campaign. This package, like others in this ecosystem, is designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, but this behavior poses significant risks to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the random_coyote_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, which leads to the continuous republishing of these variants. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to exploit npm's publishing mechanisms. The ramifications include pollution of the npm registry, potential security risks for developers using these packages, and a degradation of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall random_coyote_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 prevent the installation of the random_coyote_0xrequest package by using the following command: npm uninstall random_coyote_0xrequest. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The random_coyote_0xrequest package contains a significant vulnerability that can compromise the integrity of your project. It is essential to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in your dependencies.
See every vulnerability recorded for random_coyote_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to manipulate the npm registry.
The vulnerability can lead to unauthorized modifications of your package.json file and the potential introduction of malicious code into your project.
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 no patched version is available, it is recommended to remove the package from your project to mitigate risks.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest versions.