Malicious Code Injection in famous_firefly_z3n Package
Summary
MAL-2025-94430: Malicious code in famous_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 famous_firefly_z3n package is part of the npm ecosystem, which is widely used for JavaScript development. This package, like many others, is intended to facilitate various functionalities within applications. However, it has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. This vulnerability poses a significant risk to developers and users relying on this package.
Vulnerability Detail
The vulnerability originates from the package being associated with the tea.xyz token reward campaign, which has been flooding the npm registry with malicious packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior can pollute the npm registry and compromise the integrity of the software supply chain.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall famous_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 famous_firefly_z3n package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use tools like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The famous_firefly_z3n package has been identified as a malicious package that poses significant risks to developers and applications. It is crucial to remove this package and monitor your projects for vulnerabilities using tools like Vulert to ensure the integrity of your software.
See every vulnerability recorded for famous_firefly_z3n →
FAQ
The famous_firefly_z3n package is an npm package used in JavaScript development, but it has been identified as part of a malicious campaign.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your application by introducing malicious code.
You should uninstall the famous_firefly_z3n package immediately and check for any dependencies that may be affected.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time without needing to access the code.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.