Malicious Code Injection in teagood-manaki101 Package
Summary
MAL-2025-167073: Malicious code in teagood-manaki101 (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-manaki101 package is part of the tea.xyz token reward campaign that has recently infiltrated the npm ecosystem. This package is designed to facilitate the automatic generation and publication of derivative packages, which are often used to inflate developer reputation scores for token rewards. The package's functionality includes creating random package names and modifying existing package metadata, making it susceptible to exploitation.
Vulnerability Detail
The vulnerability in the teagood-manaki101 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 result is a polluted npm registry, which can compromise the integrity of the ecosystem and potentially lead to further exploitation of developers and their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki101
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, consider using a package-lock.json file to monitor your dependencies. This file can help you identify and mitigate vulnerabilities in your project. You can also utilize tools like Vulert, which allows you to check for vulnerabilities in your application without requiring access to the code or installation. Simply upload your package-lock.json file to Vulert's playground at https://vulert.com/scanner to see if your application is affected by this vulnerability.
Conclusion
The teagood-manaki101 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is essential to remove this package from your project and monitor your dependencies for vulnerabilities using tools like Vulert. Staying informed and proactive is key to maintaining the security of your software.
See every vulnerability recorded for teagood-manaki101 →
FAQ
teagood-manaki101 is a package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages automatically.
The vulnerability can lead to the pollution of the npm registry, compromising the integrity of your project's dependencies and potentially exposing it to further attacks.
You should uninstall the teagood-manaki101 package immediately and check for any dependencies that may rely on it.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by vulnerabilities without needing to sign up.