Malicious Code Injection in teagood-namakai75: A Threat to npm Ecosystem
Summary
MAL-2025-167733: Malicious code in teagood-namakai75 (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-namakai75 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of rewards through token-based incentives. However, it has been identified as a malicious package that employs scripts to manipulate its own metadata and proliferate itself under various names, thereby compromising the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-namakai75 stems from its inclusion in a campaign that floods the npm ecosystem with malicious packages. It contains scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry with potentially harmful packages, leading to a risk of dependency confusion and supply chain attacks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai75
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. Regularly audit your package-lock.json file to identify and remove any malicious dependencies.
Conclusion
The discovery of malicious code in teagood-namakai75 highlights the importance of vigilance in managing npm packages. By understanding the nature of this vulnerability and taking proactive steps to remove affected packages, developers can help protect their projects from potential threats.
See every vulnerability recorded for teagood-namakai75 →
FAQ
teagood-namakai75 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies package metadata, potentially leading to dependency confusion and the introduction of harmful packages into your project.
You should uninstall the package immediately using 'npm uninstall teagood-namakai75' and review your dependencies for any other malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can also check your application against known vulnerabilities using the Vulert playground.
There is no patch for teagood-namakai75 since it is recommended to remove the package entirely rather than attempting to patch it.