Direct answer
It runs as the logged-in user who installed it, which is usually the admin account delivered to you. Every command in a workflow has all the access that account has.
Basis
- GitHub's
svc.shwrites the service file into the current user's~/Library/LaunchAgents, and the service runs as that user inside that user's login session; the script itself refuses to be run with elevated privileges. GitLab Runner's documentation is more direct: it runs as the currently logged-in user, not as the system's highest-privilege account (source, checked 2026-11-12). - The Mac account delivered to customers has admin rights and can install apps, Homebrew and developer tools. An admin account is not the same as working in the system superuser account by default: operations that need system authentication still ask for this Mac's login password, and a pipeline command that hits such a prompt will stall.
- The consequence: this account's login keychain, SSH keys, websites signed in to in the browser and the signed-in Apple Account are all, in principle, within reach of scripts in a workflow.
- GitHub's security documentation also warns that a self-hosted runner can be persistently compromised by untrusted code in a workflow, because the environment is not reset between jobs (Secure use reference).
Boundaries: when the answer is different
Isolating the runner under a separate standard user is a reasonable hardening idea, but on this machine it involves creating a system account and touching login configuration, so check with support before you start. The platform's management account must not be deleted, renamed or modified. On our side, operational monitoring can see process and network connection information; it does not record screen images or the content of business data, and we do not proactively access device content. However you configure it, never let outside contributions to a public repository trigger jobs on this machine.
How to do it
- Treat this machine as a dedicated build machine: do not sign in to personal email, cloud drives or social accounts on it.
- Use a work-only Apple Account, and keep Find My Mac turned off.
- Generate deploy keys per repository with read-only permission, and do not put a personal SSH private key on it.
- Put signing certificates in a dedicated keychain rather than the login keychain.
- On the CI platform, restrict which branches and which people can trigger workflows that use this runner.
Related questions
- Locked keychain or signing error in CI on a rented Mac: how to fix it
- Can I install a CI runner as a system boot service on a rented Mac mini?
- Can I install a GitHub Actions self-hosted runner on a rented Mac mini?
- Can the rental provider see the code on my machine?
- Rented Mac mini as an always-on build machine for small teams? Count your build minutes first
Use case
This question belongs to the use case: Rented Mac mini as an always-on build machine for small teams? Count your build minutes first
Other questions in the same use case:
- Can I just use my everyday development Mac as a CI runner?
- Can a cheap Linux machine build iOS apps, with a Mac only when needed?
- Only one build machine: should I keep a cloud runner as a backup?
- Only a few builds a month: is an always-on build machine worth renting?
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support