Security

What a job can reach, and what it cannot.

A running job holds the checked-out source, the secrets the workflow references, itsGITHUB_TOKEN and any cloud credentials it gets through OIDC. That is true of every runner. firerunner limits how far that reaches and how long it lasts.

GitHub permissions

The App registers the scale set, generates each runner's just-in-time config and removes idle runners. It does not read your code.

Install scopePermission
OrganizationSelf-hosted runners: read and write
Single repositoryAdministration: read and write

Metadata read is included with every GitHub App. firerunner doctor warns about any extra permission and names what it allows.

Defaults

Every runner

  • One VM runs one job, then it is destroyed with its disk
  • A just-in-time runner is registered for that job alone
  • firerunner keeps no job output by default

EC2 runners

  • No instance role and no inbound security group rules
  • IMDSv2 required, with a hop limit of 1
  • User-data holds only an endpoint, never a secret
  • On the standard image, jobs run as runner with sudo, as on GitHub's images
  • The runner config is served once, to that instance's private IP

Firecracker runners

  • Hardware-enforced isolation through KVM
  • A tap device and /30 subnet per VM
  • Egress allowlist for GitHub ranges, DNS and NTP by default
  • Guests are kept off private networks and mail ports, even with open egress
  • The Firecracker jailer is available as an opt-in

Known limits

  • EC2 runners in the provided network template have open outbound access. Restrict it in your own security group.
  • With S3 cache mode, cache-server uses the control VM's role. Issue #138 tracks scoped credentials.
  • firerunner has had no third-party audit and has no SOC 2 report.

In your workflows

Start GITHUB_TOKEN from permissions: {} and add what each job needs. Prefer OIDC with narrowly scoped cloud roles over long-lived secrets.