Malicious Code Injection in teagood-sukuna53: A Threat to npm Ecosystem
Summary
MAL-2025-167808: Malicious code in teagood-sukuna53 (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-sukuna53 is a package associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. These packages often contain scripts that automatically generate and publish derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards. The malicious nature of this package poses a significant risk to developers and users relying on npm for package management.
Vulnerability Detail
The vulnerability in teagood-sukuna53 originates from its design to include autopublish scripts that modify the package.json file. These scripts 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 compromises the integrity of the packages, potentially leading to security risks for developers who unknowingly integrate these malicious packages into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna53
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 avoid using the affected package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use tools like Vulert to monitor your project for vulnerabilities. For example, 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 teagood-sukuna53 package poses a significant threat due to its malicious code that modifies package metadata and floods the npm registry. It is crucial for developers to be vigilant and remove any affected packages from their projects. Utilizing tools like Vulert can help in monitoring and maintaining the security of your applications.
See every vulnerability recorded for teagood-sukuna53 →
FAQ
teagood-sukuna53 is an npm package linked to the tea.xyz token reward campaign, known for flooding the npm registry with malicious packages.
The vulnerability can lead to the introduction of malicious code into your project, compromising its security and integrity.
You should uninstall the package immediately using 'npm uninstall teagood-sukuna53' and check for any other affected packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.