Malicious Code Injection in expected_leech-gooddev Package
Summary
MAL-2025-102364: Malicious code in expected_leech-gooddev (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 expected_leech-gooddev package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious activities aimed at inflating developer reputation scores. The package's primary functionality is to facilitate the distribution of code, but it has been compromised to include harmful scripts that manipulate its own metadata and behavior.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the expected_leech-gooddev package. This code is designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants, polluting the npm registry and potentially leading to security risks for developers who unknowingly install these compromised packages. The ramifications include loss of control over package integrity and possible exploitation of systems using these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall expected_leech-gooddev
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 remove the expected_leech-gooddev package from your project by executing 'npm uninstall expected_leech-gooddev'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The expected_leech-gooddev package has been identified as containing malicious code that compromises its integrity and the security of projects that utilize it. It is crucial to take immediate action by updating or removing the package to safeguard your application from potential threats.
See every vulnerability recorded for expected_leech-gooddev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, which has been compromised to include malicious code.
The malicious code modifies your package.json file and can lead to the installation of compromised packages, affecting your project's integrity.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in your packages.
Remove the package from your project as a temporary measure until a secure version is available.