Guide for reviewing GitHub Actions for security vulnerabilities.
This skill analyzes GitHub Actions workflows for security vulnerabilities and misconfigurations that could lead to code injection, privilege escalation, or credential exposure.
| Tool | Purpose |
|---|---|
mcp_github-mcp_get_ref |
Retrieves a Git reference, useful for verifying action SHAs |
mcp_github-mcp_list_tags |
Lists all tags for a given repository, useful for identifying action versions |
mcp_github-mcp_get_repository |
Fetches repository details, useful for context on workflows |
Use this skill when you need to:
Locate Workflow Files
.github/workflows/ directory for all *.yml and *.yaml filesReview Trigger Events
pull_request_target, workflow_run, or issue_commentInspect Action Pinning
actions/checkout@a12b3c4... ✅ vs actions/checkout@v4 ⚠️Analyze Script Injection Risks
${{ }} expressions in run: blocksgithub.event.issue.title, github.event.comment.body, github.event.pull_request.title, github.head_refReview Permissions
permissions: are set at job or workflow levelcontents: read as default)Check Secret Handling
For detailed vulnerability patterns, secure code examples, best practices, and remediation guidance, see reference.md.