Security & trust
Power with a permission model.
Nova Coder can act, run code, touch files, call tools, so every consequential path is behind an explicit gate. This page describes the boundaries that actually exist in the code.
Trust boundaries
Six gates between a request and a consequential action, each one implemented in code, audited in the running system.
Authentication boundary
All /api/* endpoints require a credential: an API token header, a Bearer token, or an opaque session cookie from login. Sessions are server-side ids, revocable, expiring, never raw credentials in the cookie.
Rate limiting & RBAC
Abuse-sensitive paths (login endpoints) sit behind a real in-memory limiter; RBAC middleware evaluates roles before handlers run. CORS is outermost so 401s stay CORS-correct.
Device access layer
Host operations are grant-scoped (project-only by default), denied-directory scopes shadow broader grants, writes and exec are confirm-gated, and every op lands in an append-only audit log. Elevation goes through OS-native prompts, it never accepts passwords.
Sandboxed execution
Plugin and capability code runs under resource limits. IPC payloads are HMAC-authenticated and sandbox results deserialize through a restricted unpickler, a signed-but-weaponized payload can't instantiate arbitrary classes.
Approval gates for agents
Mutating capabilities carry requires_approval. Model-generated instructions don't silently become privileged commands, consequential operations pause for explicit authorization.
SSRF & path confinement
Outbound fetches pass SSRF guards; file capabilities confine to allowed paths; remote clones are jailed to a base directory and reject git option-injection arguments.
Operational posture
No secrets client-side
API keys resolve server-side (config, env, key files 0600) and are never shipped to the frontend bundle.
Honest failures
Missing backends report unavailable; uploads over the byte cap return 413; a scanner suite enforces auth-boundary and dangerous-call conventions in CI.
Audited
Device ops, capability executions and grant changes are persisted to an append-only audit trail under the data directory.
Found a vulnerability?
Report security issues to Codex Laboratories AI through the Ask Sybil support channel or the repository's SECURITY.md process.
Contact support →