Security overview
Your phone can drive every agent on your machine, so collied treats every request as hostile (threat model).
Network and pairing
- Tailnet only.
colliedlistens only on its own Tailscale node, on one port; on your local network it opens only Tailscale's UDP socket, no TCP listener (details). - Your paired phone only. Pairing needs the QR code from
collied pair, CollieBar or CollieTray, valid for 120 seconds and one attempt, and your confirmation on the machine.colliedthen accepts a connection only from a paired phone that is untagged, yours and in your tailnet, and before every message rechecks that the phone is still paired on the same account. Revoking a phone cuts its live sessions. - Mutual TLS. Each side pins the other's key; the phone's never leaves its Secure Enclave. A stolen node key, or a node a compromised Tailscale control plane injects, gets no session.
What the phone can do
collied accepts only a fixed set of requests, and never calls the privileged methods of herdr, Herdr Core or Rex.
- Approvals answer only the prompt you saw, once, while it is still on screen; typing keys or text into a prompt skips these checks and Face ID (details).
- Apple Watch decisions are off by default and need the watch unlocked and on your wrist.
- Terminals are off unless
collied.tomlturns them on. Each Face ID or passcode unlock covers one terminal for 5 minutes; the audit log records each command run, never its text. - Attachments are size-limited, integrity-checked, private and deleted after 24 hours.
Notifications
Only your phone can read what alerts and Live Activities show, labels included: a key it made for this machine encrypts it all. Apple and the default publisher relay see only generic alert text and metadata such as timing, sizes and opaque IDs; the relay also sees IP addresses (privacy policy).
Secrets on the machine
- Publisher relay (default): no APNs key; the private
push.jsonholds relay grants that can send to your phone until they expire or the app revokes them, which it does when you remove the machine. - Direct APNs (
collied setup --direct-apns): an APNs key, which on macOS only the signedcolliedreads from the login Keychain without a prompt, and on Linux any process running as you can decrypt.
Your part
- Keep the tailnet policy tight and check the login name when you pair.
- If you use Rex, turn off its built-in Tailscale and tailnet listeners unless you want other machines to reach your agents:
colliedwarns about them incollied doctorand still follows the server. - If you lose a phone, run
collied peers revoke <label or StableID>on each machine and remove its node in the Tailscale admin console (Revocation). - If a machine is compromised, remove it in the app and its node in the Tailscale admin console. With direct APNs, also revoke its key in the Apple Developer portal (Revocation).