Malicious Code Injection in teagood-nalikami18 Package
Summary
MAL-2025-167415: Malicious code in teagood-nalikami18 (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
The teagood-nalikami18 package is part of the tea.xyz token reward campaign that has infiltrated the npm ecosystem. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the teagood-nalikami18 package stems from its inclusion of autopublish scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the proliferation of malicious variants in the npm registry. This not only affects the reputation of developers but also poses a risk of dependency confusion and potential exploitation of applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikami18
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-nalikami18 package and any other packages that may be part of the tea.xyz campaign. Regularly audit your package.json and package-lock.json files to identify and remove any suspicious packages.
Conclusion
The teagood-nalikami18 package poses a significant security risk due to its malicious code that alters package metadata and proliferates unauthorized packages. It is essential to remove this package and monitor your dependencies for vulnerabilities to maintain the integrity of your applications.
See every vulnerability recorded for teagood-nalikami18 →
FAQ
teagood-nalikami18 is an npm package associated with the tea.xyz token reward campaign, which has been found to contain malicious code.
The malicious code can modify your package.json file, leading to the publication of unauthorized packages and potential security risks for your application.
You should uninstall the teagood-nalikami18 package immediately and audit your project for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.