Malicious Code Injection in teagood-sukuna93: NPM Package Vulnerability
Summary
MAL-2025-167852: Malicious code in teagood-sukuna93 (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-sukuna93 is an NPM package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as malicious, containing scripts that manipulate package metadata and flood the NPM registry with unwanted packages.
Vulnerability Detail
The vulnerability originates from the package's malicious code, which 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 and pollute the NPM registry, leading to potential security risks for users who may unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna93
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 measure, avoid using the teagood-sukuna93 package and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The teagood-sukuna93 package poses a significant risk due to its malicious code that alters package metadata and floods the NPM registry. Users are advised to uninstall this package and monitor their applications for vulnerabilities using tools like Vulert.
See every vulnerability recorded for teagood-sukuna93 →
FAQ
The malicious code can lead to the publication of unwanted packages, which may compromise the integrity of your application and lead to security vulnerabilities.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By analyzing your package-lock.json file, Vulert can help identify if your application is affected. You can also check using the Vulert playground at Vulert Scanner.
No, there is no patch available for this package. The best course of action is to uninstall it and avoid using it.
You should immediately uninstall the package using the command 'npm uninstall teagood-sukuna93' and review your project for any dependencies that may be affected.
Caution is advised. Many packages from the tea.xyz campaign may exhibit similar malicious behavior. Always review package details and consider using well-established alternatives.