Malicious Code Injection in teagood-sukuna32: A Threat to npm Ecosystem
Summary
MAL-2025-167786: Malicious code in teagood-sukuna32 (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-sukuna32 is a package associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with various packages. This package is designed to interact with the npm ecosystem, potentially affecting developers' reputation scores through automated publishing scripts. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-sukuna32 originates from its malicious payload that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores by continuously republishing variants, leading to pollution of the npm registry. The ramifications include potential security risks for developers who unknowingly use these compromised packages, as well as a degradation of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna32
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-sukuna32 package and monitor your project for any dependencies that may inadvertently include it. You can also utilize tools like Vulert to monitor your package-lock.json file for vulnerabilities.
Conclusion
The discovery of malicious code in the teagood-sukuna32 package highlights the importance of vigilance in the npm ecosystem. Developers should take immediate action to remove this package and monitor their projects for any vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for teagood-sukuna32 →
FAQ
teagood-sukuna32 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The vulnerability can lead to the modification of your package.json file, potentially compromising the security and integrity of your project.
You should uninstall the package immediately using 'npm uninstall teagood-sukuna32' and check your project for any other affected dependencies.
You can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
There are no patches available for teagood-sukuna32 as it is recommended to remove the package entirely from your project.