1
    Github Actions Permission Hardener

    Github Actions Permission Hardener

    Audit and harden GitHub Actions workflows against overbroad permissions, secrets exposure, and supply-chain risks.

    Updated Jun 2026
    Security scanned
    Works with Claude Code

    $19

    · or 95 credits

    30-day refund guarantee

    Secure checkout via Stripe

    Included in download

    • Enforce least-privilege GITHUB_TOKEN permissions across all workflows
    • Identify and fix unsafe pull_request_target configurations
    • terminal, file_read automation included
    • Ready for Works with Claude Code
    • Instant install

    Sample input

    Audit my .github/workflows/deploy.yml file for security risks and suggest hardening steps.

    Sample output

    ### Confirmed Findings - **High**: Overbroad permissions. `permissions: write-all` detected. - **Medium**: Unpinned Action. `uses: actions/checkout@v2` should use a SHA. ### Fix ```yaml permissions: contents: read deployments: write ``` (Apply fix? [Y/N])

    About This Skill

    Secure Your CI/CD Pipeline

    GitHub Actions are the backbone of modern CI/CD, but misconfigured permissions can turn your automation into a security liability. This skill provides a specialized, evidence-first security audit and hardening workflow for your GitHub Actions YAML configurations.

    What it does

    The Permission Hardener goes beyond basic linting. It performs a deep heuristic scan of your workflow files to identify high-risk patterns that automated tools often miss. It evaluates:

    • Permission Scoping: Identifies overbroad GITHUB_TOKEN permissions and suggests least-privilege alternatives.
    • Supply Chain Security: Detects unpinned actions and unverified third-party scripts.
    • Triggers & Injection: Flags unsafe pull_request_target usage and potential script injection points.
    • Resilience: Spots missing timeouts, concurrency conflicts, and cache poisoning risks.

    Why use this skill

    While generic AI prompts might give you vague advice, this skill uses a structured workflow involving local heuristic scripts and a specialized audit checklist. It ranks findings by severity (Critical to Info), provides exact evidence for every claim, and generates copy-paste remediation snippets that follow GitHub security best practices.

    Output Format

    Results are delivered in a developer-ready format including a scope of inspection, severity-ranked findings with cited evidence, and safe remediation templates. It clearly separates confirmed risks from hypotheses requiring manual verification.

    Use Cases

    • Enforce least-privilege GITHUB_TOKEN permissions across all workflows
    • Identify and fix unsafe pull_request_target configurations
    • Pin third-party actions to specific SHAs to prevent supply chain attacks
    • Detect potential secrets leakage and insecure environment variable usage
    • Audit CI resilience issues like missing timeouts or cache poisoning risks

    Reviews

    No reviews yet - be the first to share your experience.

    Only users who have downloaded or purchased this skill can leave a review.

    Security Scanned

    Passed automated security review

    Permissions

    Terminal / Shell
    Read Files

    File Scopes

    github-actions-permission-hardener/**
    .github/workflows/*.yml
    .github/workflows/*.yaml
    workflow YAML snippets pasted by the user

    Use read-only inspection first. The bundled scanner is a Python standard-library helper that reads matching files and prints markdown or JSON findings. It does not install dependencies, transmit data, call paid APIs, connect to live services, or modify files. Any write, install, deploy, payment, delete, reset, live-account action, or external network lookup requires explicit user confirmation.

    Works with Claude Code, Codex CLI, Cursor, OpenCode/OpenClaw, Gemini CLI, and other agents that load SKILL.md folders. The bundled scanner uses Python 3 standard library only and degrades to manual checklist mode when Python or matching project files are unavailable.

    Frequently Asked Questions

    $19