Malicious Code Injection in teagood-nakamala17 Package - npm Vulnerability
Summary
MAL-2025-167279: Malicious code in teagood-nakamala17 (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
The teagood-nakamala17 package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with various packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only clutters the npm registry but also poses security risks to developers using these packages.
Vulnerability Detail
The vulnerability in the teagood-nakamala17 package originates from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially leading to security issues for developers who unknowingly use these compromised packages. The malicious payload is designed to inflate developer reputation scores for token rewards, making it a significant concern for the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-nakamala17
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 workaround, you can avoid using the teagood-nakamala17 package altogether. If it is already included in your project, consider removing it and replacing it with a trusted alternative. Additionally, you can use tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The teagood-nakamala17 package poses a significant security risk due to its malicious code that modifies package metadata and floods the npm registry. It is crucial for developers to remove this package and utilize tools like Vulert to ensure their projects remain secure from such vulnerabilities.
See every vulnerability recorded for teagood-nakamala17 →
FAQ
teagood-nakamala17 is an npm package that is part of a campaign to manipulate developer reputation scores through the automatic generation of derivative packages.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and cluttering the npm registry with unwanted packages.
You should remove the teagood-nakamala17 package from your project and monitor for any updates or patches that may address the vulnerability.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Vulert is a tool that monitors and alerts you in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file.