Skip to content

Release integrity and installer hardening #26

Closed

Description

@otzpt

Release integrity and installer hardening. These were reported by a sweep and the second reviewer rejected them; they are kept here for a decision.

  • install.sh extracts the downloaded tarball with no checksum or signature check. Needs the workflow to publish codelearner-linux-x86_64.tar.gz.sha256 and install.sh to verify it.
  • install.sh writes the install prefix unquoted into the generated wrapper; a prefix containing " or $ breaks it. Low risk (the user supplies the prefix).
  • softprops/action-gh-release@v3 holds contents: write and is referenced by a movable tag. Pin to a commit SHA.
  • release.yml grants contents: write at workflow level; consider job-level permissions.
  • Linux bundle does not ship the git/ course though the launcher lists it (fix drafted on fix/bug-sweep).

Activity

  1. added
    enhancement
    on Nov 9, 2026
  2. otzpt commented on Nov 9, 2026

    @otzpt
    OwnerAuthor

    All five items landed in #27: checksum verification in install.sh with a published .sha256, quoted install paths, the release action pinned to a commit, contents: write limited to the release job, and the Git course in the Linux bundle.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions