Malicious Code Injection in teagood-manaki94: A Threat to npm Users
Summary
MAL-2025-167164: Malicious code in teagood-manaki94 (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
teagood-manaki94 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. The package's functionality is compromised by malicious scripts that manipulate its metadata and behavior.
Vulnerability Detail
The vulnerability in teagood-manaki94 originates from its inclusion in a campaign that floods the npm registry with malicious packages. These packages contain scripts that modify the package.json file, removing private flags and changing version numbers. The scripts generate random package names, often themed around Indonesian culture, and continuously republish these variants, polluting the npm registry. This can lead to reputational damage for developers and potential security risks for users who inadvertently install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki94
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, avoid using the teagood-manaki94 package and monitor your dependencies for any unauthorized changes. You can also use tools like Vulert to monitor your project for vulnerabilities. To check if your application is affected by this vulnerability, you can use the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The teagood-manaki94 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with harmful variants. Users are advised to uninstall the package immediately and monitor their projects for vulnerabilities. Utilizing tools like Vulert can enhance security by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for teagood-manaki94 →
FAQ
The primary risk is the injection of malicious code that modifies package metadata and floods the npm registry with harmful variants, potentially compromising security.
You can check your package.json and package-lock.json files for the presence of teagood-manaki94. Additionally, using tools like Vulert can help identify vulnerabilities in your dependencies.
If you have installed teagood-manaki94, you should immediately uninstall it using 'npm uninstall teagood-manaki94' and monitor your project for any unauthorized changes.
Yes, tools like Vulert can monitor your project for open-source vulnerabilities in real-time, alerting you to any issues without requiring code access.
It is advisable to exercise caution with other packages from the tea.xyz campaign, as they may also contain similar vulnerabilities. Always verify the source and integrity of packages before use.