Malicious Code Detected in gercon Package - Security Alert
Summary
MAL-2025-21357: Malicious code in gercon (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 gercon package is an npm library designed for handling various functionalities related to remote control and automation tasks. It is widely used in applications that require integration with smart devices. However, recent findings have revealed that this package contains malicious code, posing a significant risk to users and their applications.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the gercon package, which was introduced in version 0 and affects all subsequent versions. This malicious code can potentially lead to unauthorized access, data breaches, or other harmful actions within the applications that utilize this package. Users of gercon should be aware of the risks associated with its use and take immediate action to mitigate potential threats.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gercon
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 measure, consider removing the gercon package from your project until a secure version is released. You can do this by executing the following command: 'npm uninstall gercon'. This will help prevent any potential exploitation of the malicious code while you await a fix.
Conclusion
The discovery of malicious code in the gercon package poses a serious threat to users and their applications. It is crucial for developers to take immediate action by updating or removing the package to safeguard their projects. Staying informed about such vulnerabilities is essential for maintaining the security of software applications.
See every vulnerability recorded for gercon →
FAQ
The gercon package is used for remote control and automation tasks in applications that integrate with smart devices.
The malicious code was identified through security assessments conducted by Amazon Inspector, which flagged the package for containing harmful elements.
If you are using gercon, you should immediately update the package to the latest version or remove it from your project until a secure version is released.
Yes, you can use Vulert to monitor and alert you in real-time for open-source vulnerabilities. You can check your application using the Vulert playground without any signup.
Using the gercon package with the malicious code can lead to unauthorized access, data breaches, and other harmful actions within your application.