Malicious Code Injection in grieving_flea_dumbs Package: npm Vulnerability
Summary
MAL-2025-103377: Malicious code in grieving_flea_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 grieving_flea_dumbs package is part of a series of malicious packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, making the package a significant threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the grieving_flea_dumbs package stems from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This not only compromises the security of applications relying on this package but also affects the overall health of the npm ecosystem by cluttering it with potentially harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall grieving_flea_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 workaround, you can avoid using the grieving_flea_dumbs package and look for alternative packages that provide similar functionality without the associated risks. Additionally, ensure that your package.json file does not include this package.
Conclusion
The grieving_flea_dumbs package poses a significant risk due to its malicious behavior of modifying package files and republishing harmful variants. It is crucial for developers to remove this package and monitor their dependencies to maintain the security of their applications.
See every vulnerability recorded for grieving_flea_dumbs →
FAQ
It is a malicious npm package that is part of a campaign to inflate developer reputation scores through automated publishing of derivative packages.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
You should uninstall the grieving_flea_dumbs package immediately and look for alternatives to mitigate any potential risks.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in your open-source packages.