Malicious Code Injection in teagood-sukuna71: A Threat to npm Users
Summary
MAL-2025-167828: Malicious code in teagood-sukuna71 (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-sukuna71 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry, but it has been identified as malicious due to its functionality that includes generating and publishing derivative packages with randomized names. The primary purpose of this package appears to be to inflate developer reputation scores for rewards associated with the tea protocol, rather than providing legitimate functionality.
Vulnerability Detail
The vulnerability in teagood-sukuna71 arises from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of other packages. The origin of this vulnerability is linked to a broader campaign that exploits npm's publishing mechanisms, making it a significant concern for developers 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-sukuna71
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 teagood-sukuna71 package and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any changes that may indicate the presence of malicious packages.
Conclusion
The teagood-sukuna71 package poses a significant risk due to its malicious code designed to manipulate the npm registry. Developers should take immediate action to remove this package and monitor their projects for any signs of compromise. Utilizing tools like Vulert can help in maintaining the security of your open-source dependencies.
See every vulnerability recorded for teagood-sukuna71 →
FAQ
teagood-sukuna71 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project and other packages you depend on.
If you have installed teagood-sukuna71, it is advisable to remove it from your project and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground without any signup.
To prevent future vulnerabilities, regularly audit your dependencies, use trusted sources for packages, and consider implementing automated tools for vulnerability detection.