Malicious Code Injection in teagood-sukuna23: A Threat to npm Ecosystem
Summary
MAL-2025-167776: Malicious code in teagood-sukuna23 (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-sukuna23 is an npm package that appears to be part of a larger token reward campaign associated with the tea.xyz protocol. This package is designed to generate and publish derivative packages automatically, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious code that alters package metadata and floods the npm registry.
Vulnerability Detail
The vulnerability in teagood-sukuna23 originates from its malicious payload, which modifies the package.json file by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these tainted packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna23
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 teagood-sukuna23 and any of its derivatives. Additionally, consider using npm audit to identify and address vulnerabilities in your project's dependencies.
Conclusion
The vulnerability in teagood-sukuna23 poses a significant threat to the npm ecosystem, with malicious code capable of altering package metadata and flooding the registry. It is crucial for developers to remove affected packages and monitor their dependencies for vulnerabilities.
See every vulnerability recorded for teagood-sukuna23 →
FAQ
teagood-sukuna23 is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json, removes private flags, and floods the npm registry with tainted packages, potentially compromising your project's integrity.
You should remove the package from your project and monitor for any updates or patches that may address the vulnerability.
You can use tools like npm audit to check for vulnerabilities in your project's dependencies.
Vulert monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.