Malicious Code Injection in unfair_wallaby_0xrequest Package
Summary
MAL-2025-110103: Malicious code in unfair_wallaby_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 unfair_wallaby_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 automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. 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 stems from the malicious payload embedded within the unfair_wallaby_0xrequest 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 significant risks to developers and users by potentially introducing harmful code into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall unfair_wallaby_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 unfair_wallaby_0xrequest package and look for alternative packages that provide similar functionality without the associated risks. Additionally, ensure that your project dependencies are regularly audited for vulnerabilities using tools like npm audit.
Conclusion
The unfair_wallaby_0xrequest package poses a significant security risk due to its embedded malicious code. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities to maintain the integrity and security of their applications.
See every vulnerability recorded for unfair_wallaby_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The malicious code can modify your package.json file, potentially leading to the introduction of harmful code and pollution of the npm registry.
You should uninstall the package immediately using 'npm uninstall unfair_wallaby_0xrequest' and check for any other affected packages.
Yes, tools like Vulert can monitor your package-lock.json file to alert you in real-time for open-source vulnerabilities.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.