Malicious Code Injection in teagood-sukuna96 Package
Summary
MAL-2025-167855: Malicious code in teagood-sukuna96 (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 teagood-sukuna96 package 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 manipulate npm's publishing system, often containing scripts that automatically generate and publish derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, posing significant risks to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the teagood-sukuna96 package originates from its inclusion in a campaign that deploys autopublish scripts (auto.js, autopublish.js, autopublish2.js, autopublish3.js). These scripts modify the package.json file by removing private flags, altering version numbers, and generating random package names. The continuous republishing of these variants leads to pollution of the npm registry, potentially compromising the security and reliability of dependent applications. This malicious activity can result in unauthorized access, data breaches, and a loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna96
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-sukuna96 package and any other packages that are part of the tea.xyz token reward campaign. Regularly audit your dependencies to ensure no malicious packages are included.
Conclusion
The teagood-sukuna96 package poses a significant security risk due to its malicious code designed to manipulate npm's publishing system. It is crucial to remove this package from your projects and monitor your dependencies for similar vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for teagood-sukuna96 →
FAQ
teagood-sukuna96 is a package associated with the tea.xyz token reward campaign, which has been identified as malicious due to its scripts that manipulate npm's publishing system.
The vulnerability can lead to unauthorized modifications of your application's dependencies, potentially exposing your application to security risks and data breaches.
If you have installed teagood-sukuna96, you should uninstall it immediately using 'npm uninstall teagood-sukuna96' and check for any other affected packages.
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 against known vulnerabilities using the Vulert playground.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about known vulnerabilities in the packages you use.