Malicious Code Injection in thundering_firefly_z3n Package
Summary
MAL-2025-97009: Malicious code in thundering_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 thundering_firefly_z3n package is part of the npm ecosystem, often used in JavaScript projects. It appears to be associated with the tea.xyz token reward campaign, which has been linked to a series of malicious packages flooding the npm registry. These packages are designed to manipulate developer reputation scores by automatically generating and publishing numerous derivative packages.
Vulnerability Detail
The vulnerability in the thundering_firefly_z3n package stems from its inclusion in a malicious campaign that utilizes autopublish scripts to modify package.json files. This includes removing private flags, altering version numbers, and generating random package names. The continuous republishing of these variants leads to pollution of the npm registry, potentially compromising the integrity of projects that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall thundering_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 thundering_firefly_z3n package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.
Conclusion
The thundering_firefly_z3n package presents a significant vulnerability due to its involvement in a malicious campaign. It is crucial for developers to remove this package and monitor their dependencies for any potential threats. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for thundering_firefly_z3n →
FAQ
It is an npm package that has been linked to a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project's dependencies.
You should remove the thundering_firefly_z3n package from your project and monitor for any updates or patches.
Yes, Vulert allows you to monitor and alert for open-source vulnerabilities in your software without requiring code access. You can use the Vulert playground to check if your application is affected.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about known vulnerabilities in the packages you use.