Malicious Code Injection in teagood-yakuza70: A Threat to npm Ecosystem
Summary
MAL-2025-168031: Malicious code in teagood-yakuza70 (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-yakuza70 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 involved in generating and publishing derivative packages. It aims to inflate developer reputation scores for token rewards, but it has been compromised to include malicious scripts that can harm the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-yakuza70 originates from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can potentially compromise other packages and projects relying on npm.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-yakuza70
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 affected package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The discovery of malicious code in the teagood-yakuza70 package highlights the importance of vigilance in managing npm dependencies. By understanding the nature of this vulnerability and taking appropriate actions, developers can protect their projects from potential threats.
See every vulnerability recorded for teagood-yakuza70 →
FAQ
teagood-yakuza70 is an npm package involved in the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to unauthorized modifications in your project’s dependencies, potentially compromising the integrity of your application.
You should uninstall the package immediately using the command npm uninstall teagood-yakuza70 and review your project for any other affected dependencies.
You can use tools like Vulert, which monitors your package-lock.json 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 any signup.