Malicious Code Detected in elec5tron Package - Security Alert

elec5tron Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-19381: Malicious code in elec5tron (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The elec5tron package is a Node.js library designed for building Electron applications. It offers developers tools to create cross-platform desktop applications using web technologies. However, recent findings have revealed that this package contains malicious code, posing significant security risks to users and their applications.

Vulnerability Detail

The vulnerability in the elec5tron package originates from the inclusion of malicious code, which can compromise the security of applications that utilize this package. This malicious code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. Users of the elec5tron package are strongly advised to take immediate action to mitigate potential risks.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall elec5tron

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 elec5tron package from your project until a secure version is released. You can do this by executing the command: 'npm uninstall elec5tron'. This will help mitigate the risk of exposure to the malicious code.

Conclusion

The discovery of malicious code in the elec5tron package highlights the importance of maintaining security in open-source software. Users are urged to take immediate action by updating or removing the package to protect their applications from potential threats.

See every vulnerability recorded for elec5tron →

Share this vulnerability

FAQ

The elec5tron package is used for building Electron applications, allowing developers to create cross-platform desktop applications using web technologies.

The malicious code found in elec5tron can lead to unauthorized access and potential data breaches, posing significant security risks.

You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities. By simply using your package-lock.json file, Vulert can help you identify if your application is affected.

Yes, Vulert allows you to monitor vulnerabilities without requiring access to your code or installation. You can use their playground at Vulert Scanner to check for vulnerabilities.

If you cannot update the package right away, it is advisable to uninstall the elec5tron package temporarily to avoid exposure to the malicious code.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall elec5tron

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback