Malicious Code Injection in teagood-namakai67: A Threat to npm Ecosystem
Summary
MAL-2025-167724: Malicious code in teagood-namakai67 (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-namakai67 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 packages. However, it has been identified as containing malicious scripts that compromise its integrity and the security of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-namakai67 originates from its inclusion in a campaign that floods the npm registry with derivative packages. It contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only inflates developer reputation scores fraudulently but also pollutes the npm registry, making it difficult for legitimate packages to be discovered and used. The malicious payload can lead to further exploitation if other packages depend on the compromised package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai67
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 prevent the installation of this malicious package by using npm's package-lock.json to lock down your dependencies. Additionally, consider using the following command to uninstall the package: npm uninstall teagood-namakai67.
Conclusion
The discovery of malicious code in teagood-namakai67 highlights the importance of vigilance in the npm ecosystem. Developers should take immediate action to remove affected packages and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for teagood-namakai67 →
FAQ
teagood-namakai67 is an npm package associated with the tea.xyz token reward campaign, which has been found to contain malicious code.
The malicious code modifies your package.json file, removes private flags, and publishes derivative packages, which can lead to reputation inflation and registry pollution.
You should uninstall the package immediately and check for any dependencies that might have been affected.
Yes, you can use 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 signing up.