Malicious Code Injection in teagood-sukuna39: A Threat to npm Ecosystem
Summary
MAL-2025-167792: Malicious code in teagood-sukuna39 (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-sukuna39 is a package associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through automated publishing scripts. Its primary function is to generate and publish derivative packages with randomized names, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in teagood-sukuna39 stems from its malicious code that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior not only inflates developer reputation scores but also poses a risk of introducing untrusted code into projects that depend on these packages, potentially leading to security breaches and instability in applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna39
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-sukuna39 package and monitor your project for any dependencies that may inadvertently include it. Regularly check your package-lock.json file for any signs of this malicious package.
Conclusion
The teagood-sukuna39 package poses a significant risk due to its malicious code that alters package metadata and repopulates the npm registry with untrusted packages. It is crucial for developers to remove this package and monitor their projects for any vulnerabilities to maintain application security.
See every vulnerability recorded for teagood-sukuna39 →
FAQ
teagood-sukuna39 is an npm package linked to the tea.xyz token reward campaign, which is known for flooding the npm registry with malicious packages.
The malicious code modifies your package.json file, removes private flags, and can introduce untrusted code, potentially compromising your application's security.
You should uninstall the package immediately using npm uninstall teagood-sukuna39 and check your project for any other affected dependencies.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about known vulnerabilities in the packages you use.