Malicious Code Injection in teagood-sukuna51: A Threat to npm Ecosystem
Summary
MAL-2025-167806: Malicious code in teagood-sukuna51 (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-sukuna51 is a package associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with various packages. This package, like others in the campaign, is designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. Its functionality is compromised due to the presence of malicious scripts that alter package metadata and republish variants, leading to pollution of the npm registry.
Vulnerability Detail
The vulnerability in teagood-sukuna51 stems from the inclusion of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which are then continuously republished to the npm registry. The origin of this issue is linked to the tea.xyz token reward campaign, which incentivizes the creation of such packages, potentially leading to significant ramifications for developers relying on npm for legitimate packages. The technical aspects include the use of autopublish scripts that automate the malicious behavior, making it difficult for users to detect and mitigate the threat.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna51
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-sukuna51 package altogether. If you must use it, consider isolating it in a separate environment and monitor its behavior closely. Additionally, you can use tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The presence of malicious code in the teagood-sukuna51 package poses a significant threat to the npm ecosystem. It is crucial for developers to be aware of such vulnerabilities and take proactive measures to secure their projects. By uninstalling the affected package and utilizing monitoring tools like Vulert, developers can safeguard their applications from potential risks.
See every vulnerability recorded for teagood-sukuna51 →
FAQ
teagood-sukuna51 is an npm package associated with the tea.xyz token reward campaign, which has been linked to malicious activities in the npm ecosystem.
The malicious code modifies your package.json file, removes private flags, and republishes variants, which can lead to pollution of the npm registry and potential security risks.
You should uninstall the package immediately using 'npm uninstall teagood-sukuna51' and monitor your project for any unusual behavior.
Regularly audit your dependencies, use tools like Vulert to monitor for vulnerabilities, and stay updated with security advisories from the npm registry.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.