Skip to content

GitHub Actions hardening — static YAML lint (SHA-pinning, pwn-request) #60

Closed

Description

@sandstream

From the build-research epic #50 (recommendation #5). Static, local-first lint of .github/workflows/* for supply-chain footguns — no network:

  • Unpinned action refs — uses: x@v1 / @branch instead of a full commit SHA (tj-actions/changed-files CVE-2025-30066, ~22k repos compromised)
  • "Pwn request" — pull_request_target combined with a checkout of the PR head
  • (optional) overly-broad GITHUB_TOKEN permissions

Emit as SecurityCheckResult (fold into kit check, or a dedicated kit gha-audit). Cites: GHSA-mrrh-fwg8-r2c3, Wiz pwn-request threat model. Ref: epic #50.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions