Malicious Code Injection in teagood-namakai36: A Threat to npm Packages
Summary
MAL-2025-167690: Malicious code in teagood-namakai36 (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-namakai36 is an npm package that is part of a broader campaign involving the tea.xyz token reward system. This package is designed to interact with the npm registry, potentially inflating developer reputation scores through the automatic generation and publication of derivative packages. The package's functionality includes creating randomized package names and modifying existing package metadata, which can lead to significant issues in the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-namakai36 stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai36
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-namakai36 package and instead rely on alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your projects.
Conclusion
The teagood-namakai36 package poses a significant risk due to its malicious behavior, which can compromise the integrity of the npm registry and the security of projects using it. It is crucial to take immediate action by uninstalling the package and monitoring your dependencies for vulnerabilities.
See every vulnerability recorded for teagood-namakai36 →
FAQ
teagood-namakai36 is an npm package involved in a token reward campaign that automates the generation of derivative packages, potentially compromising the integrity of the npm registry.
The vulnerability can lead to the introduction of malicious code into your project, which may compromise security and affect the reliability of your software.
You should uninstall the package immediately using 'npm uninstall teagood-namakai36' and review your project for any potential impacts.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can check your application against vulnerabilities using the Vulert playground without any signup.
Yes, consider using well-established and trusted packages that provide similar functionality without the risks associated with teagood-namakai36.