What problem does it solve?
GitHub Actions workflows contain security risks that general code linters miss: ${{ }} expressions paste attacker-controlled text directly into shell commands, privileged triggers like pull_request_target can hand write tokens and secrets to outside contributors, and mutable action tags expose pipelines to supply-chain compromise. This Skill audits workflow files against the Actions-specific threat model and produces concrete fixes.
Core Features & Use Cases
- Script Injection Detection: Identifies attacker-controllable
${{ }} contexts (issue titles, PR bodies, branch names) interpolated into run: steps and github-script blocks, with the safe env:-variable rewrite pattern.
- Privilege and Trigger Analysis: Classifies triggers by trust level, flags
pull_request_target/workflow_run workflows that execute fork code, and audits permissions: blocks for least-privilege GITHUB_TOKEN scoping.
- Supply-Chain Hardening: Enforces SHA-pinning of third-party actions, Dependabot configuration for action updates, OIDC instead of long-lived cloud secrets, and safe artifact/cache handling.
- Use Case: A maintainer asks "is this workflow safe?" before merging a contributor's CI change. The Skill maps triggers, hunts injection sinks, checks action pinning, and returns a severity-ranked report with before/after YAML fixes.
Quick Start
Ask the assistant to review the workflow file at .github/workflows/ci.yml for security issues and produce a hardening report.