Malicious Code Injection in teagood-nakamala38: A Threat to npm Packages
Summary
MAL-2025-167302: Malicious code in teagood-nakamala38 (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-nakamala38 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 involved in generating and publishing derivative packages. However, it has been identified as malicious due to its capability to modify package metadata and republish variants, which can lead to pollution of the npm registry and compromise developer reputation.
Vulnerability Detail
The vulnerability in teagood-nakamala38 stems from its malicious payload that 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 fraudulently. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which has flooded the npm ecosystem with similar malicious packages. The ramifications include potential security risks for developers and users, as well as the degradation of the npm registry's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nakamala38
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 remove the affected package from your project by executing 'npm uninstall teagood-nakamala38'. This will prevent any malicious activity associated with the package until a secure version is available.
Conclusion
The teagood-nakamala38 package poses a significant threat due to its malicious behavior of modifying package metadata and republishing variants. It is essential for developers to take immediate action by updating or removing the package to safeguard their projects and maintain the integrity of the npm ecosystem.
See every vulnerability recorded for teagood-nakamala38 →
FAQ
teagood-nakamala38 is an npm package involved in the tea.xyz token reward campaign, which has been identified as malicious due to its ability to manipulate package metadata.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project by introducing malicious code or dependencies.
If you have installed teagood-nakamala38, it is crucial to uninstall it immediately and check for any updates or patches that may be available.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities. Vulert uses package-lock.json to provide real-time alerts for vulnerabilities without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.