Malicious Code Injection in teagood-manaki98 Package
Summary
MAL-2025-167168: Malicious code in teagood-manaki98 (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-manaki98 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 inflate developer reputation scores through automated publishing scripts that generate numerous derivative packages with randomized names. The primary functionality of this package is to participate in the tea protocol token rewards system, but its malicious nature poses significant risks to developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the teagood-manaki98 package originates from its inclusion in a campaign that utilizes autopublish scripts (auto.js, autopublish.js, autopublish2.js, autopublish3.js) to modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The ramifications include pollution of the npm registry, potential security risks for developers using these packages, and a compromised reputation system for legitimate developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki98
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 package dependencies using tools like Vulert, which alerts you in real-time for open-source vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without requiring any signup.
Conclusion
The teagood-manaki98 package presents a significant security risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remove this package and monitor their dependencies to safeguard their projects from potential threats.
See every vulnerability recorded for teagood-manaki98 →
FAQ
teagood-manaki98 is a package associated with the tea.xyz token reward campaign that has been identified as malicious.
The vulnerability can lead to the pollution of the npm registry and may expose your project to security risks if you inadvertently use affected packages.
You should uninstall the teagood-manaki98 package immediately using the command npm uninstall teagood-manaki98.
Yes, regularly monitor your dependencies using tools like Vulert to receive alerts for any open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without requiring any signup.