Malicious Code Injection in magic_wildcat_0xrequest Package
Summary
MAL-2025-105449: Malicious code in magic_wildcat_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 magic_wildcat_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards but has been compromised to include malicious scripts that manipulate its functionality. The package is intended for developers looking to integrate token rewards into their applications, but its integrity has been severely compromised due to the vulnerability.
Vulnerability Detail
The vulnerability in the magic_wildcat_0xrequest package stems from its inclusion in a malicious campaign that floods the npm registry with compromised packages. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. This not only affects the integrity of the package but also poses a risk to developers who may unknowingly use these compromised packages in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall magic_wildcat_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 avoid using the magic_wildcat_0xrequest package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any changes that may indicate the presence of malicious packages.
Conclusion
The magic_wildcat_0xrequest package has been compromised, posing significant risks to developers who may unknowingly use it. It is essential to remove this package from your projects and monitor for any updates or patches. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for magic_wildcat_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to facilitate token rewards for developers.
The vulnerability can lead to the injection of malicious code, compromising the integrity of your application and potentially exposing it to security risks.
You can use Vulert to monitor your package-lock.json file for vulnerabilities. Visit Vulert Scanner to check your application without any signup.
Remove the magic_wildcat_0xrequest package from your project immediately and look for alternative packages.
Currently, there is no patched version available. It is recommended to avoid using the package until a secure version is released.