Skip to content

Bound verification subprocesses in the verified Vex installer #173

Closed

Description

@LunaStev

Audited against merged master 13289d7a74ad45561554bbb6673a189dbb192a27 (PR #161).

Problem

Downloads have a timeout, but the installer invokes both gh attestation verify and the candidate binary's --version without a subprocess timeout. Either process can leave installation waiting indefinitely. This finding is based on the subprocess call sites; no live installation was deliberately hung.

Scope and acceptance

  • Give these two verification subprocesses explicit finite deadlines.
  • Handle subprocess.TimeoutExpired with an actionable error naming the failed verification step, without an unhandled traceback.
  • Preserve an existing installed binary on either timeout and clean temporary installation files.
  • Extend the existing mocked installer tests to simulate each timeout and assert destination preservation and cleanup.
  • Keep checksum, provenance and exact-version verification mandatory; timeout must never fall back to installing an unverified candidate.

No new retry system, installer replacement or live network test is requested.

Starting points

This is a bounded follow-up suitable for a first contribution; no broader feature redesign is requested.

Activity

  1. added
    bug
    good first issue
    release
    stability
    on Oct 18, 2026
  2. self-assigned this
    on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buggood first issuereleasestability

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions