Malicious Code Injection in teagood-namakai69: A Threat to npm Ecosystem
Summary
MAL-2025-167726: Malicious code in teagood-namakai69 (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-namakai69 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry, and its primary function is to facilitate the generation and publication of derivative packages. However, it has been identified as containing malicious code that compromises the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-namakai69 originates from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random Indonesian-themed package names and continuously republishes these variants, leading to pollution of the npm registry. This behavior not only inflates developer reputation scores for token rewards but also poses significant risks by potentially introducing harmful packages to users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai69
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 affected package by not including it in your project dependencies. Additionally, consider using a package-lock.json file to monitor and control the versions of your dependencies, ensuring that you are not inadvertently including malicious packages.
Conclusion
The discovery of malicious code in the teagood-namakai69 package highlights the importance of vigilance in managing dependencies within the npm ecosystem. By understanding the nature of this vulnerability and taking appropriate action, developers can protect their projects from potential threats.
See every vulnerability recorded for teagood-namakai69 →
FAQ
teagood-namakai69 is an npm package associated with the tea.xyz token reward campaign, designed to publish derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, compromising its security and integrity.
If you have installed teagood-namakai69, you should uninstall it immediately and check for any dependencies that may be affected.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.