Linux Autopilot

Security model

Security controls across the platform.

Application

  • TLS for the web application.
  • Secure, HttpOnly, SameSite session cookies; CSRF protection for state-changing cookie-authenticated requests.
  • Argon2id password hashing; rate-limited login.
  • RBAC with admin and operator roles.
  • Target server ownership/permissions validated on every endpoint.
  • Strict CORS allowlist; no wildcard origins with credentials.
  • Secrets injected via environment or secret files; never committed.
  • PostgreSQL bound to an internal network; least-privilege DB role.
  • Ollama not exposed to the Internet or managed host.
  • Redact credentials, tokens, private keys and sensitive output from logs.

Agent

  • Outbound-only connection; mTLS after enrollment.
  • One certificate identity per agent; task bound to authenticated identity.
  • Task expiry, nonce/idempotency key and lease handling.
  • No arbitrary shell or generic sudo tool.

Threat model

Key threats: prompt injection via tool output (mitigated by treating output as untrusted data), privilege escalation (mitigated by unprivileged agent + restricted helper), credential theft (mitigated by mTLS and short-lived enrollment tokens), and unauthorised actions (mitigated by deterministic policy engine and approvals).