GitHub Actions Security Hardening Kit — Audit Your Workflows in an Afternoon, Fix the Six Risk Classes in One Week
The step-by-step audit method, checklist, and enforcement templates a small dev team needs to close the workflow gaps that actually get exploited — unpinned actions, over-privileged tokens, untrusted PR code, and standing PATs.
Your GitHub Actions workflows probably contain at least one of six configuration risk classes: actions pinned to movable tags, tokens with far more power than the job needs, pull_request_target workflows executing untrusted PR code, shell injection through ${{ }} interpolation, long-lived personal access tokens doing the built-in token's job, and curl | bash installers fetched fresh on every run. This kit shows you how to find every instance in your own repo in about 30 minutes, fix them in severity order over one focused week, and add a CI gate that keeps them from coming back.
What's inside:
- Main guide — the full method: inventory → severity triage → the afternoon audit → the six risk classes with before/after YAML → enforcement → 1-week sprint plan
- Security Audit Checklist — the whole audit as a one-page checklist; a full repo pass takes ~30 minutes
- Hardened Starter Workflow (YAML) — a drop-in CI workflow that models every rule in the guide
- Workflow Security Gate (YAML) — an enforcement check that fails PRs reintroducing unpinned refs, missing permissions, pull_request_target head checkouts, or direct event interpolation
- Findings Report template — a per-repo register with a severity rubric and one structured entry per finding
For tech leads and small dev teams (2–30 engineers) shipping with GitHub Actions who have never done a dedicated workflow-security pass. Instant download (ZIP). One purchase covers use inside your organisation, including client repositories you maintain. Support: codeops.contact@gmail.com.