Audit GitHub Actions workflows
audit_workflowsSecurity + reliability audit of GitHub Actions workflows: repo=owner/name (all workflows at the default branch, or ref=), url= (one workflow file) or yaml= (the file text). About 30 line-accurate checks: pwn requests (pull_request_target / workflow_run running PR code), script injection from PR titles, branch names and comments, artifact poisoning, leaked credentials, GITHUB_TOKEN permissions, secrets: inherit, unpinned or compromised actions, deprecated actions that now fail, retired runners, self-hosted runners on PRs, ArtiPACKED token leaks, curl|sh, set-output, invalid structure, timeouts. Returns score/grade, findings (rule, severity, file:line, evidence, why, fix), commit-SHA pins resolved live from GitHub and two git-apply patches (safe, hardening). Needs a CI Guard pass (0.50 USDC = 24 h, 3 USDC = 30 days + Team Kit, 8 USDC = 90 days + Team Kit, by plain USDC transfer on Base; see payment_options), or pay per call over HTTP x402 ($0.10) at /v1/gha/audit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_workflows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | No | Resolve commit SHAs for unpinned actions and include them in the patch (default true) | |
| ref | No | Optional branch, tag or commit SHA for repo= (default: the default branch) | |
| url | No | Alternative: https URL of one workflow file (github.com blob/raw, raw.githubusercontent.com, gist) | |
| pass | No | Optional CI Guard pass token (rcg1...). Better: set it once as the MCP header Authorization: Bearer <token>. | |
| repo | No | Public GitHub repository, owner/name or https://github.com/owner/name (e.g. actions/checkout). Audits up to 12 files in .github/workflows at the default branch (or ref). | |
| yaml | No | Alternative: the workflow file text itself (POST JSON {"yaml": "..."} recommended; up to 64 KB) | |
| min_severity | No | Only list findings at or above this severity (counts and score always cover everything). Default info |