Malicious Code Injection in teagood-sukuna49: A Threat to npm Ecosystem
Summary
MAL-2025-167803: Malicious code in teagood-sukuna49 (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-sukuna49 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm ecosystem, primarily to inflate developer reputation scores through automated publishing of derivative packages. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-sukuna49 originates from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only affects the reputation of developers but also poses a risk of dependency confusion and potential exploitation of other packages relying on the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna49
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 prevent the installation of this package by using npm's package-lock.json file to lock your dependencies. Additionally, consider using a tool like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by visiting the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The discovery of malicious code in teagood-sukuna49 highlights the importance of vigilance in managing npm packages. By understanding the nature of this vulnerability and taking proactive measures, developers can protect their projects from potential threats. Utilize tools like Vulert to stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for teagood-sukuna49 →
FAQ
teagood-sukuna49 is an npm package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores.
The malicious code modifies your package.json, removes private flags, and can lead to dependency confusion, potentially compromising your project's integrity.
You should uninstall the package immediately using npm uninstall teagood-sukuna49 and check your package-lock.json for any references.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. Visit https://vulert.com for more information.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated on security advisories for the packages you use.