Malicious Code Injection in deliberate_raven_z3n Package
Summary
MAL-2025-101295: Malicious code in deliberate_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 deliberate_raven_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate token rewards by publishing derivative packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata and flood the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability originates from the deliberate_raven_z3n package, which includes malicious scripts that alter the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to inflate developer reputation scores. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall deliberate_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 temporary workaround, you can avoid using the deliberate_raven_z3n package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate potential vulnerabilities.
Conclusion
The deliberate_raven_z3n package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package and regularly audit your dependencies to maintain the security of your project.
See every vulnerability recorded for deliberate_raven_z3n →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The malicious code modifies your package.json file and floods the npm registry with unwanted packages, potentially harming your project's integrity.
You can use Vulert, which monitors open-source vulnerabilities in your software using package-lock.json. Visit Vulert Scanner to check your application without any signup.
You should uninstall the deliberate_raven_z3n package immediately and audit your project for any other potentially affected packages.
No patches are available for the deliberate_raven_z3n package as it is recommended to remove it entirely from your project.