Malicious Code Injection in rare_wallaby_z3n Package - npm Vulnerability
Summary
MAL-2025-107718: Malicious code in rare_wallaby_z3n (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 rare_wallaby_z3n package is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate npm's ecosystem by generating and publishing derivative packages with randomized names, thereby inflating developer reputation scores for token rewards. The package's functionality is compromised due to its malicious intent, which poses a risk to developers and users relying on its integrity.
Vulnerability Detail
The vulnerability originates from the package's design to include 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. The ramifications include potential security risks for developers who unknowingly use these packages, as well as the degradation of the npm ecosystem's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rare_wallaby_z3n
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 rare_wallaby_z3n package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using npm audit to identify and address vulnerabilities in your project.
Conclusion
The rare_wallaby_z3n package poses a significant risk due to its malicious code that alters package metadata and affects the npm ecosystem. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for rare_wallaby_z3n →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, known for containing malicious code that affects the npm ecosystem.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and the pollution of the npm registry.
You should remove the rare_wallaby_z3n package from your project and check for any alternative packages that can fulfill your needs.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.