Malicious Code Injection in selective_zebra_0xrequest Package
Summary
MAL-2025-108517: Malicious code in selective_zebra_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 selective_zebra_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate certain functionalities within the npm registry but has been compromised. It is known for generating and publishing derivative packages with randomized names, which can inflate developer reputation scores for token rewards. The vulnerability arises from its malicious payload that alters package metadata.
Vulnerability Detail
The vulnerability in the selective_zebra_0xrequest package is characterized by the presence of 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. Originating from a campaign aimed at exploiting npm for token rewards, this vulnerability poses significant risks, including the potential for reputation damage to developers and the degradation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall selective_zebra_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 remove the selective_zebra_0xrequest package from your project until a fixed version is released. Use the following command to uninstall the package: npm uninstall selective_zebra_0xrequest.
Conclusion
The selective_zebra_0xrequest package has been identified as containing malicious code that can compromise the integrity of projects using it. It is essential to take immediate action by updating or removing the package to protect your project from potential risks.
See every vulnerability recorded for selective_zebra_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the modification of your package.json file, potentially compromising your project's integrity and reputation.
Check the npm registry for updates to the selective_zebra_0xrequest package. If a patched version is available, update your package accordingly.
As a workaround, consider uninstalling the package until a secure version is released.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can also check your application against known vulnerabilities using the Vulert playground without needing to sign up.