Malicious Code Injection in teagood-yakuna98: A Threat to npm Ecosystem
Summary
MAL-2025-167962: Malicious code in teagood-yakuna98 (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-yakuna98 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in teagood-yakuna98 stems from the inclusion of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to exploit the npm registry by flooding it with these malicious packages. The ramifications include potential pollution of the npm registry and damage to developer reputations.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-yakuna98
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 prevent the installation of this malicious package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include teagood-yakuna98 in its dependencies.
Conclusion
The presence of malicious code in the teagood-yakuna98 package poses a significant threat to the npm ecosystem. It is crucial for developers to be vigilant and take immediate action to remove this package and monitor their dependencies for vulnerabilities.
See every vulnerability recorded for teagood-yakuna98 →
FAQ
teagood-yakuna98 is an npm package associated with the tea.xyz token reward campaign, which aims to inflate developer reputation scores.
The malicious code modifies your package.json file, potentially leading to the publication of unwanted packages and pollution of the npm registry.
You should uninstall the package immediately using the command npm uninstall teagood-yakuna98.
Yes, you can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.