Malicious Code Injection in teagood-sukuna43: A Threat to npm Packages
Summary
MAL-2025-167797: Malicious code in teagood-sukuna43 (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-sukuna43 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as malicious due to its functionality that includes autopublishing scripts which manipulate package metadata and flood the npm registry with random package names.
Vulnerability Detail
The vulnerability in teagood-sukuna43 originates from its malicious code that modifies the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This not only affects the integrity of the npm ecosystem but also inflates developer reputation scores fraudulently, posing a significant risk to developers and users relying on npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-sukuna43
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 and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The discovery of malicious code in the teagood-sukuna43 package highlights the importance of vigilance in the npm ecosystem. Developers should take immediate action to remove affected packages and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for teagood-sukuna43 →
FAQ
teagood-sukuna43 is an npm package involved in 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 with malicious packages, potentially compromising your application's integrity and security.
You should uninstall the package immediately and check for any dependencies that may also be affected. Regularly update your packages to ensure security.
Yes, you can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.