Malicious Code Injection in teagood-sukuna80: A Threat to npm Users
Summary
MAL-2025-167838: Malicious code in teagood-sukuna80 (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-sukuna80 is a package that is part of the tea.xyz token reward campaign, which has been known to flood the npm registry with various packages. Its primary function is to facilitate token rewards for developers. However, this package has been identified as malicious, containing scripts that automatically generate and publish derivative packages, thereby inflating developer reputation scores and compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-sukuna80 originates from its inclusion in a campaign that employs autopublish scripts (auto.js, autopublish.js, autopublish2.js, autopublish3.js). These scripts modify the package.json file to remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna80
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, consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which analyzes your package-lock.json file to alert you of any open-source vulnerabilities in real-time.
Conclusion
The discovery of malicious code in the teagood-sukuna80 package highlights the importance of vigilance in the npm ecosystem. Developers are advised to remove this package and monitor their projects for vulnerabilities to ensure the security and integrity of their applications.
See every vulnerability recorded for teagood-sukuna80 →
FAQ
teagood-sukuna80 is an npm package associated with the tea.xyz token reward campaign, known for flooding the npm registry with malicious packages.
The malicious code can modify your package.json file, remove private flags, and republish variants, potentially leading to security vulnerabilities in your application.
You should uninstall the package immediately using the command npm uninstall teagood-sukuna80 and consider using alternative packages.
You can use Vulert, which requires only your package-lock.json file to monitor and alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.