Skip to content

Audit and remediate the standalone Electron dependency graph #86

Open

Description

@BinaryOutlook

The root dependency audit does not cover the standalone Electron lockfile. The 2026-09-27 audit found 24 affected dependency records in electron/ while the root audit returned zero; triage that graph and establish an independent gate before distributing standalone builds.

Priority: P2 / Medium, provisional. Dependency-advisory severity is not confirmed application severity. No exploit or reachability demonstration was performed; escalate if triage establishes a reachable higher-impact issue.

Reproduction and findings

Using Node from .node-version at the audited source, run separately:

# Repository root
npm ci
npm audit --json

# Standalone desktop package
cd electron
npm ci
npm audit --json

The recorded Electron result was 1 critical, 22 high, 1 low affected dependency records. Direct affected entries include Electron 28.3.3 and electron-builder 25.1.8; the critical record was the transitive tar package, including GHSA-23hp-3jrh-7fpw. Counts can overlap through dependency chains and may change when advisory data changes; record the audit timestamp and resolved graph.

Scope and acceptance criteria

  • Distinguish shipped runtime exposure from installation/build-tool exposure and document reachability or justified exceptions.
  • Upgrade/remediate the affected graph without assuming that every suggested major upgrade is automatically compatible.
  • Add a separate Electron dependency audit/validation gate with clear ownership alongside the existing VSIX gate.
  • Compile and exercise the desktop app after changes, including Preferences, editing, source/save/reopen and the packaging paths intended for distribution.
  • Record installer/platform evidence separately from development-app tests.

Do not treat this as adding standalone export or expanding the supported platform matrix. Successful Electron table/Preferences probes during the audit did not resolve advisory findings or validate installers.

Source evidence

The VSIX workflow installs and audits the root package. The separate Electron manifest and Electron lockfile define the uncovered graph.

Build identity and verification boundary

Recorded during the 2026-09-27 audit of #80 at ffbdad524d393aa783760f4829cb995d8b9d6405 (package version 0.4.0), using Node 24.21.0 on macOS ARM64. The tested product source was unmodified. This is an unreleased development snapshot.

Findings are from repository inspection and the specific checks described above. They are scoped to the recorded revision; a passing broader suite does not resolve these findings.

Reproduce and validate changes using the checkout's build guide and testing guide. Keep evidence synthetic and sanitized.

Activity

  1. added
    bug
    on Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions