Malicious Code Injection in melodic_galliform-teagooddev Package
Summary
MAL-2025-105774: Malicious code in melodic_galliform-teagooddev (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_galliform-teagooddev package is part of the npm ecosystem, typically used for various development purposes. However, it has been identified as part of a malicious campaign that aims to exploit npm's package publishing system. This package is linked to the tea.xyz token reward initiative, which has been associated with the creation of numerous derivative packages to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in the melodic_galliform-teagooddev package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The primary risk is the pollution of the npm registry, which can mislead developers and compromise the integrity of the ecosystem. The malicious payload is designed to automate the creation and publication of these packages, making it difficult for users to identify legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall melodic_galliform-teagooddev
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_galliform-teagooddev package and any other packages associated with the tea.xyz token reward campaign. Monitor your package-lock.json file for any unauthorized changes or additions.
Conclusion
The melodic_galliform-teagooddev package poses a significant risk due to its malicious code that alters package configurations and floods the npm registry with unwanted packages. It is crucial for developers to remove this package and monitor their dependencies for any vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for melodic_galliform-teagooddev →
FAQ
It is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The malicious code modifies your package.json, potentially leading to the installation of unwanted or harmful packages.
You should uninstall the melodic_galliform-teagooddev package immediately and review your other dependencies for security.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without signing up.