Malicious Code Injection in teagood-sukuna98: A Threat to npm Packages
Summary
MAL-2025-167857: Malicious code in teagood-sukuna98 (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-sukuna98 is an npm package that is part of the tea.xyz token reward campaign. 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. Its functionality is compromised due to the presence of malicious scripts that alter package metadata.
Vulnerability Detail
The vulnerability in teagood-sukuna98 stems from malicious code that modifies the package.json file to remove private flags, changes 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 other packages. The malicious payload is part of a broader scheme to exploit the npm ecosystem for fraudulent gains.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna98
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 by removing it from your project and replacing it with a secure alternative. Ensure that your package-lock.json file is updated accordingly to prevent the installation of compromised packages.
Conclusion
The discovery of malicious code in the teagood-sukuna98 npm package highlights the importance of vigilance in managing open-source dependencies. By understanding the nature of this vulnerability and taking proactive measures, developers can protect their applications from potential threats.
See every vulnerability recorded for teagood-sukuna98 →
FAQ
The malicious code can lead to the pollution of the npm registry, affecting the integrity of other packages and potentially compromising your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
You should uninstall the package immediately using 'npm uninstall teagood-sukuna98' and check for any other affected dependencies.
There are no patches available for teagood-sukuna98 as it is recommended to remove the package entirely.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and only install packages from trusted sources.