Malicious Code Injection in teagood-nalikami7: A Threat to npm Ecosystem
Summary
MAL-2025-167472: Malicious code in teagood-nalikami7 (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-nalikami7 is a package associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package is designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is primarily centered around creating and publishing these packages, but it has been compromised to include malicious code.
Vulnerability Detail
The vulnerability in teagood-nalikami7 originates from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, potentially leading to further exploitation and security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikami7
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 teagood-nalikami7 and any other packages associated with the tea.xyz token reward campaign. Additionally, you can monitor your dependencies using tools like Vulert, which allows you to check for vulnerabilities in your package-lock.json file without requiring code access or installation.
Conclusion
The teagood-nalikami7 package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is essential to take immediate action by updating or removing the package to protect your project from potential security risks. Utilizing tools like Vulert can help in monitoring and identifying vulnerabilities in your dependencies.
See every vulnerability recorded for teagood-nalikami7 →
FAQ
teagood-nalikami7 is an npm package linked to the tea.xyz token reward campaign, designed to automate the publication of derivative packages.
The vulnerability can lead to the installation of malicious packages that may compromise your project's security and integrity.
You should update the package to a patched version if available, or remove it from your project to mitigate the risk.
You can use Vulert to monitor your package-lock.json file for vulnerabilities in real-time without needing to access the code.
Yes, you can use the Vulert playground to check if your application is affected by this vulnerability without any signup.