Malicious Code Injection in teagood-sukuna72: A Threat to npm Ecosystem
Summary
MAL-2025-167829: Malicious code in teagood-sukuna72 (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-sukuna72 is an npm package that is part of the tea.xyz token reward campaign, which has been associated with the proliferation of malicious packages in the npm registry. This package is designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is compromised by malicious scripts that alter package metadata and republish variants, leading to potential security risks for users.
Vulnerability Detail
The vulnerability in teagood-sukuna72 originates from its inclusion in a campaign that floods the npm registry with malicious packages. The package contains scripts that modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior not only pollutes the npm registry but also poses a risk of unintentional dependency on malicious code for developers who may unknowingly install these packages. The ramifications include potential data breaches, unauthorized access, and a compromised development environment.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna72
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 affected package by removing it from your dependencies. Use the following command to uninstall it: npm uninstall teagood-sukuna72. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The teagood-sukuna72 package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package from their projects and monitor their dependencies for any vulnerabilities. Utilizing tools like Vulert can aid in maintaining a secure development environment.
See every vulnerability recorded for teagood-sukuna72 →
FAQ
teagood-sukuna72 is an npm package associated with the tea.xyz token reward campaign, known for flooding the npm registry with malicious packages.
The vulnerability can lead to the installation of malicious code, which may compromise your project's security and integrity.
You should immediately uninstall the package using npm uninstall teagood-sukuna72 and monitor your project for any unusual behavior.
Yes, Vulert can monitor and alert you in real-time 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.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.