Malicious Code Injection in teagood-namakai47: A Threat to npm Users
Summary
MAL-2025-167702: Malicious code in teagood-namakai47 (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-namakai47 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, which are often used to inflate developer reputation scores for token rewards. However, its functionality has been compromised, making it susceptible to malicious exploitation.
Vulnerability Detail
The vulnerability in teagood-namakai47 originates from its design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include potential security risks for developers who unknowingly use these compromised packages, as they may inadvertently expose their applications to malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai47
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 remove the teagood-namakai47 package from your project by executing the command: 'npm uninstall teagood-namakai47'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The teagood-namakai47 package poses a significant risk due to its malicious code injection vulnerability. It is essential for developers to be aware of this issue, take immediate action to remove the package, and monitor their applications for any potential threats. Utilizing tools like Vulert can help in maintaining the security of your software.
See every vulnerability recorded for teagood-namakai47 →
FAQ
teagood-namakai47 is an npm package involved in the tea.xyz token reward campaign, designed to automate the publication of derivative packages.
The vulnerability can lead to the injection of malicious code into your application, potentially compromising its security and integrity.
If you have installed teagood-namakai47, it is recommended to uninstall it immediately and monitor for any updates or patches.
You can use Vulert to monitor your project for open-source vulnerabilities in real-time. It analyzes your package-lock.json file without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.