Malicious Code Injection in teagood-nakamala56: A Threat to npm Packages
Summary
MAL-2025-167322: Malicious code in teagood-nakamala56 (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-nakamala56 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as malicious due to its functionality that modifies package metadata and floods the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability in teagood-nakamala56 stems from its malicious payload, which alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior is intended to inflate developer reputation scores through the automatic generation and republishing of numerous derivative packages. The result is pollution of the npm registry, which can lead to confusion and potential security risks for developers relying on legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nakamala56
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-nakamala56 package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The teagood-nakamala56 package poses a significant threat due to its malicious behavior of modifying package metadata and flooding the npm registry. It is crucial for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities in their dependencies.
See every vulnerability recorded for teagood-nakamala56 →
FAQ
teagood-nakamala56 is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry, making it difficult to find legitimate packages and potentially introducing security risks.
If you have installed teagood-nakamala56, you should uninstall it immediately using the command 'npm uninstall teagood-nakamala56'.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.