Malicious Code Injection in relieved_dragonfly_z3n Package
Summary
MAL-2025-96274: Malicious code in relieved_dragonfly_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 relieved_dragonfly_z3n 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 scripts that compromise its integrity.
Vulnerability Detail
The vulnerability originates from the package's design, which includes autopublish scripts that modify the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to a significant increase in malicious packages, affecting the overall trustworthiness of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall relieved_dragonfly_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, consider removing the relieved_dragonfly_z3n package from your project until a secure version is available. You can do this by running: npm uninstall relieved_dragonfly_z3n.
Conclusion
The relieved_dragonfly_z3n package has been identified as containing malicious code that poses a significant risk to users. It is crucial to update or remove this package to maintain the integrity of your project and the npm ecosystem.
See every vulnerability recorded for relieved_dragonfly_z3n →
FAQ
The vulnerability involves malicious code that modifies package.json and creates numerous derivative packages to inflate reputation scores.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application using the Vulert playground at Vulert Scanner.
The risks include the potential for your project to be associated with malicious packages, which can harm your reputation and lead to security breaches.
Check the npm registry for any updated versions of the relieved_dragonfly_z3n package that address this vulnerability.
Consider removing the package from your project as a temporary measure until a secure version is available.