Malicious Code Injection in teagood-nakamala73: A Threat to npm Packages
Summary
MAL-2025-167341: Malicious code in teagood-nakamala73 (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-nakamala73 is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate token rewards through the generation and publication of derivative packages. The package is characterized by its use of autopublish scripts that create numerous variants of itself, often with randomized names, to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in teagood-nakamala73 stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of these variants, which pollutes the npm registry and can compromise the integrity of the ecosystem. The malicious payload is part of a broader scheme to exploit npm for token rewards, posing risks to developers and users relying on npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nakamala73
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 measure, you can avoid using the affected package by removing it from your project and replacing it with a known secure alternative. Ensure to audit your package-lock.json file for any other potentially vulnerable packages.
Conclusion
The discovery of malicious code in teagood-nakamala73 highlights the importance of vigilance in managing npm packages. By understanding the nature of this vulnerability and taking appropriate actions, developers can protect their projects from potential threats.
See every vulnerability recorded for teagood-nakamala73 →
FAQ
teagood-nakamala73 is an npm package involved in the tea.xyz token reward campaign, which generates and publishes derivative packages to inflate developer reputation scores.
The vulnerability can lead to the pollution of the npm registry, compromising the integrity of your project's dependencies and potentially introducing malicious code.
You should uninstall the package immediately using 'npm uninstall teagood-nakamala73' and audit your project for any other vulnerable dependencies.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.