Malicious Code Injection in teagood-nalikami22: A Threat to npm Users
Summary
MAL-2025-167420: Malicious code in teagood-nalikami22 (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-nalikami22 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through the generation and publication of 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-nalikami22 stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores for the tea protocol token rewards. The package continuously republishes variants, leading to pollution of the npm registry and potential security risks for users who inadvertently install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nalikami22
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-nalikami22 package and monitor your project for any dependencies that may have inadvertently included it. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The teagood-nalikami22 package poses a significant security risk due to its malicious code that alters package metadata and repopulates the npm registry with harmful variants. Users are advised to uninstall the package and monitor their projects for vulnerabilities.
See every vulnerability recorded for teagood-nalikami22 →
FAQ
teagood-nalikami22 is an npm package associated with the tea.xyz token reward campaign, which has been found to contain malicious code.
The malicious code modifies your package.json file and can lead to the installation of additional malicious packages, compromising your project's security.
You should uninstall the package immediately using npm uninstall teagood-nalikami22 and check your project for any other affected dependencies.
You can use Vulert to monitor your package-lock.json file for vulnerabilities in real-time without needing to install any additional software.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.