Malicious Code Injection in teagood-namakai53: A Threat to npm Users
Summary
MAL-2025-167709: Malicious code in teagood-namakai53 (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-namakai53 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to incentivize developers through token rewards by flooding the npm registry with derivative packages. Its functionality revolves around generating and publishing packages with randomized names, which can inflate developer reputation scores. However, this package has been identified as malicious, posing significant risks to users and the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-namakai53 originates from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, effectively polluting the npm registry. The ramifications include potential security risks for users who inadvertently install these malicious packages, as well as damage to the reputation of legitimate developers and the npm ecosystem as a whole.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai53
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-namakai53 package and any other packages associated with the tea.xyz token reward campaign. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The discovery of malicious code in the teagood-namakai53 package highlights the importance of vigilance in the npm ecosystem. Users should take immediate action to remove affected packages and utilize tools like Vulert to monitor for vulnerabilities. Staying informed and proactive is crucial in maintaining the security of your projects.
See every vulnerability recorded for teagood-namakai53 →
FAQ
teagood-namakai53 is an npm package associated with the tea.xyz token reward campaign that generates and publishes derivative packages.
The malicious code modifies your package.json, removes private flags, and continuously republishes variants, which can lead to security risks and pollution of the npm registry.
You should uninstall the package immediately using 'npm uninstall teagood-namakai53' and check for any other affected packages.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json.
You can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.