Security
What CI Router can reach, what it keeps, and how to keep your secrets safe.
#What the GitHub App can do
The App manages self-hosted runners for your organization or personal account. It reads workflow files and run status. It can cancel a run that screening blocks and add a check that says why.
It holds repository administration access, because GitHub requires it to register runners on a personal account's repositories. CI Router uses it only for those runner calls. It never deletes repositories or adds collaborators. Install the GitHub App lists each permission and its use.
#One machine per job
- Every job gets a fresh machine. The machine and its disk are destroyed when the job ends. There is no suspend and no snapshot.
- Volumes are the one opt-in exception. A volume is an encrypted data disk from a private repository's default-branch runs. It is kept 7 days after its last use. The machine's system disk is still destroyed.
- The runner registration a machine boots with works once. It is never logged or stored. It is removed from the job's environment, so a step that prints the environment does not print it.
- Before a job is placed, CI Router screens its workflow for crypto miners, mass scanners and known worm backdoors. A run that matches is canceled before any machine starts. When GitHub does not answer in time, the job runs unscreened.
#What CI Router keeps
- Job logs stay on GitHub. CI Router does not store them.
- Workflow files are read to place and screen a job. CI Router keeps a few flags, a step count and a language name. It never stores the file text.
- A run's profile holds CPU, memory, disk and network figures, timings, and the kind of tool running, such as a test runner. It holds no commands, environment, logs or workflow text.
- The dependency cache stores what your jobs save, per team and repository, until it expires. See Dependency cache.
#Protect your secrets
A workflow can read and send out the secrets it is given, on any runner. Give each job only what it needs:
- Use OIDC for cloud access. A job then gets short-lived credentials, not keys.
- Put deploy credentials in protected environments that need approval.
- Keep public repositories off unless you need them. Read Public repositories before you turn them on.
#Providers
Your jobs run on machines from the providers in the catalog. The provider that runs a job controls its machine and the hardware underneath. To keep jobs off a provider, leave it out of your team's provider list. The list decides where jobs run. It does not certify where your data is processed.
#Terms and data protection
Read the Terms of service, the Privacy notice, the Acceptable use policy, Providers and data protection and the Data processing agreement.