Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Security model

Code as Usual is designed for a self-hosted organization with known users. It uses defense in depth but does not describe an arbitrary development container as a perfect hostile-code sandbox.

Main boundaries

  • Every environment runs in a rootless Podman container with resource and process limits.
  • Persistent storage is separated by installation, workspace, project, environment and owner identity.
  • Users are application identities, not host Linux accounts.
  • Environment egress is denied except for destinations recorded in the active project profile.
  • Host paths, Podman sockets and host shells are not exposed to environments.
  • Browser terminal and long-lived transports use authenticated Qwicket contracts with origin, release, authorization and bounded-queue checks.
  • Current authorization is rechecked during long-lived connections; revocation closes existing terminal, preview, SSH/SFTP and IDE access.

Credentials

Secrets are encrypted at rest and never written into command lines, terminal history or audit events. Personal program logins live in the environment’s private home. Code as Usual does not read or transfer those files.

Any program running inside an environment has the environment user’s effective filesystem and available network authority. Administrators should grant the least repository and service access that the project requires.

Deliberate limits

The product does not record terminal commands by default. It does not provide host Docker/Podman sockets, silent package installation, unrestricted outbound internet, automatic deletion of unpublished work or invisible cross-user file sharing.

Installation administrators can extend the package catalog only through registered, bounded builders. The UI accepts neither shell text nor a Containerfile. Archive input requires HTTPS and a pinned digest; the resulting artifact is validated without network access and with a read-only filesystem, dropped capabilities and resource limits before it can be granted. A workspace administrator must still enable the grant before a project can select it.