Malicious Code Injection in teagood-yakuna37: A Threat to npm Ecosystem
Summary
MAL-2025-167895: Malicious code in teagood-yakuna37 (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-yakuna37 is a package associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages are designed to inflate developer reputation scores through the automatic generation and publishing of derivative packages. The malicious nature of this package lies in its ability to modify critical files and continuously pollute the npm registry.
Vulnerability Detail
The vulnerability in teagood-yakuna37 originates from its design to execute autopublish scripts that alter the package.json file by removing private flags and changing version numbers. This allows the package to generate random names, often themed around Indonesian culture, and republish these variants, leading to potential misuse of the npm registry and compromising the integrity of the ecosystem. The malicious payload can affect developers by inflating their reputation scores artificially and may lead to the proliferation of insecure packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-yakuna37
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 workaround, you can monitor your project's dependencies using tools like Vulert, which utilizes package-lock.json to alert you in real-time about open-source vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The discovery of malicious code in teagood-yakuna37 highlights the importance of vigilance in managing npm packages. By understanding the nature of this vulnerability and taking appropriate action, developers can protect their projects from potential threats. Utilizing tools like Vulert can further enhance security by providing real-time monitoring for vulnerabilities.
See every vulnerability recorded for teagood-yakuna37 →
FAQ
teagood-yakuna37 is an npm package linked to the tea.xyz token reward campaign, known for flooding the npm registry with malicious packages.
The vulnerability allows the package to modify your project's package.json file and republish malicious variants, potentially compromising your project's integrity.
You should uninstall the package immediately using the command npm uninstall teagood-yakuna37 and check for any other affected packages.
It is advisable to avoid any packages associated with the tea.xyz campaign due to their history of malicious behavior.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities and alerts you in real-time.