Malicious Code Injection in teagood-yakuna29: A Threat to npm Packages
Summary
MAL-2025-167886: Malicious code in teagood-yakuna29 (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-yakuna29 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as malicious due to its functionality that modifies package metadata and floods the npm registry with spammy packages.
Vulnerability Detail
The vulnerability in teagood-yakuna29 originates from its design to automatically generate and publish derivative packages with randomized names. This includes malicious scripts that alter the package.json file by removing private flags, changing version numbers, and creating numerous Indonesian-themed package names. The continuous republishing of these variants can lead to pollution of the npm registry, affecting the integrity and reliability of the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-yakuna29
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 by removing it from your dependencies. Use the following command to uninstall it: npm uninstall teagood-yakuna29.
Conclusion
The teagood-yakuna29 package poses a significant threat due to its malicious code that modifies package metadata and floods the npm registry. It is crucial to remove this package from your project and monitor for any potential vulnerabilities to maintain the integrity of your software.
See every vulnerability recorded for teagood-yakuna29 →
FAQ
teagood-yakuna29 is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability can lead to the pollution of the npm registry, affecting the integrity of your project's dependencies and potentially introducing security risks.
You should uninstall the package immediately and monitor your project for any unusual behavior.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and review the security advisories for the packages you use.