Malicious Code Injection in teagood-namakai76: A Threat to npm Users
Summary
MAL-2025-167734: Malicious code in teagood-namakai76 (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-namakai76 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry, potentially inflating developer reputation scores through automated scripts. However, it has been identified as containing malicious code that modifies package metadata and repackages itself under random names, posing a significant risk to users and the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-namakai76 originates from its malicious payload, which alters the package.json file to remove private flags and changes version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to the proliferation of untrustworthy packages, compromising the security of applications that depend on them.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai76
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-namakai76 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The discovery of malicious code in the teagood-namakai76 package highlights the importance of vigilance when using third-party libraries. By understanding the nature of this vulnerability and taking appropriate actions, developers can protect their applications from potential threats.
See every vulnerability recorded for teagood-namakai76 →
FAQ
teagood-namakai76 is an npm package involved in the tea.xyz token reward campaign, designed to inflate developer reputation scores.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the package immediately using 'npm uninstall teagood-namakai76' and check for any dependencies that may be affected.
Yes, tools like Vulert can help monitor your package-lock.json for 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 any signup.