Malicious Code Injection in teagood-nalikami19: A Threat to npm Users
Summary
MAL-2025-167416: Malicious code in teagood-nalikami19 (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-nalikami19 is a package associated with the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with potentially harmful packages. These packages are designed to manipulate developer reputation scores through the automatic generation and publication of derivative packages. The malicious nature of this package lies in its ability to alter critical files and republish variants, thereby compromising the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-nalikami19 originates from its malicious payload that modifies the package.json file by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to significant security risks, including the potential for unauthorized access to sensitive data and the degradation of the npm ecosystem's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikami19
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, you can prevent the installation of the affected package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include teagood-nalikami19 in any of its dependencies. You can also utilize Vulert to monitor your project for vulnerabilities without needing to install additional software.
Conclusion
The discovery of malicious code in teagood-nalikami19 highlights the importance of vigilance in managing npm packages. By understanding the nature of this vulnerability and taking proactive steps to mitigate its impact, developers can help maintain the integrity of their projects and the broader npm ecosystem.
See every vulnerability recorded for teagood-nalikami19 →
FAQ
teagood-nalikami19 is an npm package linked to the tea.xyz token reward campaign, which has been identified as containing malicious code.
The vulnerability can lead to unauthorized modifications of your package.json file and the potential for your project to be associated with malicious activities.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you have installed teagood-nalikami19, you should uninstall it immediately using 'npm uninstall teagood-nalikami19' and check for any other affected packages.
Regularly monitor your dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.