# CI permission-boundary review

Blank working document. Replace placeholders with your own evidence; an empty field is unknown, not a passing result.

Owner: [fill in]
Source revision: [fill in]
Environment: [fill in]
Evidence date: [fill in]

## Identity and review access

Integration owner/repository/revision: ___
Workflow/action/dependency source hashes: ___
Policy export date and coverage: ___
Review host and read-only tool/credential scope: ___
Missing settings or sources: ___

## Trust and credential map

| Event/actor | Job/ref | Executed source or artefact | Token/secret scope | Enforced gate | Evidence |
| --- | --- | --- | --- | --- | --- |
| ___ | ___ | ___ | ___ | ___ | ___ |
Runner persistence and network access: ___
OIDC token-request permission: ___
Provider audience/subject/trust conditions and granted role: ___

## Boundary cases

| Case | Actor-controlled input | Intended allowed/denied operation | Actual control | Evidence/status |
| --- | --- | --- | --- | --- |
| ___ | ___ | ___ | ___ | not tested |
Fork/rerun/reusable-workflow/artefact-substitution gaps: ___

## Proposal and validation

Finding/source locations: ___
Minimal proposed diff: ___
Trusted operation to preserve: ___
Trusted checker/version/command/exit: not run
Static case-review result: ___
Inert fixture test scope/authority/result, if any: not run
Organisation/provider controls not verified: ___

## Change handoff and recovery

Exact change target and existing authority: ___
Known working checkpoint: ___
Failure/stop condition: ___
Recovery operator and route independent of changed CI: ___
Allowed and denied outcomes to observe after a later change: ___
Merge/dispatch/permission-change receipt: not run

## Boundaries

- Do not run untrusted jobs, source downloaded scripts, execute repository build hooks, or enable a workflow merely to see what it can access. Treat event text and artefacts as data; a successful lint is not evidence that a permission boundary holds at runtime.

- The GitHub Actions profile requests editing, terminal and GitHub tools. Its checklist does not restrict those grants. Map Copilot and Claude Code profiles to their documented hosts, or use the role instructions manually; preserve licences and attribution for any copied definitions.

- GitHub MCP read-only tool selection and underlying credential scopes are separate controls. Lockdown filtering does not reduce token authority. Keep secret values, OIDC tokens and private artefact contents out of reports; use redacted scope and trust-policy exports.

- A pinned action reference does not establish the safety of its fetched dependencies, artefact consumers or runner. Record the repository's actual dependency controls and source provenance. Missing organisation or provider controls remain unverified.

- This review prepares local evidence and a diff. Apply already-granted authority only to its exact target and action; otherwise hand off before changing permissions, environment protections or runner policy. A later change must name stop conditions, recovery owner and evidence that intended trusted jobs still work.

Workflow: https://undominated.ai/workflows/#review-a-ci-permission-boundary

Original worksheet: MIT. Linked resources retain their own licences and setup requirements.
