Guides
GitHub Actions checks
What the scan checks in your workflows.
The scan reads workflows in .github/workflows and composite actions (action.yml).
| Check | Severity | What it finds |
|---|---|---|
gha-untrusted-checkout | Critical / High / Medium | pull_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-injection | Critical / 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-all | High / Medium | permissions: write-all; high on those triggers |
gha-hardcoded-secret | High | Secrets written into env or action inputs |
gha-unsecure-commands | High | ACTIONS_ALLOW_UNSECURE_COMMANDS: true |
gha-unpinned-action | Medium | Third-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-inherit | Medium | secrets: inherit passed to a workflow in another repository |
gha-default-permissions | Low | Workflows that don't set permissions, so the token gets the repository default |
gha-remote-script | Low | curl ... | 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.