Malicious Code Injection in garducctv-tool: A Threat to npm Packages
Summary
MAL-2025-103056: Malicious code in garducctv-tool (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
The garducctv-tool package is part of the npm ecosystem, which is widely used for JavaScript development. This package, like many others, is intended to provide specific functionalities to developers. However, it has been identified as part of a malicious campaign that exploits npm's package management system, leading to potential security risks for users who incorporate it into their projects.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the garducctv-tool package. This code is part of a broader scheme associated with the tea.xyz token reward campaign, which aims to inflate developer reputation scores by flooding the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only compromises the integrity of the affected package but also pollutes the npm registry, making it difficult for developers to find trustworthy packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall garducctv-tool
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 remove the garducctv-tool package from your project until a secure version is released. Use the following command to uninstall it: npm uninstall garducctv-tool. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The garducctv-tool package has been identified as containing malicious code that poses a significant risk to developers using npm. It is essential to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in your projects.
See every vulnerability recorded for garducctv-tool →
FAQ
garducctv-tool is an npm package that is intended for use in JavaScript development but has been compromised with malicious code.
The malicious code can modify your package.json file, remove private flags, and flood the npm registry with derivative packages, potentially leading to security vulnerabilities.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
If you have installed the garducctv-tool package, it is recommended to uninstall it immediately and check for updates or alternative packages.
Regularly monitor your dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time, ensuring your software remains secure.