Malicious Code Injection in zeroth_fox_requirement Package
Summary
MAL-2025-97531: Malicious code in zeroth_fox_requirement (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 zeroth_fox_requirement 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 by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the zeroth_fox_requirement package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers by inflating reputation scores fraudulently. The malicious code can potentially allow unauthorized access or manipulation of dependent applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall zeroth_fox_requirement
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 zeroth_fox_requirement package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.
Conclusion
The zeroth_fox_requirement package has been identified as containing malicious code that poses significant risks to applications using it. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for zeroth_fox_requirement →
FAQ
The zeroth_fox_requirement package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, removes private flags, and can lead to unauthorized republishing of packages, which may compromise your application's security.
If you have installed the zeroth_fox_requirement package, you should uninstall it immediately using 'npm uninstall zeroth_fox_requirement' and look for alternative solutions.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time about any open-source vulnerabilities in your software.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.