Malicious Code Injection in teagood-yakuza30: A Threat to npm Users
Summary
MAL-2025-167988: Malicious code in teagood-yakuza30 (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-yakuza30 is an npm package that is part of a broader campaign involving the tea.xyz token reward system. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as malicious due to its capability to modify package metadata and publish harmful variants.
Vulnerability Detail
The vulnerability in teagood-yakuza30 originates from its malicious code that alters the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a compromised development environment, where developers may unknowingly use these malicious packages, risking their applications and reputations.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-yakuza30
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 use the following command to prevent the installation of the malicious package in your project: 'npm install --no-save teagood-yakuza30'. However, the best practice is to remove the package entirely.
Conclusion
The discovery of malicious code in the teagood-yakuza30 package highlights the importance of vigilance when using open-source packages. Developers should regularly audit their dependencies and utilize tools like Vulert to monitor for vulnerabilities. Removing affected packages and ensuring the use of trusted sources is crucial for maintaining application security.
See every vulnerability recorded for teagood-yakuza30 →
FAQ
teagood-yakuza30 is an npm package that has been identified as malicious, designed to generate and publish harmful variants to inflate developer reputation scores.
The vulnerability can lead to the installation of malicious packages that may compromise your application's integrity and security.
You should uninstall the package immediately using 'npm uninstall teagood-yakuza30' and review your project for any other potentially harmful dependencies.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
There are no patches available for teagood-yakuza30 as it is a malicious package. The recommended action is to remove it from your project.