Malicious Code Injection in teagood-nakama63: A Threat to npm Users
Summary
MAL-2025-167230: Malicious code in teagood-nakama63 (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-nakama63 is an npm package that appears to be part of a token reward campaign associated with the tea.xyz protocol. It is designed to facilitate the distribution of rewards through the npm ecosystem. However, this package has been identified as malicious, containing scripts that manipulate its own metadata and publish derivative packages to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in teagood-nakama63 originates from its inclusion in a campaign that floods the npm registry with malicious packages. These packages contain scripts (auto.js, autopublish.js, etc.) that modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior leads to the pollution of the npm registry and can compromise the integrity of other packages, potentially affecting developers and users relying on npm for secure package management.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nakama63
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-nakama63 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.
Conclusion
The teagood-nakama63 package poses a significant risk due to its malicious code that modifies package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert to ensure the security and integrity of their applications.
See every vulnerability recorded for teagood-nakama63 →
FAQ
teagood-nakama63 is an npm package involved in a token reward campaign, but it has been identified as malicious due to its harmful scripts.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project by introducing malicious code.
You should uninstall the package immediately using 'npm uninstall teagood-nakama63' and check your project for any references to it.
Yes, you can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.