Malicious Code Vulnerability in teagood-namakai23: A Threat to npm Users
Summary
MAL-2025-167676: Malicious code in teagood-namakai23 (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-namakai23 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry and is typically used for publishing and managing JavaScript packages. However, it has been identified as containing malicious code that can compromise the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-namakai23 originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores for token rewards, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include potential security risks for developers who unknowingly use these compromised packages, as well as a degradation of the npm registry's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai23
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-namakai23 package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your project.
Conclusion
The teagood-namakai23 package poses a significant risk due to its malicious code that manipulates the npm registry. It is crucial for developers to be vigilant and take immediate action to remove this package from their projects. Utilizing tools like Vulert can help in monitoring and preventing future vulnerabilities.
See every vulnerability recorded for teagood-namakai23 →
FAQ
The main issue is that it contains malicious code designed to manipulate the npm registry and inflate developer reputation scores.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground at Vulert Scanner without any signup.
If you have installed teagood-namakai23, you should uninstall it immediately using the command npm uninstall teagood-namakai23.
Yes, you should look for reputable npm packages that offer similar functionality without the associated risks. Always check the package's reviews and security history.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for monitoring, and only install packages from trusted sources.