Malicious Code Injection in teagood-namakai86: npm Package Vulnerability
Summary
MAL-2025-167745: Malicious code in teagood-namakai86 (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-namakai86 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages. It aims to inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-namakai86 originates from its malicious payload, which modifies the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only affects the reputation of developers but also poses a risk to users who may unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai86
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-namakai86 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package dependencies using tools like Vulert, which alerts you to vulnerabilities in real-time.
Conclusion
The teagood-namakai86 npm package has been identified as containing malicious code that compromises the integrity of the npm registry. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can provide additional security and peace of mind.
See every vulnerability recorded for teagood-namakai86 →
FAQ
teagood-namakai86 is an npm package involved in a token reward campaign that has been identified as containing malicious code.
The malicious code modifies your package.json file and can lead to the installation of compromised packages, affecting your project's integrity.
You should uninstall the package immediately using 'npm uninstall teagood-namakai86' and monitor your project for any further vulnerabilities.
Yes, using tools like Vulert can help you monitor your dependencies for vulnerabilities in real-time and alert you to any issues.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.