Repository navigation
Description
Summary
The official action currently downloads the selected Linear Release CLI asset with curl, makes it executable, and runs it without verifying the downloaded bytes against a checksum, signature, or artifact attestation.
This is a public hardening report about the observable installation path; it contains no credentials, private infrastructure, or exploit material.
Affected code
At install.sh in the current v0.16.0 action commit (0a25abab892a91062ebf42260dbb2ce6277aa205):
- the asset URL is selected from
CLI_VERSION; curl -fsSLdownloads it to$GITHUB_ACTION_PATH/linear-release;chmod +xmarks it executable;- the following composite step executes it.
The GitHub token improves download rate limits/authentication, but it does not authenticate the asset contents.
Why this matters
Pinning linear/linear-release-action by a full commit SHA protects the action source. Pinning cli_version protects the requested release name. Neither pin proves that the downloaded executable bytes match the artifact intended when that action version was reviewed.
The current v0.16.0 release is not marked immutable through the GitHub Releases API. A replaced or corrupted asset would therefore be executed by consumers before they can validate it.
Expected behavior
Please add a fail-closed integrity check before chmod/execution. Any of these would close the gap:
- publish a versioned SHA-256 manifest and verify the selected asset;
- verify a GitHub artifact attestation for the selected subject digest;
- embed the expected per-platform digests in each immutable action release;
- combine checksums/signatures with immutable GitHub releases.
The check should reject missing, malformed, or mismatched provenance rather than warning and continuing.
Suggested acceptance criteria
- every supported OS/architecture asset has trusted integrity metadata;
- the installer validates the downloaded file before execution;
- checksum/signature/attestation mismatch exits non-zero;
- tests cover a valid asset, a tampered asset, missing metadata, and unsupported platform;
- the README documents the integrity and provenance contract.
References
- Action: https://github.com/linear/linear-release-action
- Marketplace: https://github.com/marketplace/actions/linear-release
- CLI releases: https://github.com/linear/linear-release/releases
Thank you for publishing and maintaining the official integration.
Activity
linear-code commentedon Aug 22, 2026
LIN-82854
ci: adopt official Linear Release action (LCV2-4) (#11)
fix(deps): bump linear-release-action to v0.17.1 (#45)