Malicious Code Injection in teagood-manaki73: A Threat to npm Packages
Summary
MAL-2025-167141: Malicious code in teagood-manaki73 (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-manaki73 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry, allowing developers to publish and manage their packages. However, it has been identified as malicious due to its involvement in generating and publishing derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the teagood-manaki73 package, which contains scripts that automatically modify the package.json file. This includes removing private flags, changing version numbers, and generating random package names. The scripts continuously republish these variants, polluting the npm registry and potentially compromising the integrity of other packages. This behavior can lead to security risks for developers relying on npm packages, as it may introduce untrusted code into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki73
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 workaround, you can monitor your project for any unintended changes made by the malicious package. Regularly check your package.json and package-lock.json files for any unauthorized modifications. Additionally, consider using tools like Vulert to monitor your dependencies 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 teagood-manaki73 package poses a significant threat due to its malicious code designed to manipulate npm packages. It is crucial for developers to remove this package from their projects and monitor their dependencies for any vulnerabilities. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for teagood-manaki73 →
FAQ
teagood-manaki73 is an npm package associated with the tea.xyz token reward campaign, known for its malicious behavior.
The malicious code modifies your package.json file, potentially introducing untrusted code and affecting the integrity of your project.
You should uninstall the package immediately using the command npm uninstall teagood-manaki73 and check your project files for any unauthorized changes.
Currently, there is no patched version available for the teagood-manaki73 package.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application.