Malicious Code Detected in elesctron Package - MAL-2025-19512
Summary
MAL-2025-19512: Malicious code in elesctron (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 elesctron package is a JavaScript library designed for building cross-platform desktop applications using web technologies. It allows developers to create applications that run on Windows, macOS, and Linux. However, this package has been identified to contain malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The elesctron package has been compromised, containing malicious code that can lead to unauthorized access, data breaches, or other harmful actions within the applications that utilize it. This vulnerability originated from the package itself, and it affects all versions starting from 0. The implications of this vulnerability are severe, as it can exploit the trust users place in the package to execute harmful operations.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall elesctron
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
If you cannot update the package immediately, consider removing the elesctron package from your project until a secure version is available. You can do this by running: npm uninstall elesctron.
Conclusion
The elesctron package has been identified with a serious vulnerability due to the presence of malicious code. Users are strongly advised to update or remove the package to mitigate potential risks. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for elesctron →
FAQ
elesctron is a JavaScript library used for building cross-platform desktop applications using web technologies.
The malicious code can lead to unauthorized access and potential data breaches in applications using the elesctron package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
If an immediate update is not possible, consider uninstalling the elesctron package until a secure version is available.
Utilize tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.