Malicious Code Injection in teagood-nakama36: A Threat to npm Ecosystem
Summary
MAL-2025-167200: Malicious code in teagood-nakama36 (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-nakama36 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 interact with the npm registry, potentially inflating developer reputation scores through automated publishing of derivative packages. Its functionality is compromised by malicious scripts that alter package metadata and republish variants, posing a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-nakama36 originates from its inclusion in a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior can lead to the pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially exposing them to further security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nakama36
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 affected package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The discovery of malicious code in the teagood-nakama36 package highlights the importance of vigilance in the npm ecosystem. Developers should take immediate action to remove affected packages and utilize monitoring tools like Vulert to safeguard their projects against potential threats.
See every vulnerability recorded for teagood-nakama36 →
FAQ
teagood-nakama36 is an npm package that is part of a token reward campaign, which has been identified to contain malicious code.
The vulnerability can lead to the pollution of the npm registry, making it harder to find legitimate packages and potentially exposing your project to further security threats.
You should uninstall the package immediately using 'npm uninstall teagood-nakama36' and look for alternative packages.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just package-lock.json. Visit https://vulert.com for more information.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.