Malicious Code Injection in teagood-sukuna89: npm Package Vulnerability
Summary
MAL-2025-167847: Malicious code in teagood-sukuna89 (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 package teagood-sukuna89 is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages are designed to inflate developer reputation scores through automated scripts that generate and publish derivative packages with randomized names. The primary function of this package is to participate in the token reward system, but it has been compromised to perform harmful actions.
Vulnerability Detail
The vulnerability in teagood-sukuna89 originates 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 other packages. The malicious code is designed to exploit the npm ecosystem for the benefit of the tea protocol token rewards, posing risks to developers and users relying on npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna89
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 prevent the package from being used in your project by removing it from your dependencies and ensuring that your package-lock.json does not reference it. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The teagood-sukuna89 package has been identified as containing malicious code that poses significant risks to developers and users in the npm ecosystem. Immediate action is required to remove the package and monitor for any further vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for teagood-sukuna89 →
FAQ
teagood-sukuna89 is an npm package that is part of a token reward campaign, which has been compromised to include malicious code.
The malicious code modifies your package.json file, removes private flags, and continuously republishes variants, which can lead to pollution of the npm registry and potential security risks.
You should uninstall the package immediately using npm uninstall teagood-sukuna89 and check your package-lock.json for any references to it.
Currently, there is no patched version available. The best course of action is to remove the package from your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json. Visit Vulert Scanner to check your application.