Binary Installation
Crow provides pre-built agent binaries for macOS to be able to run agents via the “local” backend.
Installation
Section titled “Installation”Running as a System Service
Section titled “Running as a System Service”macOS (launchd)
Section titled “macOS (launchd)”Running the agent as a system service on macOS uses launchd with a Launch Daemon or Launch Agent.
Create the plist file using your preferred text editor:
Paste the following content (update CROW_SERVER and CROW_AGENT_SECRET with your values):
After saving the file, validate it:
Set up and start the service:
Service Management (macOS)
Section titled “Service Management (macOS)”macOS Sandbox Security Levels
Section titled “macOS Sandbox Security Levels”The CROW_BACKEND_LOCAL_SANDBOX_LEVEL environment variable controls process isolation on macOS:
none (default)
Section titled “none (default)”No sandboxing. Workflows run with full system access. Use only in trusted environments.
standard (recommended)
Section titled “standard (recommended)”Balanced security profile suitable for most CI/CD workloads. This profile:
Allowed:
- ✅ Network access (for package downloads, git operations, API calls)
- ✅ Reading system libraries, tools, and executables
- ✅ Full read/write access to workflow directories (
/tmp/crow-local-*) - ✅ Executing binaries from standard paths (
/usr/bin,/usr/local/bin, etc.) - ✅ Process management (fork, signal, IPC)
- ✅ Device file access (
/dev/null,/dev/random, etc.)
Denied:
- ❌ Reading sensitive system files (
/etc/passwd,/etc/sudoers, etc.) - ❌ Reading macOS user database (
/var/db/dslocal/nodes/Default/users/) - ❌ Accessing user directories (Documents, Desktop, Pictures, Downloads)
- ❌ Reading SSH private keys (
~/.ssh/id_*) - ❌ Privilege escalation (sudo is blocked)
- ❌ Writing outside workflow directories
This profile allows typical CI/CD operations (building, testing, deploying) while preventing:
- Credential theft (SSH keys, passwords)
- Privilege escalation
- Access to personal files
- System configuration changes
strict
Section titled “strict”Maximum security with minimal permissions. Denies network access and restricts file operations to workflow directories only. Use for highly sensitive workloads requiring maximum isolation.