Malicious Code Injection in Valuable Damselfly 0xrequest Package
Summary
MAL-2025-110328: Malicious code in valuable_damselfly_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 'valuable_damselfly_0xrequest' package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards through the generation and publication of derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of applications using it.
Vulnerability Detail
The vulnerability stems from the package's inclusion in a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk to developers by inflating reputation scores fraudulently. The origin of this vulnerability is linked to the tea protocol token rewards, which incentivize such malicious activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall valuable_damselfly_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 workaround, you can temporarily avoid using the 'valuable_damselfly_0xrequest' package in your project. Ensure that you check your package-lock.json file for any references to this package and remove them. You can use the following command to uninstall the package: npm uninstall valuable_damselfly_0xrequest.
Conclusion
The 'valuable_damselfly_0xrequest' package has been identified as containing malicious code that poses significant risks to developers and applications. It is crucial to remove this package from your project to maintain security and integrity. Regular monitoring for vulnerabilities is recommended.
See every vulnerability recorded for valuable_damselfly_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise the security and integrity of your application.
You should uninstall the 'valuable_damselfly_0xrequest' package immediately to mitigate any risks.
Currently, there is no patched version available. The best course of action is to remove the package entirely.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner.