Malicious Code Injection in jealous_firefly_z3n Package
Summary
MAL-2025-104535: Malicious code in jealous_firefly_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 jealous_firefly_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts. The malicious nature of this package poses significant risks to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in the jealous_firefly_z3n package originates from its involvement in a token reward campaign that utilizes autopublish scripts. These scripts modify the package.json file to remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also compromises the integrity of the packages, potentially allowing for further exploitation and malicious activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall jealous_firefly_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 jealous_firefly_z3n package and replace it with a trusted alternative. Additionally, monitor your package-lock.json file for any changes that may indicate the presence of malicious packages.
Conclusion
The jealous_firefly_z3n package poses a significant risk due to its malicious code injection and automated publishing behavior. It is crucial for developers to remove this package and monitor their applications for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for jealous_firefly_z3n →
FAQ
jealous_firefly_z3n is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores through automated publishing.
The vulnerability can lead to the pollution of the npm registry, compromising the integrity of your application's dependencies and potentially introducing malicious code.
You should uninstall the jealous_firefly_z3n package immediately and check for any dependencies that may rely on it.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.