Malicious Code Injection in teagood-nakama84: npm Package Vulnerability
Summary
MAL-2025-167253: Malicious code in teagood-nakama84 (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-nakama84 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 generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-nakama84 originates from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. This can inflate developer reputation scores fraudulently and potentially introduce security risks to applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nakama84
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, regularly audit your dependencies using tools like Vulert to monitor for vulnerabilities.
Conclusion
The vulnerability in teagood-nakama84 poses significant risks due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their dependencies to maintain the security of their applications.
See every vulnerability recorded for teagood-nakama84 →
FAQ
teagood-nakama84 is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability allows the package to modify package.json files, remove private flags, and publish random packages, which can inflate developer reputation scores fraudulently.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If you have installed teagood-nakama84, it is advisable to uninstall it immediately using 'npm uninstall teagood-nakama84' and check for any dependencies that may be affected.
Yes, Vulert provides real-time monitoring and alerts for open-source vulnerabilities in your software using just the package-lock.json file.