Skip to main content
MalwarePublished Updated

electron-internal-utils (npm) · Malicious Code

Affects electron-internal-utilsSource GCVE Database

0

Malicious package : remove electron-internal-utils and rotate any secrets on hosts that installed it.

Data as of 8 Sep 2026, 09:38 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-6186

What to do

Remove electron-internal-utils from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmelectron-internal-utilsAffected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package electron-internal-utils version 1.0.0 contains malicious code that executes a postinstall script during npm install. This script sends a request to an attacker-controlled server, leaking the installer's public IP and DNS resolver metadata. The package itself provides no legitimate functionality and impersonates Electron's internal utilities namespace, indicating a dependency confusion attack. This behavior silently beacons to attacker infrastructure whenever the package is installed.

References

Community reviews

Loading reviews…