Malicious Code Detected in electton Package - Security Alert

electton Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-19467: Malicious code in electton (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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The electton package is an npm library designed for specific functionalities within JavaScript applications. It is used by developers to streamline certain processes. However, the package has been identified as containing malicious code, which poses significant security risks to applications that rely on it. This vulnerability can lead to unauthorized access, data breaches, and other malicious activities.

Vulnerability Detail

The vulnerability in the electton package originates from the inclusion of malicious code that can execute harmful actions within the user's environment. This code can compromise the integrity of applications, leading to potential data theft or system manipulation. The malicious nature of this vulnerability makes it critical for developers to address it immediately to safeguard their applications and users.

How To Fix

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

npm uninstall electton

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 remove the electton package from your project until a secure version is released. You can do this by executing the command: 'npm uninstall electton'. This will prevent any malicious code from being executed in your application.

Conclusion

The electton package has been identified as containing malicious code, posing significant risks to applications that utilize it. It is crucial for developers to update or remove the package to protect their applications and users from potential threats. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for electton →

Share this vulnerability

FAQ

The electton package is an npm library used in JavaScript applications for specific functionalities.

The malicious code in electton can execute harmful actions, potentially leading to unauthorized access and data breaches.

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.

As a workaround, you should uninstall the electton package to prevent any malicious code from executing in your application.

Regularly check package repositories and use tools like Vulert to monitor your dependencies for any new vulnerabilities.

How To Fix

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

npm uninstall electton

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