Malicious Code Injection in teagood-yakuna1 Package - npm Vulnerability
Summary
MAL-2025-167859: Malicious code in teagood-yakuna1 (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
The teagood-yakuna1 package is part of the tea.xyz token reward campaign that has recently flooded the npm ecosystem. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the teagood-yakuna1 package originates from malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores by continuously republishing variants, thereby polluting the npm registry. The ramifications include potential security risks for developers who unknowingly use these compromised packages, as well as a degradation of the npm ecosystem's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-yakuna1
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 remove the teagood-yakuna1 package from your project by running 'npm uninstall teagood-yakuna1'. This will prevent any malicious scripts from executing until a secure version is available.
Conclusion
The teagood-yakuna1 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with compromised versions. It is crucial for developers to remain vigilant, update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for teagood-yakuna1 →
FAQ
teagood-yakuna1 is an npm package associated with the tea.xyz token reward campaign, which aims to reward developers through token incentives.
The vulnerability involves the package modifying its own package.json file to remove private flags and generate random package names, leading to potential misuse and pollution of the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If you cannot update the package, it is advisable to uninstall it temporarily to mitigate any risks associated with the malicious code.
Detailed information can be found in the vulnerability report on the GitHub repository for malicious packages or through security advisories related to npm packages.