CI/CD admin
Why Tier 1
Tier 1 because it includes Secrets: Write (organization), Self-hosted runners: Write (organization), Administration: Write (organization) (in part).
Manages Actions policies, runners, runner groups, hosted compute networks, secrets, variables and usage metrics.
Can reach a higher tier
- Secrets: Write
Can reach T0 when an organization secret holds an organization-wide credential, such as an owner's classic PAT or a GitHub App private key, and the caller can change workflows in any repository it can add to that secret.
Inferred from: GitHub Docs: secrets, GitHub Docs: secure use
- Self-hosted runners: Write
Can reach T0 when jobs that run in a runner group hold an organization-wide credential, such as an owner's token or a GitHub App private key: a runner registered into that group with the labels those jobs ask for can receive them.
Inferred from: GitHub Docs: use in a workflow, GitHub Docs: self hosted runners
Available on: Every setup. Source
Permissions it includes (5)
| Tier | Permission | From |
|---|---|---|
| T1sets tier | Administration: Writeorganization In part, counts as T1 (the full permission is T0): Only the Actions policy part of organization Administration: which actions may run and what workflow tokens get. |
|
| T1sets tier | Secrets: Writeorganization |
|
| T1sets tier | Self-hosted runners: Writeorganization |
|
| T2 | Variables: Writeorganization |
|
| T2 | Network configurations: Writeorganization |
|
Attack paths
Techniques it enables
- Register the attacker's machine as a runner Keep access · through Self-hosted runners: Write (org)
Escalations it starts
- Share an organization secret with a repository you control: The value of every organization Actions secret, without reading any of them through the API. · through Secrets: Write (org)
- Register a self-hosted runner: Every job routed to that runner, with the secrets those jobs receive, and a foothold that outlives the stolen token. · through Self-hosted runners: Write (org)
- Bake a backdoor into a custom runner image: Code in every later job on runners that use the image, in every repository allowed to use them, with those jobs' secrets. · through Self-hosted runners: Write (org)