Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in electron-orbit (npm)

0
High
Published: 07/01/2026 (07/01/2026, 21:15:10 UTC)
Source: GCVE Database
Product: electron-orbit

Description

The electron-orbit npm package contains malicious code that activates when required in Node.js environments. It establishes a covert network connection using a custom TLS 1.3 implementation to an Azure blob storage endpoint, bypassing standard TLS interception and static inspection. The package collects environment variables related to PATH and the current working directory, sending this data encoded in the request URL to the attacker-controlled server. Activation is conditional, triggered only when a specific environment variable's SHA-256 hash matches a hardcoded value, allowing targeted execution in chosen environments such as CI pipelines. The package's advertised functionality is a pretext; it does not perform legitimate icon fetching or SVG rendering as claimed.

Affected software

npmghsa
electron-orbit
Affected versions
=1.0.21=1.0.11=1.0.14=1.0.4=1.0.22=1.0.23=1.0.13=1.0.20=1.0.26=1.0.10=1.0.15=1.0.12=1.0.3=1.0.33=1.0.34=1.0.36=1.0.28=1.0.27=1.0.29=1.0.30=1.0.25=1.0.7=1.0.16=1.0.5=1.0.9=1.0.8=1.0.6=1.0.24=1.0.32=1.0.18=1.0.31

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/14/2026, 10:47:13 UTC

Technical Analysis

The electron-orbit npm package, when imported, unconditionally initiates an auto-prefetch pipeline in Node.js contexts that opens a raw TCP socket to electronorbit.blob.core.windows.net on port 443. Instead of using standard HTTPS libraries, it implements a custom TLS 1.3 stack with XOR-obfuscated network strings to evade detection. During installation, it writes a marker file containing environment variables related to PATH and the current working directory, as well as system information in a decoy file. Upon require, it reads and encodes this marker data, appending it as a query string to the Azure blob URL, thereby exfiltrating environment details via HTTP request logs. The payload activates only if the SHA-256 hash of the environment variable BuildType matches a hardcoded substring, enabling stealthy, targeted activation. The package's claimed purpose of Electron runtime discovery is a cover for this malicious behavior.

Potential Impact

This malicious package exfiltrates sensitive environment information, including PATH variables and working directory, to an attacker-controlled Azure blob storage endpoint. The use of a custom TLS stack and obfuscation techniques bypasses standard network inspection tools, increasing stealth. Activation gating by a specific environment variable hash enables targeted attacks, reducing detection risk. This can lead to exposure of sensitive build or runtime environment details, potentially aiding further attacks or reconnaissance.

Mitigation Recommendations

No official patch or remediation is currently documented for this package. Users should avoid installing or requiring the electron-orbit npm package in their projects. Review dependency trees for inclusion of this package and remove or replace it with trusted alternatives. Monitor for any updates from the package maintainers or npm advisories for remediation guidance. Since this is a malicious package, the best mitigation is to prevent its use entirely.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-6723
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a46ed1627e9c7971944735f

Added to database: 07/02/2026, 22:58:30 UTC

Last enriched: 07/14/2026, 10:47:13 UTC

Last updated: 07/31/2026, 07:20:27 UTC

Views: 51

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses