froogdocs
Dashboard

DocsAccounts

Security and isolation

What separates sandboxes

  • A VM each: QEMU/KVM with its own kernel, memory and disk. No shared kernel.
  • A confined VM process: unprivileged, no capabilities, seccomp-sandboxed, read-only system, writes only its own VM directory.
  • Its own network port: no access to other sandboxes, the host or private ranges; no spoofing. See Network.
  • Its own disk: copied from a base image scrubbed of keys, machine ids and logs.
  • Shared CPU and memory: vCPUs are shared (unless dedicated); identical memory pages are deduplicated (KSM).

Inside a sandbox

You are user with passwordless sudo. froog prompt runs agents with permission prompts off, because the VM is the boundary. Anything in the sandbox, including code an agent downloads, can read your variables (~/.froog/env), secret files, logins and its froog key. Give a sandbox only the credentials it needs; use --no-environment for untrusted code.

--no-environment only controls what froog writes at start. A fork or saved snapshot keeps everything on the source disk, secrets included. Build templates for untrusted code from a sandbox that never held credentials.

Who can get in

  • SSH: keys only, no password or root login. froog rewrites ~/.ssh/authorized_keys from froog keys at every start and on every key change, so removed keys stop working at once and hand-added keys are dropped. Each sandbox's host key is pinned by the CLI.
  • API keys: scoped, expiring, stored only as SHA-256 hashes.
  • The in-sandbox key: reaches only its own sandbox; can't create, start, fork or delete. Replaced each start, revoked at stop.
  • froog's control plane: holds its own key per sandbox for exec, files, setup, URLs and the desktop. Commands and their env values go over SSH stdin, never a command line. froog's operators can reach any sandbox.
  • Public URLs: private by default (token, then a per-host cookie), on froogusercontent.com so they never share cookies with froog.tech. Desktop links keep their token after # and expire in 10 minutes.

Secrets and data

Variables, secret files, setup scripts, telemetry headers and sandbox SSH keys are encrypted at rest (XChaCha20-Poly1305). Inside a sandbox they are plain files, so also in its snapshots.

DataKept
Running sandbox's diskUntil stop or delete. Snapshots hourly and at stop, newest 3 kept.
Stopped sandbox's disk14 days (snapshot_data_expired).
Saved snapshotsUntil you delete them, even after the sandbox.
Command history and output90 days, 512 MiB per account; none with monitoring off.
Process samples, metrics7 days.
Process records72 hours after exit.
Deleted sandboxVM, disk and automatic snapshots deleted; history and metrics too.

Saved snapshots, stop snapshots and the newest automatic snapshot are copied off-host, encrypted, within minutes; a failed host restores from them. Work since the last snapshot is not copied, so keep what matters in git. Nothing is copied with zero data retention. The control-plane database is backed up hourly, encrypted, off-site, kept 12 months.

Report security issues to hello@froog.tech; abuse from a sandbox to the same address with "Abuse" in the subject.