Malicious Code Injection in teagood-yakuza5: A Threat to npm Packages
Summary
MAL-2025-168008: Malicious code in teagood-yakuza5 (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-yakuza5 is an npm package that is part of the tea.xyz token reward campaign, which has been associated with a series of malicious activities on the npm registry. This package is designed to manipulate package metadata and publish derivative packages, potentially compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-yakuza5 stems from its inclusion in a campaign that floods the npm registry with malicious packages. It contains scripts that modify package.json files to remove private flags, change version numbers, and generate random package names. This behavior can lead to the pollution of the npm registry and inflate developer reputation scores fraudulently, posing a risk to developers and users relying on the integrity of npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-yakuza5
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-yakuza5 package and any other packages associated with the tea.xyz token reward campaign. Additionally, you can monitor your project's dependencies using tools like Vulert, which can alert you to any vulnerabilities in real-time without requiring code access or installation.
Conclusion
The teagood-yakuza5 package poses a significant threat due to its malicious behavior aimed at manipulating npm registry metadata. It is crucial for developers to remain vigilant and take necessary actions to protect their projects from such vulnerabilities.
See every vulnerability recorded for teagood-yakuza5 →
FAQ
teagood-yakuza5 is an npm package involved in a malicious campaign that affects the npm registry by publishing derivative packages.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project's dependencies, potentially introducing malicious code.
You should remove the package from your project and monitor for any updates or patches that may address the vulnerability.
You can use Vulert to monitor your project's package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.