Malicious Code Injection in dynamic_mosquito_dumbs: A Threat to npm Packages
Summary
MAL-2025-101837: Malicious code in dynamic_mosquito_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 'dynamic_mosquito_dumbs' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by generating and publishing derivative packages with randomized names. The primary functionality of these packages is to inflate developer reputation scores in exchange for token rewards, which poses a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'dynamic_mosquito_dumbs' originates from its malicious code that modifies the package.json file to remove private flags and alter version numbers. This code also generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. The ramifications of this vulnerability include potential misuse of developer accounts, loss of control over published packages, and degradation of the npm registry's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dynamic_mosquito_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, you can avoid using the 'dynamic_mosquito_dumbs' package and monitor your dependencies for any malicious activity. Additionally, consider using tools like Vulert to keep track of vulnerabilities in your project. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'dynamic_mosquito_dumbs' package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry with harmful variants. It is essential to remove this package from your project and utilize monitoring tools to safeguard against similar vulnerabilities in the future.
See every vulnerability recorded for dynamic_mosquito_dumbs →
FAQ
'dynamic_mosquito_dumbs' is an npm package linked to a token reward campaign that manipulates the npm registry.
The vulnerability can lead to unauthorized modifications of your package.json file and the proliferation of malicious packages in the npm registry.
You should uninstall the package immediately and monitor your project for any unusual activity.
Regularly audit your dependencies and use tools like Vulert to monitor for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.