Malicious Code Injection in teagood-yakuza37: A Threat to npm Packages
Summary
MAL-2025-167995: Malicious code in teagood-yakuza37 (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-yakuza37 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 typically used for generating and publishing derivative packages. However, it has been identified as containing malicious code that can compromise the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-yakuza37 stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores for token rewards, leading to the proliferation of derivative packages that pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which has been associated with numerous malicious packages flooding the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-yakuza37
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-yakuza37 package and any other packages associated with the tea.xyz token reward campaign. Regularly monitor your package dependencies for any updates or patches that may address this vulnerability.
Conclusion
The teagood-yakuza37 package poses a significant threat to the npm ecosystem due to its malicious code that modifies package files and inflates developer reputation scores. It is crucial to remove this package and monitor your dependencies for any vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for teagood-yakuza37 →
FAQ
teagood-yakuza37 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 modification of your package.json file, potentially compromising your application's integrity and security.
You should uninstall the package immediately using npm uninstall teagood-yakuza37 and check for any other affected packages.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. It analyzes your package-lock.json file without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.