Malicious Code Injection in teagood-namakai55: npm Package Vulnerability
Summary
MAL-2025-167711: Malicious code in teagood-namakai55 (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-namakai55 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 automatically 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-namakai55 originates from its design to inflate developer reputation scores through the automatic generation of numerous derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and creating random package names. This behavior leads to pollution of the npm registry and can potentially harm developers by flooding them with unwanted packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai55
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 package dependencies for vulnerabilities.
Conclusion
The teagood-namakai55 package contains a significant vulnerability that can compromise the integrity of your npm projects. It is crucial to remove this package and monitor your dependencies for any further vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for teagood-namakai55 →
FAQ
teagood-namakai55 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 pollution of the npm registry and may introduce unwanted packages into your project, compromising its integrity.
You should uninstall the package immediately using 'npm uninstall teagood-namakai55' and monitor your project for any other vulnerabilities.
Yes, you can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.