Security
DevRelay runs coding agents that can read and write files and run commands on your computer. That is the point — and it is why the default posture is private-network only, always authenticated, and never exposed to the public internet.
Local-first architecture
DevRelay has no cloud backend and no third-party relay. The Controller runs on your development machine, the phone connects to it directly, and your projects stay in the folders they already live in.
What stays on your machine
- Project files — never uploaded. The phone receives status, output, and diffs, not a copy of the repository.
- Credentials — the master token is generated on the machine and stored with
0600permissions. MCP and model credentials stay with the agent on the host. - Task output — stored locally by the Controller so a run can survive the app being closed.
Authentication and pairing
- Every endpoint except
/healthand the pairing exchange requires a bearer token. - Each paired phone gets its own credential; only a SHA-256 hash is stored. Revoking one phone does not affect the others.
- Pairing codes are single-use, 6-digit, expire after 5 minutes, and can only be created from the loopback-only status page.
- The app stores its device token in the Android Keystore. It is never displayed again after pairing.
- The local status page binds to
127.0.0.1only.
Project allow-list and path jail
Projects come from pinned paths and approved workspace roots — never a whole-disk scan. The phone sends project IDs, never filesystem paths, and every resolved path is checked against its project root, rejecting traversal and symlink escapes. There is no arbitrary file-browser endpoint.
Git safety
- Pull is blocked when the working tree is dirty unless handled explicitly.
- Force-push is not implemented, and pushing to
mainormasteris blocked by default. - Commit, push, and revert require explicit confirmation in the app and are validated on the Controller.
Remote access
Remote access is optional and uses Tailscale. The Controller joins your tailnet — either through the Tailscale app on the computer or an optional built-in node — and the phone connects through that encrypted network. The Controller is never port-forwarded or exposed publicly, and it still requires a token over the tailnet.
Reporting a problem
DevRelay is currently distributed to testers directly rather than through an app store. If you find a security issue, report it through the same channel you received the build from.
See also Privacy and the install guide.