Malicious Code Injection in rapid_dragonfly_dumbs: A Threat to npm Packages
Summary
MAL-2025-107710: Malicious code in rapid_dragonfly_dumbs (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 package 'rapid_dragonfly_dumbs' is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only compromises the integrity of the npm registry but also poses significant risks to developers who may unknowingly integrate these malicious packages into their projects.
Vulnerability Detail
The vulnerability in 'rapid_dragonfly_dumbs' originates from its malicious intent to modify the package.json file by removing private flags and altering version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes variants to pollute the npm registry. This can lead to developers inadvertently using compromised packages, which may contain harmful code that can affect their applications and systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rapid_dragonfly_dumbs
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 measure, avoid using the 'rapid_dragonfly_dumbs' package and consider using alternative packages that provide similar functionality without the associated risks. Regularly audit your package-lock.json file to identify and remove any potentially harmful packages.
Conclusion
The 'rapid_dragonfly_dumbs' package poses a significant threat due to its malicious behavior aimed at manipulating the npm registry. Developers should take immediate action to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for rapid_dragonfly_dumbs →
FAQ
'rapid_dragonfly_dumbs' is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the integration of malicious code into your project, potentially compromising its security and functionality.
You should uninstall 'rapid_dragonfly_dumbs' immediately using 'npm uninstall rapid_dragonfly_dumbs' and check for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can also check your application against known vulnerabilities using the Vulert playground.
Yes, consider using other reputable npm packages that provide similar functionality without the associated risks. Always review package documentation and community feedback.