Malicious Code Injection in teagood-nalikami37: npm Package Vulnerability
Summary
MAL-2025-167436: Malicious code in teagood-nalikami37 (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-nalikami37 is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with packages that contain malicious scripts. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The presence of such malicious code poses a significant risk to developers and users relying on the integrity of npm packages.
Vulnerability Detail
The vulnerability in teagood-nalikami37 originates from its design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. The malicious payload can inflate developer reputation scores fraudulently, making it difficult to trust legitimate packages. The continuous republishing of these variants can also lead to confusion and potential security risks for users who unknowingly install compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikami37
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 by not including it in your project dependencies. If you have already installed it, remove it as mentioned above. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities without needing to access the code directly.
Conclusion
The vulnerability in teagood-nalikami37 highlights the risks associated with malicious packages in the npm ecosystem. By understanding the nature of this vulnerability and taking proactive steps to remove affected packages and monitor dependencies, developers can protect their projects from potential threats.
See every vulnerability recorded for teagood-nalikami37 →
FAQ
teagood-nalikami37 is an npm package that is part of a campaign to manipulate developer reputation scores through the creation of malicious derivative packages.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your project.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
You should uninstall the package and review your dependencies to find alternatives or update them to ensure your project remains secure.
Regularly update your packages, monitor your dependencies for vulnerabilities using tools like Vulert, and review the packages you include in your projects.