Malicious Code Injection in teagood-manaki31 Package - npm Vulnerability
Summary
MAL-2025-167096: Malicious code in teagood-manaki31 (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-manaki31 package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The primary functionality of this package is to participate in the token reward system, but its malicious nature poses significant risks to developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the teagood-manaki31 package originates from its design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. The ramifications include pollution of the npm registry, potential security risks for developers using these packages, and a compromised reputation system within the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki31
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 manually remove the teagood-manaki31 package from your project by running the command: npm uninstall teagood-manaki31. Additionally, consider using tools like Vulert to monitor your project for any open-source vulnerabilities.
Conclusion
The teagood-manaki31 package poses a significant security risk due to its malicious code designed to manipulate npm's reputation system. It is essential for developers to take immediate action by removing this package and utilizing tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for teagood-manaki31 →
FAQ
teagood-manaki31 is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability can lead to the pollution of the npm registry and may compromise the security of your project by introducing malicious code.
You should immediately uninstall the teagood-manaki31 package and monitor your project for any further vulnerabilities.
Yes, Vulert allows you to monitor and alert for open-source vulnerabilities using just your package-lock.json file. You can check your application using the Vulert playground.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories related to the packages you use.