Skip to content

Security Model

Tobias Vorwachs edited this page Nov 23, 2026 · 1 revision

Security Model

What a sandbox can and cannot do, and what Boxquell promises.

Architecture

  • Each sandbox is a microVM (libkrun or QEMU) with its own kernel, not a container sharing yours.
  • The guest has a single network device. Its other end is a user-space network stack inside the daemon, so there is no route around the policy.
  • DNS is answered by the daemon. Names that are not allowed do not resolve.
  • The project folder is shared at /workspace; the rest of your files are not visible.
  • The daemon listens on 127.0.0.1 only, and every API request needs a token stored in a file readable by you alone.

What Boxquell promises

Breaking one of these from inside a sandbox counts as a vulnerability.

Area Promise
Network policy A guest cannot reach a destination its rules do not allow, cannot reach private or local addresses without a rule naming them, and cannot keep talking during a lockdown.
Secrets The real value never enters the guest and is sent only to the hosts the secret is bound to.
Files A guest sees only the folders shared with it.
Control A guest cannot call the daemon's API or change its own rules, secrets or settings.
Log A connection attempt cannot be hidden from the network log.

What it does not protect against

  • A program inside a sandbox damaging that sandbox, or the project folder you shared on purpose.
  • Data leaving through destinations you allowed. An allowed host can receive anything the agent sends there.
  • Root in the sandbox remounting a read-only share writable. Read-only shares guard against accidents.
  • Flaws in the hypervisor (KVM, libkrun, QEMU, HVF, WHPX) or the guest kernel.
  • Recipes and systems from repositories you added yourself. They run their own scripts.

Known limits

  • macOS and Windows are untested. Pausing works on Linux and macOS only.
  • The qemu backend does not share folders yet.
  • The web UI can be opened on other network addresses (Settings), but that connection is not encrypted.
  • Secrets are stored in a file with owner-only permissions, not in the system keychain yet.
  • The guest is IPv4-only, and UDP other than DNS is refused.
  • Docker in a sandbox runs without its own network bridge: containers need --network host.

Releases

Release binaries are built by GitHub Actions from version tags, with a SHA256SUMS file, a software bill of materials (CycloneDX) and build provenance:

gh attestation verify <file> --repo Boxquell/boxquell

Note

The macOS and Windows binaries are signed once the certificates are configured. Until then they are not signed, and Boxquell has not been tested there. Dependencies are watched by Dependabot and audited in CI, and the code is scanned with CodeQL.

Reporting a vulnerability

Report privately with Report a vulnerability on GitHub, not in a public issue. Expect a first answer within a week. Only the latest release and main receive fixes. See SECURITY.md.

Next: Network | Secrets | Troubleshooting and FAQ

Clone this wiki locally