Malicious Code Injection in teagood-namakai68: A Threat to npm Ecosystem
Summary
MAL-2025-167725: Malicious code in teagood-namakai68 (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-namakai68 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry, allowing developers to publish and manage their packages. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-namakai68 originates from its inclusion in a campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. This can result in developers inadvertently using compromised packages, which may lead to security breaches and loss of reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai68
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 and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The discovery of malicious code in the teagood-namakai68 package highlights the importance of vigilance in the npm ecosystem. Developers should take immediate action to remove the affected package and consider using tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for teagood-namakai68 →
FAQ
teagood-namakai68 is an npm package associated with the tea.xyz token reward campaign, designed for publishing and managing packages in the npm ecosystem.
The malicious code modifies your package.json file, potentially leading to the use of compromised packages and exposing your application to security risks.
You should uninstall the package immediately using 'npm uninstall teagood-namakai68' and check for any dependencies that may be affected.
Yes, you can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.