Malicious Code Injection in teagood-manaki10: A Threat to npm Ecosystem
Summary
MAL-2025-167071: Malicious code in teagood-manaki10 (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-manaki10 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. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-manaki10 originates from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki10
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, avoid using the teagood-manaki10 package and consider using alternative packages that provide similar functionality without the associated risks. Regularly audit your dependencies to ensure they are secure.
Conclusion
The discovery of malicious code in the teagood-manaki10 package highlights the importance of vigilance in managing open-source dependencies. By understanding the risks and taking proactive measures, developers can safeguard their applications from potential threats.
See every vulnerability recorded for teagood-manaki10 →
FAQ
The primary risk is that it contains malicious code that can modify your project's package.json file and republish compromised packages, potentially leading to security vulnerabilities.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without requiring any signup.
You should uninstall the package immediately using 'npm uninstall teagood-manaki10' and consider using alternative packages.
Yes, there are several npm packages that provide similar functionality. Research and choose a reputable package that meets your needs.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories related to the packages you use.