Malicious Code Injection in fancy_firefly_0xrequest Package
Summary
MAL-2025-102561: Malicious code in fancy_firefly_0xrequest (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 fancy_firefly_0xrequest package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to inflate developer reputation scores through automated scripts that publish numerous variants of itself, often with randomized names.
Vulnerability Detail
The vulnerability originates from the package being part of a larger malicious campaign associated with the tea.xyz token reward system. It contains scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to pollution of the npm registry and can compromise the integrity of applications relying on this package, potentially allowing for further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fancy_firefly_0xrequest
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 prevent the use of this package by removing it from your package.json file and ensuring that your application does not reference it. Additionally, you can use npm audit to identify and address vulnerabilities in your project.
Conclusion
The fancy_firefly_0xrequest package is associated with a significant vulnerability that can affect the integrity of applications using it. Immediate action is required to remove this package and prevent potential exploitation. Regular monitoring and updates are essential to maintain the security of your software.
See every vulnerability recorded for fancy_firefly_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your application if it relies on this malicious package.
You should uninstall the package immediately using 'npm uninstall fancy_firefly_0xrequest' and check for any dependencies that may rely on it.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.