Skip to content

Devices and safety

Security model

Approvals, the sandbox, signed files and how the Directory reviews cards.

Cards come from agents, files, links, other devices and the Directory. The rule behind all of them: anyone can propose a card, only the person approves what it does, and an approval covers only what the sheet showed.

Cards are data, never code

Every part, step and source is built into TailApps. A card only combines them, so installing a card never adds new code to the app. The iPhone app runs no scripts or commands at all: a card’s scripts stay on your computer, and a phone button that needs one routes to the computer or shows Needs a Mac.

One approval, one choke point

  • Every source run and every step is checked against what the person approved before it touches the system. Undeclared means denied, whatever else the card says.
  • An update that does something new shows the sheet again with what it will do differently. Moving a button isn’t a change; pointing it at another action is.
  • The files that record approvals, settings and Connections are signed with a key in the Keychain. A card edited outside TailApps runs nothing until the person reviews it.
  • Agents use the same sheet. A scratch card from an agent reuses only what that agent already holds in this session.

How approval works

Scripts and commands run in a sandbox

Scripts and CLIs run sandboxed: they can't read ~/.ssh, ~/.aws, browser data or TailApps' files, and write only to $TMPDIR, caches and files.write folders. Network: cli steps, or any net: permission or uses: sign-in. A blocked path or host fails the step with 'TailApps blocked …' and the fix

  • Commands take an array of arguments and never go through a shell. A binding fills one whole argument; it can’t add more. A bound argument that starts with - is refused unless a literal -- comes before it.
  • The person reads every script on the approval sheet. Each script is pinned by its hash, so an edited file doesn’t run until it’s approved again.
  • A card that needs your GitHub CLI or SSH sign-in says so with uses:gh or uses:git-ssh, a line of its own on the sheet.
  • When the sandbox blocks something, the step fails with “TailApps blocked …” and the permission that would allow it.

Secrets stay in the Keychain

API keys are Connections, entered only in TailApps’ own sheets. They never appear in a card, its state, the event log, an error message or an MCP response; anything that matches one is masked. Exports and Directory uploads are scanned for keys and refused if they hold one. Connections

Outside data is data

Values from inboxes, webhooks, fetches and other devices never run. The validator warns when one would fill a command’s argument or environment. Steps that open the camera, a picker, the share sheet or the clipboard only run from the person’s own tap, never from a source, a timer, an inbox or an agent.

The Directory

  • Every card in the Directory was reviewed by us, version by version. A new upload waits for review before anyone can install it.
  • Each approved version is signed with Ed25519. TailApps checks the signature against keys built into the app and marks the card as verified on the approval sheet. A bad signature is refused.
  • A signature never skips the approval sheet. It only tells the person where the card came from.
  • Card ids are unique across the Directory, so nobody can publish an “update” to someone else’s card.

Between devices

Sends and synced state are end-to-end encrypted with AES-256-GCM; the site relays sealed messages it can’t read. Alert lines for the iPhone and push URLs from outside are the exceptions, and the docs say so where they come up. Security