HardenKitDocs
Guides

GitHub Actions checks

What the scan checks in your workflows.

The scan reads workflows in .github/workflows and composite actions (action.yml).

CheckSeverityWhat it finds
gha-untrusted-checkoutCritical / High / Mediumpull_request_target, issue_comment or workflow_run jobs that check out pull request code: critical when a later step runs it, with the repository's secrets; one level lower when an if: checks who triggered the run first
gha-script-injectionCritical / High${{ }} expressions that paste text anyone can set (pull request titles, branch names, issue and comment bodies, commit messages) into run: scripts or actions/github-script; critical on triggers that hold secrets
gha-write-allHigh / Mediumpermissions: write-all; high on those triggers
gha-hardcoded-secretHighSecrets written into env or action inputs
gha-unsecure-commandsHighACTIONS_ALLOW_UNSECURE_COMMANDS: true
gha-unpinned-actionMediumThird-party actions and reusable workflows referenced by tag or branch instead of a commit SHA, and docker:// images without a digest. Actions from actions/ and github/ are left out
gha-secrets-inheritMediumsecrets: inherit passed to a workflow in another repository
gha-default-permissionsLowWorkflows that don't set permissions, so the token gets the repository default
gha-remote-scriptLowcurl ... | sh in a run: step

Actions are also matched against GitHub's advisories for actions, so a compromised release such as tj-actions/changed-files@v45 (CVE-2025-30066, exploited in the wild) shows up in the upgrade plan. A tag without a patch number (@v45) moves with each release, so it's compared as the newest release of that line. SHA-pinned actions are matched by the version in their trailing comment (@<sha> # v4.2.0). Actions referenced by branch can't be matched.

Skip these checks with --no-actions.