Malicious Code Injection in teagood-nalikoli19: A Threat to npm Ecosystem
Summary
MAL-2025-167571: Malicious code in teagood-nalikoli19 (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-nalikoli19 is an npm package that is part of a broader campaign associated with the tea.xyz token reward system. This package, like others in the campaign, is designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, making it a tool for malicious actors within the open-source community.
Vulnerability Detail
The vulnerability in teagood-nalikoli19 stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to exploit the npm ecosystem by flooding it with low-quality packages. The ramifications include potential pollution of the npm registry, increased difficulty in finding legitimate packages, and a tarnished reputation for developers associated with these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikoli19
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-nalikoli19 package and any other packages associated with the tea.xyz campaign. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The teagood-nalikoli19 package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate the registry. It is essential for developers to be aware of such vulnerabilities and take proactive measures to secure their projects. Regular monitoring and timely updates can help mitigate the risks associated with malicious packages.
See every vulnerability recorded for teagood-nalikoli19 →
FAQ
teagood-nalikoli19 is an npm package involved in a malicious campaign to inflate developer reputation scores for token rewards.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project's dependencies.
You should remove the teagood-nalikoli19 package from your project and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.