Skip to content

epic: improve installer and cli install security #164

Description

@nc9

From a security review of the full install path: install.sh, install.ps1, and the CLI self-updater (apps/cli/src/self/releases.ts).

Where we stand today: sha256 verification of downloaded binaries is mandatory on all three surfaces, and the CLI updater strictly validates every manifest field (version, filename, sha256 format, size) before building URLs. The remaining gaps are transport hardening and runtime robustness in the shell installers, plus release signing as the larger structural upgrade.

Invariant to preserve across all child issues: install.sh, install.ps1, and releases.ts keep their validation and verification behaviour in lockstep. When one surface gains a check, the others get it too unless the platform makes it impossible.

Children:

Acceptance Criteria

Activity

  1. added
    enhancement
    P2
    security
    on Sep 1, 2026
  2. nc9 commented on Sep 23, 2026

    @nc9
    ContributorAuthor

    Status: #165 and #166 are closed. Open: #167 (manifest field validation in the shell installers), #168 (install.sh runtime hardening), #169 (provenance verification, the attestation itself already exists), and #213 (redirect cap in the npm postinstall downloader, filed as part of this epic).

  3. added
    size: L
    on Sep 23, 2026
  4. added theissue type on Oct 28, 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

    P2enhancementsecuritysize: L

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions