Skip to main content

Inside the sandbox

  • Commands run as user (uid 1000), with passwordless sudo inside the VM. Root inside the VM is not root on the host.
  • Templates start no daemons at boot beyond envd and the Anona in-sandbox agent (which carries live view and SSH). The SSH server starts on first use and listens on loopback only.
  • Sandboxes have public DNS resolvers and no route to Anona’s internal network.

Credentials

Secrets passed as environment variables (envs=, or per command) live in the sandbox’s memory and disk like any other data, and a pause snapshots them too. For API tokens, use the credential vault instead: the egress proxy adds the token to requests to one host and the sandbox never sees it. See Networking. To add the header, the egress proxy decrypts the sandbox’s HTTPS traffic to a host with a vault rule: it presents a certificate from the egress proxy’s certificate authority, which sandboxes trust, and opens its own verified connection to the host. See How it works.