Malicious Code Injection in creative_raven_z3n Package
Summary
MAL-2025-101059: Malicious code in creative_raven_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 creative_raven_z3n 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 by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability originates from the creative_raven_z3n package, which includes scripts that automatically modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior leads to the pollution of the npm registry and can inflate developer reputation scores fraudulently. The malicious payload can potentially expose users to further security risks and undermine the trustworthiness of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall creative_raven_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 workaround, you can monitor your package dependencies using tools like Vulert. Vulert allows you to check for vulnerabilities in your application without requiring code access or installation. You can use the Vulert playground at https://vulert.com/scanner to see if your application is affected by this vulnerability.
Conclusion
The creative_raven_z3n package has been identified as containing malicious code that poses a significant risk to users and the npm ecosystem. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities to maintain the security of your projects.
See every vulnerability recorded for creative_raven_z3n →
FAQ
The creative_raven_z3n package 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 pollution of the npm registry and may expose your project to security risks due to the malicious code embedded in the package.
You should uninstall the creative_raven_z3n package immediately using the command: npm uninstall creative_raven_z3n.
Currently, there is no patched version available for the creative_raven_z3n package.
You can use Vulert to monitor your project for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected.