Malicious Code Injection in teagood-namakai92: A Threat to npm Users
Summary
MAL-2025-167752: Malicious code in teagood-namakai92 (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-namakai92 is an npm package that is part of a token reward campaign associated with the tea.xyz protocol. It is designed to facilitate the distribution of rewards through the npm ecosystem. However, this package has been identified as malicious, containing scripts that automatically generate and publish derivative packages with randomized names, aimed at inflating developer reputation scores.
Vulnerability Detail
The vulnerability in teagood-namakai92 stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this issue is linked to the tea.xyz token reward campaign, which has flooded the npm registry with similar malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai92
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 affected package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The teagood-namakai92 package poses a significant risk due to its malicious behavior, which can compromise the integrity of the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for teagood-namakai92 →
FAQ
teagood-namakai92 is an npm package involved in a token reward campaign that has been identified as malicious.
The malicious payload modifies package.json files, removes private flags, changes version numbers, and generates random package names, leading to pollution of the npm registry.
You can remove the vulnerable package by running 'npm uninstall teagood-namakai92' in your terminal.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
You can check if your application is affected by using the Vulert playground at Vulert Scanner without any signup.