Malicious Code Injection in teagood-yakuza17: npm Package Vulnerability
Summary
MAL-2025-167973: Malicious code in teagood-yakuza17 (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-yakuza17 is part of the tea.xyz token reward campaign, which has been known to flood the npm registry with packages. These packages often contain scripts that automatically generate and publish derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, making the package susceptible to malicious exploitation.
Vulnerability Detail
The vulnerability in teagood-yakuza17 originates from its design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. The ramifications include pollution of the npm registry and potential security risks for developers who inadvertently use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-yakuza17
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-yakuza17. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The vulnerability in teagood-yakuza17 poses significant risks due to its malicious code that modifies package configurations. It is essential to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in your projects.
See every vulnerability recorded for teagood-yakuza17 →
FAQ
teagood-yakuza17 is an npm package that is part of a token reward campaign, which has been associated with malicious activities.
The vulnerability can lead to the pollution of the npm registry and may introduce security risks if the package is used in your project.
If you have installed teagood-yakuza17, it is crucial to uninstall it immediately and monitor for any updates or patches.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.