Malicious Code Injection in teagood-sukuna1: A Threat to npm Ecosystem
Summary
MAL-2025-167760: Malicious code in teagood-sukuna1 (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-sukuna1 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to incentivize developers through token rewards by flooding the npm registry with derivative packages. It typically includes scripts that automate the generation and publication of these packages, which can lead to reputation inflation for developers involved in the campaign. However, this functionality has been compromised due to the presence of malicious code.
Vulnerability Detail
The vulnerability in teagood-sukuna1 originates from its association with the tea.xyz token reward campaign, which has been identified as a source of malicious packages on npm. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna1
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 avoid using the teagood-sukuna1 package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The presence of malicious code in the teagood-sukuna1 npm package poses a significant threat to developers and the integrity of the npm ecosystem. It is crucial to remove the affected package, monitor your dependencies, and stay informed about potential vulnerabilities to safeguard your projects.
See every vulnerability recorded for teagood-sukuna1 →
FAQ
teagood-sukuna1 is an npm package associated with the tea.xyz token reward campaign, which aims to incentivize developers through token rewards.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to the pollution of the npm registry and potential exploitation.
You should uninstall the package immediately using the command npm uninstall teagood-sukuna1 and ensure that your project dependencies are secure.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.