Malicious Code Injection in teagood-nakama80: A Threat to npm Ecosystem
Summary
MAL-2025-167249: Malicious code in teagood-nakama80 (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-nakama80 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by publishing derivative packages. However, it has been compromised to include malicious scripts that manipulate package metadata and flood the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability in teagood-nakama80 stems from its inclusion in a campaign that uses autopublish scripts to generate and publish numerous derivative packages with altered metadata. These scripts modify the package.json file to remove private flags, change version numbers, and create random package names, leading to pollution of the npm registry. This not only affects the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nakama80
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 manually delete the package from your project and avoid using any packages that are part of the tea.xyz token reward campaign until further notice. Use the following command to uninstall the package: npm uninstall teagood-nakama80.
Conclusion
The discovery of malicious code in the teagood-nakama80 package highlights the importance of vigilance in the npm ecosystem. Developers should take immediate action to remove the affected package and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for teagood-nakama80 →
FAQ
teagood-nakama80 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 introduction of malicious code into your project, potentially compromising its security and integrity.
You should uninstall the package immediately and monitor your project for any unusual behavior.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay informed about known vulnerabilities in the packages you use.