Malicious Code Injection in teagood-sukuna46 Package
Summary
MAL-2025-167800: Malicious code in teagood-sukuna46 (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
The teagood-sukuna46 package is part of the tea.xyz token reward campaign that has recently flooded the npm ecosystem. 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. It is primarily used within the npm registry, which is a popular package manager for JavaScript and Node.js applications.
Vulnerability Detail
The vulnerability in the teagood-sukuna46 package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of applications that depend on these packages. The origin of this issue is linked to the tea.xyz token reward campaign, which employs autopublish scripts to automate the creation of these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna46
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 teagood-sukuna46 package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for any unauthorized changes to package.json files.
Conclusion
The teagood-sukuna46 package poses a significant risk due to its malicious code that alters package.json files and pollutes the npm registry. It is crucial to remove this package from your projects and monitor for any unauthorized changes. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for teagood-sukuna46 →
FAQ
teagood-sukuna46 is a malicious npm package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores.
The vulnerability can lead to unauthorized changes in your project's package.json file, potentially compromising the integrity of your application and introducing security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without requiring any signup.
If you have installed the teagood-sukuna46 package, you should uninstall it immediately using 'npm uninstall teagood-sukuna46' and monitor your project for any unauthorized changes.
Yes, you should look for alternative packages that provide similar functionality without the associated risks of malicious behavior.