Malicious Code Injection in teagood-nalikami10: A Threat to npm Users
Summary
MAL-2025-167371: Malicious code in teagood-nalikami10 (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-nalikami10 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various scripts that automatically generate and publish derivative packages. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-nalikami10 stems from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. This can result in developers unknowingly using compromised packages, which may lead to security breaches and loss of reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikami10
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 affected package and monitor your project for any dependencies that may rely on it. Regularly check your package-lock.json file for any signs of malicious packages.
Conclusion
The discovery of malicious code in the teagood-nalikami10 package highlights the importance of vigilance when using open-source packages. By understanding the nature of this vulnerability and taking proactive steps to secure your projects, you can mitigate potential risks associated with compromised packages.
See every vulnerability recorded for teagood-nalikami10 →
FAQ
teagood-nalikami10 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies package.json files, removes private flags, and generates random package names, which can lead to security vulnerabilities and pollution of the npm registry.
You should uninstall the package immediately using the command npm uninstall teagood-nalikami10 and check for any dependencies that may be affected.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json. You can also check if your application is affected by this vulnerability using the Vulert playground without any signup.
Yes, tools like Vulert can help you monitor your dependencies for vulnerabilities and provide alerts for any issues that arise.