Malicious Code Injection in teagood-namakai50: A Threat to npm Ecosystem
Summary
MAL-2025-167706: Malicious code in teagood-namakai50 (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-namakai50 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 JavaScript packages. However, it has been identified as containing malicious code that compromises its integrity and poses a risk to users and the broader npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-namakai50 originates from its inclusion in a malicious campaign aimed at inflating developer reputation scores through the automatic generation and publication of derivative packages. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to pollution of the npm registry. This can result in developers unknowingly installing compromised packages, which may lead to further security issues.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai50
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, avoid using the teagood-namakai50 package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which analyzes your package-lock.json file to identify potential threats.
Conclusion
The discovery of malicious code in the teagood-namakai50 package highlights the importance of vigilance in managing open-source dependencies. By understanding the nature of this vulnerability and taking proactive steps to mitigate risks, developers can protect their projects and maintain the integrity of the npm ecosystem.
See every vulnerability recorded for teagood-namakai50 →
FAQ
teagood-namakai50 is an npm package associated with the tea.xyz token reward campaign, designed for publishing JavaScript packages.
The vulnerability can lead to the installation of malicious packages, compromising your project's security and integrity.
You should uninstall the package immediately using 'npm uninstall teagood-namakai50' and monitor your project for any further vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Regularly monitor your dependencies using tools like Vulert and stay updated on security advisories related to the packages you use.