Malicious Code Injection in stupid_mule_0xrequest Package
Summary
MAL-2025-109221: Malicious code in stupid_mule_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 stupid_mule_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript development. This package is associated with the tea.xyz token reward campaign, which has been linked to malicious activities aimed at inflating developer reputation scores. The package's functionality is compromised by the presence of harmful scripts that manipulate its metadata and behavior.
Vulnerability Detail
The vulnerability originates from the package's involvement in the tea.xyz token reward scheme, which has led to the inclusion of malicious code. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, resulting in the continuous republishing of variants that pollute the npm registry. The ramifications include potential security risks for developers who unknowingly use this package, as it can lead to unauthorized access or manipulation of their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall stupid_mule_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 measure, avoid using the stupid_mule_0xrequest package and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The stupid_mule_0xrequest package poses a significant risk due to its malicious code that alters project metadata and can lead to security vulnerabilities. It is essential to remove this package and monitor your dependencies to maintain the integrity of your projects.
See every vulnerability recorded for stupid_mule_0xrequest →
FAQ
It is an npm package that has been linked to malicious activities aimed at inflating developer reputation scores through the tea.xyz token reward campaign.
The vulnerability can lead to unauthorized modifications of your project's metadata and potentially expose your project to security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Uninstall the package immediately and look for alternative packages that do not have known vulnerabilities.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to their latest versions.