Malicious Code Injection in teagood-nakamala62: A Threat to npm Packages
Summary
MAL-2025-167329: Malicious code in teagood-nakamala62 (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-nakamala62 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry and is intended for developers looking to enhance their reputation scores through token rewards. However, it has been identified as containing malicious scripts that can compromise the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-nakamala62 originates from its inclusion in a campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry, potentially leading to security risks for users who unknowingly install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nakamala62
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-nakamala62 package altogether. If it is already in use, consider removing it from your project by executing: npm uninstall teagood-nakamala62. Additionally, you can monitor your project for any dependencies that may introduce similar vulnerabilities.
Conclusion
The teagood-nakamala62 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is essential for developers to be vigilant and take necessary actions to mitigate this vulnerability by updating or removing the affected package.
See every vulnerability recorded for teagood-nakamala62 →
FAQ
teagood-nakamala62 is an npm package associated with the tea.xyz token reward campaign, which aims to enhance developer reputation scores.
The vulnerability allows malicious scripts to modify your package.json file and republish variants, potentially compromising your project's integrity and security.
If you have installed teagood-nakamala62, it is crucial to uninstall it immediately and check for any other affected packages in your project.
Yes, you can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.