Malicious Code Injection in teagood-manaki11 Package - npm Vulnerability
Summary
MAL-2025-167074: Malicious code in teagood-manaki11 (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-manaki11 package is part of the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. These packages are designed to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious nature of this package lies in its ability to modify critical files and continuously republish variants, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability in the teagood-manaki11 package originates from its design to include autopublish scripts that alter the package.json file by removing private flags and changing version numbers. This allows the package to generate random names, often themed around Indonesian culture, and republish these variants to the npm registry. The ramifications include potential abuse of the npm ecosystem, where developers may unknowingly install compromised packages, leading to security risks and reputation damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki11
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, you can avoid using the teagood-manaki11 package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using npm audit to check for vulnerabilities in your dependencies.
Conclusion
The teagood-manaki11 package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be aware of such vulnerabilities and take immediate action to secure their projects by removing affected packages and monitoring for future vulnerabilities.
See every vulnerability recorded for teagood-manaki11 →
FAQ
teagood-manaki11 is an npm package that is part of a token reward campaign, known for flooding the npm registry with malicious packages.
The vulnerability can lead to the installation of compromised packages, which may modify your project's files and introduce security risks.
If you have installed teagood-manaki11, you should remove it immediately and check for any unauthorized changes to your project files.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.