Github Actions Security Review

Audits and hardens GitHub Actions workflows against the OWASP GitHub Actions Security Cheat Sheet: dangerous triggers (pull_request_target, workflow_run, issue_comment), unpinned or impostor third-party actions, GITHUB_TOKEN over-permissioning, script injection, secrets handling (static creds, secrets: inherit, masking, secret scanning, persist-credentials), artifact/cache poisoning, self-hosted runner risk, egress restriction, repo hardening, AI-assistant-in-CI/CD risk, and static analysis (CodeQL actions, Zizmor). Use whenever a user asks to review, audit, secure, or harden a GitHub Actions workflow or CI/CD pipeline; mentions .github/workflows, GITHUB_TOKEN, pull_request_target, workflow_run, self-hosted runners, action pinning, OIDC/trusted publishing, or Zizmor/CodeQL for Actions; or wants a new workflow written securely. Always run the Security Gate before returning Actions YAML, whether reviewing existing files or generating new ones.

Fyzel fd256ed 7 files · 43.1 KB Updated

File contents

Fyzel/claude-skills/tree/main/skills/github-actions-security-review commit fd256ed38c

Frequently asked questions

npx skillmds@latest add fyzel/github-actions-security-review