Malicious Code Injection in teagood-sukuna94: A Threat to npm Ecosystem
Summary
MAL-2025-167853: Malicious code in teagood-sukuna94 (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 package 'teagood-sukuna94' is part of the tea.xyz token reward campaign that has infiltrated the npm ecosystem. It is designed to generate and publish derivative packages automatically, which can inflate developer reputation scores for token rewards. This package, like others in the campaign, contains scripts that manipulate package metadata and continuously republish variants, leading to pollution of the npm registry.
Vulnerability Detail
The vulnerability in 'teagood-sukuna94' originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these tainted packages, potentially leading to security breaches and reputation damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna94
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-sukuna94' and any packages that depend on it. Additionally, consider using npm audit to identify and address vulnerabilities in your project. Example command: npm audit.
Conclusion
The 'teagood-sukuna94' package presents a significant threat to the npm ecosystem due to its malicious code that alters package metadata and republish behavior. It is essential for developers to remove this package and monitor their dependencies for vulnerabilities to ensure the security of their projects.
See every vulnerability recorded for teagood-sukuna94 →
FAQ
'teagood-sukuna94' is an npm package associated with the tea.xyz token reward campaign, known for its malicious behavior.
This vulnerability can lead to the introduction of malicious code into your project, compromising its security and integrity.
You should immediately remove the package from your project and check for any other affected dependencies.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.