Malicious Code Injection in teagood-namakai74: A Threat to npm Ecosystem
Summary
MAL-2025-167732: Malicious code in teagood-namakai74 (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-namakai74 is a package associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous derivative packages. These packages are designed to inflate developer reputation scores for token rewards, often containing scripts that automatically publish new variants with altered names and metadata. This behavior raises significant concerns regarding the integrity and security of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-namakai74 stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only pollutes the npm registry but also poses a risk of unintentional dependency on compromised packages, potentially leading to further exploitation or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai74
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. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The discovery of malicious code in teagood-namakai74 highlights the importance of vigilance in managing npm packages. By understanding the nature of this vulnerability and taking appropriate actions, developers can protect their projects from potential threats. Regular monitoring and updates are crucial in maintaining a secure development environment.
See every vulnerability recorded for teagood-namakai74 →
FAQ
teagood-namakai74 is an npm package linked to the tea.xyz token reward campaign, known for flooding the npm registry with malicious derivatives.
The malicious code modifies your package.json, removes private flags, and generates random package names, which can lead to dependency issues and security vulnerabilities.
You should uninstall the package immediately using 'npm uninstall teagood-namakai74' and check for any other affected packages.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.