Security

Pontia keeps agent execution on your device and separates remote authorization from encrypted device traffic. Protect your device, credentials, Pontia state directory, browser session, and any self-hosted Edge host.

Trust boundaries

ComponentSecurity roleProject-file access
pontiad on your deviceAuthenticates local and remote requests and coordinates Agent ClientsThrough the local user’s permissions and configured Workspaces
Agent ClientExecutes agent work using its own credentials, tools, sandbox, and approvalsAccording to that Client’s local permissions
Pontia CloudAuthenticates users, records ownership, registers devices and Edges, and authorizes connectionsNo device filesystem access
EdgeAdmits authorized device tunnels and relays browser/device ciphertextNo plaintext project access
BrowserPresents data returned by the selected deviceNo direct filesystem access

Cloud authorizes new remote connections. Dashboard traffic flows through the Edge, and the device verifies browser authorization before accepting requests.

End-to-end encrypted remote access

The browser creates an ephemeral identity and obtains a short-lived, signed capability bound to that browser key, the target device, and the device key version. The device validates the capability against the Pontia Cloud verification key before accepting a session.

The browser and device establish session keys with X25519-based HPKE and protect records with ChaCha20-Poly1305. Authenticated request IDs and bounded replay tracking prevent a captured encrypted request from being executed again. Idle E2E sessions expire; active streams are bounded separately.

The Edge sees routing metadata and the sizes and timing of encrypted traffic. Dashboard API requests and responses remain encrypted between the browser and device.

Local access

The local Dashboard and External API use the external_api_token from $PONTIA_HOME/config.toml. The default listener is loopback-only. If you change bind_addr to a non-loopback address, you expose the token-authenticated API to that network; provide your own trusted network and transport protections.

Remote access uses a separate encrypted browser/device session, verified by the device, to authorize the same current External API capabilities.

Secrets to protect

Keep these values and files private:

  • external_api_token in config.toml;
  • $PONTIA_HOME/auth.json;
  • $PONTIA_HOME/e2e-identity.json;
  • self-hosted Edge deployment commands and pending initialization state;
  • /etc/pontia/edge/credential and TLS private-key material;
  • Agent Client and model-provider credentials.

Pontia creates credential files with restrictive permissions. Protect their backups and remove secrets from diagnostics before sharing them. Treat shell history containing credentials as sensitive.

Respond to credential exposure

  • Local API token: generate a replacement in config.toml, run pontia up, and update trusted local browsers.
  • Device access: remove the device through Device settings to prevent new remote connections. Your CLI login and other registered devices remain available.
  • Device identity: run pontia remote rotate-key.
  • Lost device: remove it through Device settings and revoke unfamiliar browser sessions.
  • Edge credential or host: remove the Edge registration and associated devices in Cloud, then redeploy and re-register devices on a trusted Edge.

Data retained on the device

Pontia stores durable control-plane records, limited message and association data, Workflow files, and native timeline locators under PONTIA_HOME. Complete conversation history is stored and managed by the Agent Client. Use that Client’s data-management tools to manage or delete its native conversations.