Security

How Pod CI keeps jobs apart, what a pull request from a fork can and can't reach, and what the App may do

A fresh sandbox for every job

Every job runs in a sandbox of its own, restored from the clean image and deleted when the job ends. A runner takes one job and is gone. Its registration is handed in once the sandbox is running, through a channel Pod neither logs nor stores, and is never kept.

Trusted and untrusted jobs

Pod CI sorts every job by what GitHub reports about its run, never by anything the job says:

  • Trusted: push, schedule and workflow_dispatch runs, and pull requests from a branch of the repository itself.
  • Untrusted: pull requests from forks, pull requests opened by bots you haven't allowed, and any job whose facts are missing.

An untrusted job gets a plain runner: no warm folders, no kept sandbox, no reused pass, and none of a QA plan's secrets. Its cache reads only the default branch's entries, and it saves nowhere anyone else reads.

Public repositories

A public repository is served only once you add it to the allow list in its settings. Adding it asks you to confirm that GitHub's approval for first-time contributors stays on, so a first-time contributor's pull request waits for approval before its workflows run.

Each allow-listed repository also has a default size, pod-2 or pod-4: the largest runner a stranger's job gets. Larger runners start only while every queued job is trusted. If GitHub still hands a stranger's job to a larger runner, the runner fails the job before its first step, with a message naming the default size, and the job is not billed.

mpod ci repositories settings set <installation> <repository_id> \
  --allow-listed true --contributor-approval-confirmed true --default-label pod-2

What the App may do

Pod CI's GitHub App reads your workflow jobs and registers runners. It has no permission to change repository settings. Each repository gets its own runner group, so one repository's runners never take another's jobs.

Tokens with more reach are made for one task, narrowed to one repository, and revoked when it's done: reading a private repository for a bake, starting a job again, reading a job's log.

Who can change what

ActionWho
Connect GitHubAn owner of the Pod organization, with a fresh second factor
Change a repository's settingsA person whose role holds ci:write, with a fresh second factor
Open a kept sandboxThe person who started the run, or an admin of the repository
Read jobs, runners, usage and limitsA key or a person with ci:read

None of the person-only actions can be done with an API key. See keys and projects for roles and scopes.