Malicious Code Injection in teagood-sukuna81: npm Package Vulnerability
Summary
MAL-2025-167839: Malicious code in teagood-sukuna81 (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-sukuna81 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 automatically generating and publishing derivative packages. However, it has been identified as containing malicious scripts that compromise its integrity and the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-sukuna81 originates from its inclusion in a campaign that floods the npm registry with malicious packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry with potentially harmful packages, posing risks to developers who may unknowingly install them.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna81
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 teagood-sukuna81 package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before installation.
Conclusion
The teagood-sukuna81 package poses significant risks due to its malicious code that alters project files and pollutes the npm registry. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for teagood-sukuna81 →
FAQ
The primary risk is that it contains malicious scripts that can modify your project files and publish unauthorized packages, compromising your project's integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
If you have installed teagood-sukuna81, you should uninstall it immediately using the command npm uninstall teagood-sukuna81 and look for safer alternatives.
Yes, you should look for other npm packages that provide similar functionality but are verified and do not have a history of malicious behavior.
Regularly audit your dependencies using tools like npm audit, and consider using services like Vulert to monitor for vulnerabilities in real-time.