Malicious Code Injection in teagood-nalikoli41: A Threat to npm Ecosystem
Summary
MAL-2025-167596: Malicious code in teagood-nalikoli41 (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-nalikoli41 is an npm package that appears to be part of a token reward campaign associated with the tea.xyz protocol. It is designed to incentivize developers through the creation of derivative packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata and flood the npm registry with spammy packages.
Vulnerability Detail
The vulnerability in teagood-nalikoli41 stems from its inclusion of malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these compromised packages. The malicious payload is designed to inflate developer reputation scores through deceptive practices.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikoli41
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, avoid using the teagood-nalikoli41 package and monitor your project for any dependencies that may have inadvertently included it. Regularly audit your package-lock.json file to identify and remove any malicious packages.
Conclusion
The discovery of malicious code in teagood-nalikoli41 highlights the importance of vigilance when using open-source packages. Developers should take immediate action to remove this package and monitor their projects for any vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your software.
See every vulnerability recorded for teagood-nalikoli41 →
FAQ
teagood-nalikoli41 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file, potentially exposing your project to security risks and flooding the npm registry with spammy packages.
You should uninstall the package immediately using 'npm uninstall teagood-nalikoli41' and check for any dependencies that may rely on it.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Yes, consider using other reputable packages that provide similar functionality without the associated risks of malicious code.