Malicious Code Vulnerability in teagood-namakai65: Exploitation of npm Registry
Summary
MAL-2025-167722: Malicious code in teagood-namakai65 (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-namakai65 is an npm package that appears to be part of a token reward campaign associated with the tea.xyz protocol. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores. The package's functionality is compromised due to its malicious intent, leading to potential pollution of the npm registry.
Vulnerability Detail
The vulnerability in teagood-namakai65 originates from its malicious code that modifies the package.json file to remove private flags and changes version numbers. It generates random Indonesian-themed package names and continuously republishes these variants, which can lead to the flooding of the npm registry with unwanted packages. This not only affects the integrity of the npm ecosystem but also poses risks to developers who may inadvertently use these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai65
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 avoid using the affected package altogether and look for alternative packages that provide similar functionality without the risk of malicious code. Additionally, you can use tools like Vulert to monitor your dependencies for vulnerabilities.
Conclusion
The teagood-namakai65 package contains malicious code that poses a significant risk to the npm ecosystem. It is crucial for developers to be aware of this vulnerability and take immediate action to remove the affected package from their projects. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.
See every vulnerability recorded for teagood-namakai65 →
FAQ
teagood-namakai65 is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry and may expose your project to malicious code, affecting its integrity and security.
You should uninstall the package immediately using 'npm uninstall teagood-namakai65' and check for any other affected packages in your project.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time without needing to access the code or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.