Malicious Code Injection in teagood-namakai90: A Threat to npm Users
Summary
MAL-2025-167750: Malicious code in teagood-namakai90 (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-namakai90 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 is often used to inflate developer reputation scores through the automatic generation and publication of derivative packages. The package's functionality is compromised by malicious scripts that manipulate its metadata and behavior.
Vulnerability Detail
The vulnerability in teagood-namakai90 stems from the presence of malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to pollute the npm registry and can lead to reputational damage for developers, as well as potential security risks for users who inadvertently install these malicious packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs these tactics to exploit the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai90
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-namakai90 package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before installation.
Conclusion
The teagood-namakai90 package poses a significant risk due to its malicious code that alters package metadata and pollutes the npm registry. It is crucial for developers to be vigilant and remove any affected packages from their projects to maintain security and integrity.
See every vulnerability recorded for teagood-namakai90 →
FAQ
teagood-namakai90 is an npm package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores.
The malicious code modifies your package.json file, potentially leading to the installation of unwanted packages and compromising your project's security.
You should uninstall the package immediately using 'npm uninstall teagood-namakai90' 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 file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.