Malicious Code Detected in elect5on Package - Security Alert

elect5on Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-19400: Malicious code in elect5on (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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The elect5on package is a Node.js library designed for specific functionalities within web applications. It is utilized by developers for its ease of integration and robust features. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that rely on it.

Vulnerability Detail

The vulnerability stems from the presence of malicious code within the elect5on package, which was introduced in version 0. This malicious code can lead to unauthorized access, data breaches, and potential exploitation of the systems using this package. The ramifications can be severe, affecting both the integrity of the application and the security of user data.

How To Fix

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

npm uninstall elect5on

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, you can avoid using the elect5on package in your application until a secure alternative is found. Review your package-lock.json file to identify any dependencies that may rely on elect5on and consider removing or replacing them.

Conclusion

The discovery of malicious code in the elect5on package poses a significant threat to applications using it. It is essential to take immediate action by removing the package and monitoring for updates or secure alternatives. Utilizing tools like Vulert can help in identifying vulnerabilities in your projects.

See every vulnerability recorded for elect5on →

Share this vulnerability

FAQ

The elect5on package is a Node.js library used in web applications for various functionalities, but it has been found to contain malicious code.

The malicious code was identified through security audits and reports from security tools like Amazon Inspector.

Using elect5on can lead to unauthorized access, data breaches, and exploitation of your application, compromising user data and security.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.

Remove the elect5on package from your project and replace it with a secure alternative. Ensure to review your dependencies for any reliance on elect5on.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

npm uninstall elect5on

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