Skip to content

Security

This section explains what EdgeQuake protects, from whom, and how to turn each control on. Start here for the overview, then follow the links for setup steps. It is written for operators who deploy EdgeQuake and for developers who integrate with it.

Product release: v0.32.2. Provider Connections, the SSRF check and edgequake doctor ship in v0.33.0.

Asset Threat Control Where it is described
Your documents and graph Another tenant reads them Tenant binding, workspace scope, PostgreSQL row-level security Tenant isolation
The API Anonymous or stolen access Passwords, JWT, API keys, SSO, rate limits, lockout Authentication
Model API keys Database or backup leak AES-256-GCM encryption, write-only keys Secrets at rest
Your network Provider URL points at internal services SSRF check on provider URLs SSRF defense
Your deployment Insecure defaults go live Startup posture checks, edgequake doctor Startup checks
Accountability No record of who did what Audit log in PostgreSQL Audit log

Out of scope: TLS termination (use a reverse proxy), virus scanning of uploads, and prompt-injection defense beyond what your model provider offers. EdgeQuake does not redact personal data before it sends text to a model. Use a local provider when data must not leave your network.

The server picks its mode from three settings. The chart shows the order of the checks.

%%{init: {"theme":"base","themeVariables":{"primaryColor":"#E0E7FF","primaryBorderColor":"#6366F1","primaryTextColor":"#1E1B4B","secondaryColor":"#D1FAE5","secondaryBorderColor":"#10B981","secondaryTextColor":"#064E3B","tertiaryColor":"#FEF3C7","tertiaryBorderColor":"#F59E0B","tertiaryTextColor":"#6B7A90","lineColor":"#7A889C","clusterBkg":"rgba(99,102,241,0.07)","clusterBorder":"#A5B4FC","noteBkgColor":"#FEF9C3","noteTextColor":"#422006","textColor":"#6B7A90","titleColor":"#6B7A90","signalColor":"#7A889C","signalTextColor":"#6B7A90","loopTextColor":"#6B7A90","edgeLabelBackground":"#F1F5F9","actorLineColor":"#94A3B8"}}}%%
%% eq-theme:v1
flowchart TD
  A["Server starts"] --> B{"EDGEQUAKE_AUTH_ENABLED set?"}
  B -- "Yes" --> C{"Value true?"}
  B -- "No" --> D{"EDGEQUAKE_DEV_MODE true?"}
  D -- "Yes" --> E["Auth off: open API"]
  D -- "No" --> F["Auth on: JWT or API key"]
  C -- "Yes" --> F
  C -- "No" --> E
  F --> G{"OIDC configured?"}
  G -- "Yes" --> H["Password, API key and SSO"]
  G -- "No" --> I["Password and API key"]

Read it from the top: an explicit EDGEQUAKE_AUTH_ENABLED always wins, even over EDGEQUAKE_DEV_MODE. If it is unset, dev mode turns auth off; otherwise auth is on. Two legacy names are read in this order after the explicit variable: AUTH_ENABLED, then EDGEQUAKE_AUTH_DISABLED=true. Both are checked before dev mode.

Page What you get
Security guide Threat controls, request flow, secrets, SSRF, rate limits, audit log, production checklist
Authentication and SSO Keycloak and OIDC single sign-on, tenants and roles, per-provider guides
Runtime auth hardening Turn auth on, bootstrap the first admin
Provider security Rules for model Connections
Policy and reporting How to report a vulnerability