Malicious Code Injection in teagood-nalikoli82: A Threat to npm Ecosystem
Summary
MAL-2025-167641: Malicious code in teagood-nalikoli82 (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-nalikoli82 is a package associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts. The package's primary function is to facilitate token rewards, but it has been compromised to include malicious code that alters its own metadata and behavior.
Vulnerability Detail
The vulnerability in teagood-nalikoli82 stems from its inclusion of malicious scripts that modify the package.json file. These scripts remove private flags, change version numbers, and generate random package names, leading to the continuous republishing of variants that pollute the npm registry. This not only affects the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikoli82
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-nalikoli82 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package dependencies for vulnerabilities.
Conclusion
The vulnerability in teagood-nalikoli82 poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and republishing behavior. It is crucial for developers to take immediate action to remove the affected package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your projects.
See every vulnerability recorded for teagood-nalikoli82 →
FAQ
teagood-nalikoli82 is an npm package linked to the tea.xyz token reward campaign, which has been compromised to include malicious code.
The malicious code modifies package metadata and continuously republishes variants, which can lead to pollution of the npm registry and potential security risks for your project.
You should uninstall the package immediately using 'npm uninstall teagood-nalikoli82' and monitor your project for any unusual behavior.
Regularly update your dependencies, use tools like Vulert to monitor for vulnerabilities, and review package sources before installation.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check if your application is affected by vulnerabilities without any signup at the Vulert playground.