Malicious Code Injection in teagood-sukuna88: A Threat to npm Ecosystem
Summary
MAL-2025-167846: Malicious code in teagood-sukuna88 (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-sukuna88 is a package within the npm ecosystem, 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 the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-sukuna88 originates from its inclusion in a campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. This can result in developers unknowingly using compromised packages, which may lead to security breaches and 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-sukuna88
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 workaround, you can avoid using the teagood-sukuna88 package and monitor your dependencies for any malicious packages. Additionally, consider using tools like Vulert to scan your package-lock.json 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-sukuna88 package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and floods the registry with compromised packages. It is crucial for developers to remove this package and utilize tools like Vulert to ensure their applications remain secure.
See every vulnerability recorded for teagood-sukuna88 →
FAQ
teagood-sukuna88 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file, removes private flags, and generates random package names, potentially leading to security vulnerabilities in your project.
You should remove the package from your project and monitor for any updates or patches that may address the vulnerability.
You can use the Vulert playground at Vulert Scanner to scan your package-lock.json for vulnerabilities without needing to sign up.
Yes, tools like Vulert can help monitor and alert you in real-time for open-source vulnerabilities in your software.