Malicious Code Injection in teagood-nalikoli50: A Threat to npm Ecosystem
Summary
MAL-2025-167606: Malicious code in teagood-nalikoli50 (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-nalikoli50 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 their packages. However, it has been identified as containing malicious scripts that can compromise the integrity of the npm ecosystem by generating and publishing derivative packages with random names.
Vulnerability Detail
The vulnerability in teagood-nalikoli50 originates from its inclusion in a campaign that floods the npm registry with malicious packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and create random package names. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry, making it difficult for developers to find legitimate packages. The malicious payload can lead to security risks, including the potential for further exploitation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikoli50
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 measure, avoid using the teagood-nalikoli50 package and consider using alternative packages that provide similar functionality without the associated risks. You can also monitor your project for vulnerabilities using tools like Vulert, which can alert you to open-source vulnerabilities in real-time without requiring code access.
Conclusion
The discovery of malicious code in the teagood-nalikoli50 package highlights the importance of vigilance in the npm ecosystem. By understanding the nature of this vulnerability and taking appropriate action, developers can protect their projects from potential threats. Regularly updating dependencies and using monitoring tools like Vulert can further enhance security.
See every vulnerability recorded for teagood-nalikoli50 →
FAQ
teagood-nalikoli50 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code can modify your package.json file, remove private flags, and publish random packages, potentially compromising your project's integrity and security.
You should uninstall the package immediately using the command npm uninstall teagood-nalikoli50 and monitor your project for any further vulnerabilities.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Yes, Vulert provides a service that monitors your package-lock.json for vulnerabilities in real-time, alerting you to any issues.