Malicious Code Injection in teagood-sukuna19: A Threat to npm Users
Summary
MAL-2025-167771: Malicious code in teagood-sukuna19 (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-sukuna19 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry and is intended for developers looking to enhance their reputation scores through token rewards. However, it has been compromised to include malicious scripts that can manipulate package metadata and flood the registry with derivative packages.
Vulnerability Detail
The vulnerability in teagood-sukuna19 stems from its inclusion of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the automatic republishing of these variants. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to inflate developer reputation scores through deceptive practices. The ramifications include potential pollution of the npm registry, loss of developer credibility, and increased difficulty in managing legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna19
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 manually remove the package and avoid using any packages that are part of the tea.xyz token reward campaign. Additionally, consider using tools like Vulert to monitor your package dependencies for vulnerabilities.
Conclusion
The vulnerability in teagood-sukuna19 poses a significant risk to npm users by enabling malicious code execution that can compromise package integrity. It is essential to remove the affected package and utilize monitoring tools like Vulert to safeguard your projects against future vulnerabilities.
See every vulnerability recorded for teagood-sukuna19 →
FAQ
teagood-sukuna19 is an npm package associated with the tea.xyz token reward campaign, aimed at enhancing developer reputation scores.
The malicious code modifies your package.json file, potentially leading to the publication of unauthorized packages and compromising your project's integrity.
You should remove the teagood-sukuna19 package from your project immediately and monitor for any updates or patches.
Yes, regularly audit your dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.