Malicious Code Injection in teagood-sukuna58: A Threat to npm Users
Summary
MAL-2025-167813: Malicious code in teagood-sukuna58 (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-sukuna58 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry and is intended to facilitate the distribution of software. However, it has been compromised to include malicious scripts that can manipulate package metadata and publish unauthorized variants, posing a significant risk to developers and users relying on npm for package management.
Vulnerability Detail
The vulnerability in teagood-sukuna58 originates from its inclusion in a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file, removing private flags, altering version numbers, and generating random package names. This behavior not only inflates developer reputation scores fraudulently but also pollutes the npm registry, potentially leading to security risks for users who inadvertently install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna58
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, avoid using the teagood-sukuna58 package and monitor your project for any dependencies that may have been affected by this malicious package. You can also utilize tools like Vulert to check for vulnerabilities in your package-lock.json file.
Conclusion
The discovery of malicious code in the teagood-sukuna58 package highlights the importance of vigilance when using open-source packages. Developers should take immediate action to remove affected packages and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for teagood-sukuna58 →
FAQ
teagood-sukuna58 is an npm package that is part of a token reward campaign but has been compromised to include malicious code.
The malicious code can modify your package.json file, remove private flags, and publish unauthorized package variants, potentially leading to security vulnerabilities.
You can use Vulert's playground to check if your application is affected by this vulnerability without any signup required.
You should uninstall the package immediately using 'npm uninstall teagood-sukuna58' and monitor your dependencies for any further issues.
Yes, Vulert can monitor your package-lock.json file for open-source vulnerabilities in real-time, alerting you to any issues.