Malicious Code Injection in united_stoat_0xrequest Package
Summary
MAL-2025-110141: Malicious code in united_stoat_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 united_stoat_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the distribution of token rewards but has been compromised to include malicious scripts that manipulate package metadata. The vulnerability arises from its ability to generate and publish derivative packages with altered names and metadata, which can lead to reputation inflation and registry pollution.
Vulnerability Detail
The vulnerability in the united_stoat_0xrequest package stems from malicious code that modifies the package.json file to remove private flags, change version numbers, and generate random package names. This behavior is part of a broader scheme to inflate developer reputation scores for token rewards, ultimately leading to the pollution of the npm registry. The malicious payload can affect developers by compromising the integrity of their projects and potentially introducing security risks through unverified packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall united_stoat_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 compromised package by using the following command: npm uninstall united_stoat_0xrequest. Additionally, ensure that your package-lock.json file is monitored for any unauthorized changes.
Conclusion
The united_stoat_0xrequest package has been identified as containing malicious code that can compromise the integrity of projects using it. Developers are advised to remove the package and monitor their projects for any unauthorized changes. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities effectively.
See every vulnerability recorded for united_stoat_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to facilitate token distribution.
The vulnerability can lead to the introduction of malicious code, compromising the integrity of your project and potentially affecting its security.
You should uninstall the 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 your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.