Malicious Code Exploit in teagood-yakuza11: A Threat to npm Packages
Summary
MAL-2025-167967: Malicious code in teagood-yakuza11 (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-yakuza11 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of token rewards through various npm packages. However, it has been identified as a malicious entity that employs scripts to manipulate package metadata and inflate developer reputation scores.
Vulnerability Detail
The vulnerability in teagood-yakuza11 originates from its malicious code that modifies the package.json file by removing private flags and altering version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to clutter the npm registry. This not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these tainted packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-yakuza11
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-yakuza11 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your dependencies for vulnerabilities.
Conclusion
The discovery of malicious code in the teagood-yakuza11 package highlights the importance of vigilance in managing npm dependencies. By understanding the nature of this vulnerability and taking proactive measures, developers can protect their projects from potential threats.
See every vulnerability recorded for teagood-yakuza11 →
FAQ
teagood-yakuza11 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file, removes private flags, and generates random package names, potentially leading to security vulnerabilities and cluttering your npm registry.
You should uninstall the package immediately using 'npm uninstall teagood-yakuza11' and monitor your project for any further vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can also check your application using the Vulert playground without any signup.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about the latest security advisories related to the packages you use.