Malicious Code Injection in melodic_hummingbird-tool: A Threat to npm Users
Summary
MAL-2025-105776: Malicious code in melodic_hummingbird-tool (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 melodic_hummingbird-tool is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate various functionalities within the npm ecosystem. However, it has been identified as a malicious entity that can compromise the integrity of the npm registry and the applications relying on it. The package is known for its ability to generate and publish derivative packages with randomized names, which can mislead developers and inflate reputation scores for token rewards.
Vulnerability Detail
The vulnerability in melodic_hummingbird-tool originates 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 behavior not only compromises the security of the npm ecosystem but also poses risks to developers who may unknowingly integrate these malicious packages into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall melodic_hummingbird-tool
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 melodic_hummingbird-tool package until a secure version is released. Additionally, consider using Vulert to monitor your project for vulnerabilities. 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 melodic_hummingbird-tool package poses a significant threat due to its malicious behavior, which can compromise the npm ecosystem. It is essential for developers to be vigilant, remove any affected packages, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for melodic_hummingbird-tool →
FAQ
melodic_hummingbird-tool is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability can lead to the integration of malicious code into your project, potentially compromising its security and integrity.
You should uninstall the melodic_hummingbird-tool package immediately and monitor your project for any signs of compromise.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to their latest secure versions.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.