Malicious Code Injection in Rising Crab Z3N Package
Summary
MAL-2025-96380: Malicious code in rising_crab_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 'rising_crab_z3n' package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate the automatic generation and publication of derivative packages, often with randomized names. This package has been identified as part of a broader trend of malicious packages that aim to inflate developer reputation scores for token rewards, leading to potential misuse of the npm registry.
Vulnerability Detail
The vulnerability in the 'rising_crab_z3n' package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only pollutes the npm registry but also compromises the integrity of the development environment by allowing unauthorized access to private package information. The origin of this vulnerability is linked to the package's association with the tea.xyz token reward campaign, which has been flagged for distributing harmful scripts.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rising_crab_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 prevent the execution of the malicious scripts by restricting access to the npm registry or using a private registry for your packages. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The 'rising_crab_z3n' package poses a significant risk due to its malicious code that alters package configurations and pollutes the npm registry. It is crucial to take immediate action by uninstalling the package and monitoring your project for any vulnerabilities. Utilizing tools like Vulert can enhance your security posture by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for rising_crab_z3n →
FAQ
The 'rising_crab_z3n' package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
This vulnerability can lead to unauthorized modifications in your project, potentially exposing sensitive information and polluting the npm registry.
You should uninstall the 'rising_crab_z3n' package immediately and check for any dependencies that may be affected.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Yes, tools like Vulert can help identify and alert you to malicious packages in your project, ensuring that your dependencies are secure.