Malicious Code Injection in teagood-namakai37: A Threat to npm Users
Summary
MAL-2025-167691: Malicious code in teagood-namakai37 (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-namakai37 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm ecosystem, allowing developers to publish and manage JavaScript packages. However, it has been identified as containing malicious code that can compromise the integrity of the npm registry and the applications that depend on it.
Vulnerability Detail
The vulnerability in teagood-namakai37 originates from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to inflate developer reputation scores for token rewards. This behavior not only pollutes the npm registry but can also lead to the unintentional inclusion of compromised packages in projects, potentially introducing security risks and instability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai37
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, you can avoid using the affected package by removing it from your dependencies and replacing it with a trusted alternative that provides similar functionality.
Conclusion
The discovery of malicious code in teagood-namakai37 highlights the importance of vigilance when using npm packages. Developers should take immediate action to remove this package and monitor their projects for any signs of compromise. Utilizing tools like Vulert can help ensure ongoing security in your software development process.
See every vulnerability recorded for teagood-namakai37 →
FAQ
teagood-namakai37 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json, removes private flags, and can lead to the inclusion of compromised packages, potentially introducing 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 needing to sign up.
If you have installed teagood-namakai37, you should uninstall it immediately using 'npm uninstall teagood-namakai37' and check for any affected dependencies.
Yes, consider using other reputable packages that provide similar functionality without the associated risks of malicious code.