WorkflowPromptGuard rules describe enforceable trust boundaries. Default severity reflects the worst supported path; individual findings may be downgraded when a capability is narrower.
Default: Critical
Detects external event content or actor roles reaching an agent with direct repository write permissions or secret-bearing tools.
Preferred fix: keep the agent job read-only, emit structured data, and apply validated writes from a separate scoped job.
Default: Critical
Detects secret or token expressions in conventional agent steps and in GitHub Agentic Workflow tool/MCP configuration.
Provider authentication may be unavoidable in conventional wrappers. Prefer an isolated proxy or GitHub App. Otherwise document the reviewed isolation boundary with a narrow, expiring suppression.
Default: Critical
Detects an agent step output referenced by a later run or privileged action in the same job.
Quoting does not turn model output into trusted code.
Default: High
Detects strict: false, disabled safe-output threat detection, and disabled minimum action
integrity.
Default: High
Detects wildcard shell policy, unrestricted network destinations, and caller-extensible network
allowlists. network.allowed-input is Medium because the caller still passes through the
compiled workflow's controls.
Default: High
Detects target-repo: "*" (Critical) and wildcard entries such as my-org/* in
allowed-repos (High).
Default: High
Detects release, deployment, package, push, and write-capable GitHub operations after an agent in the same job. The agent may change files, binaries, environment state, or background processes that the later step trusts.
Default: Medium
Detects external GitHub Agentic Workflow roles with disabled credit caps, and conventional externally triggered agent jobs without timeout and concurrency controls.
Default: Critical
Detects pull_request_target workflows that check out github.event.pull_request.head and then
execute a script or agent.
Default: High
Detects flexible github.event, branch/ref, and workflow input expressions directly inside
run. Pass the expression through env and consume a quoted shell variable, or use a
purpose-built action input.
Default: Medium; High for recognized agent actions
External uses: values must end in a full 40-character commit SHA. Local actions and
docker:// references are exempt.
Default: Medium
Detects missing explicit permissions, write-all, or individual write scopes in a workflow with
a recognized agent step. Write permissions on untrusted triggers are High.
Use a suppression only when an enforcement boundary exists outside syntax the scanner can see:
ignore:
- rule: AI002
path: .github/workflows/reviewer.yml
reason: Secret is mounted only in an isolated provider proxy; review SEC-142.
expires: 2026-12-31Reasons are mandatory. Prefer exact paths over broad globs and include an expiry for temporary exceptions.