Malicious Code Vulnerability in teagood-manaki20 Package
Summary
MAL-2025-167084: Malicious code in teagood-manaki20 (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 teagood-manaki20 package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with various packages. These packages are designed to automatically generate and publish derivative versions with randomized names, aimed at inflating developer reputation scores for rewards associated with the tea protocol. The malicious nature of this package lies in its ability to alter its own metadata and continuously republish itself, contributing to the pollution of the npm registry.
Vulnerability Detail
The vulnerability in the teagood-manaki20 package originates from its inclusion in a campaign that deploys autopublish scripts. These scripts modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly install these malicious packages, leading to potential exploitation of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki20
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 teagood-manaki20 package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your project's dependencies to ensure no malicious packages are included.
Conclusion
The teagood-manaki20 package poses a significant risk due to its malicious behavior aimed at manipulating the npm registry. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. Immediate action should be taken to remove any affected packages to safeguard your applications.
See every vulnerability recorded for teagood-manaki20 →
FAQ
teagood-manaki20 is an npm package that is part of a campaign to inflate developer reputation scores through the automatic generation and publication of derivative packages.
The vulnerability can lead to the installation of malicious code that alters your application's dependencies and potentially exposes it to further security risks.
You should uninstall the teagood-manaki20 package immediately and audit your project for any other potentially malicious packages.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software by analyzing the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.