No room for “trust us”
Quernos sits between your tools and your engines. So every control on this page is stated the same way: what it checks, what it refuses, and what it records. Your security team can walk the architecture with the people who built it.
Sign-in that holds
- Twelve characters, mixed, never one of your last five.Passwords are hashed with bcrypt at cost 12. Five wrong attempts lock the account for fifteen minutes, and sign-in is rate-limited per account and per address.
- Two-factor, with an organization-wide switch.Time-based codes plus ten single-use recovery codes. A tenant admin can require two-factor for every member; the rule is enforced at sign-in and at every token refresh.
- Every request is re-checked.Access tokens last fifteen minutes. On every call Quernos re-reads the user, the organization and the session from the database, so suspending a user cuts them off at once, and a password reset ends every session.
- You can see where you are signed in.Each session records its device, address and last use. Sign out one session, or all the others.
Nobody grants what they do not hold
Seven built-in roles, from tenant admin to viewer, and custom roles assembled from a catalogue of fine-grained permissions: users, roles, teams, connections, queries, routing groups, policies, keys, webhooks, audit, billing.
Permissions are checked on every endpoint. A person can add a permission to a role, or give a role, only if they hold it themselves, and cannot manage a user who holds more than they do. The last active tenant admin cannot be removed, nobody can suspend themselves, and platform-operator permissions can never be assigned inside a tenant.
A key never does more than its creator
- Shown once, hashed with Argon2id.API keys carry a live or test prefix, an optional expiry, and an optional IP allowlist. Rotation keeps the old key working for seven days; revocation is immediate.
- Scopes, cut by the creator's rights.A key's permissions are its scopes intersected with the permissions its creator holds right now. Suspend the creator and the key stops. Only a signed-in person can mint a key, for themselves.
- Every use is an audit row, attributed to a person.Whatever a key or an agent does is recorded under the user who created it.
- OAuth client credentials for services.One-hour signed tokens with a published key set, optional audience binding, and revocation.
Nine guardrails for every agent call
An agent never holds a database connection. It gets tools over MCP, with a scoped key, and only after an admin has turned MCP on for the organization. Every call walks the same nine guardrails, in order, and the first refusal stops it.
Whatever passes is read-only, under the per-call cost limit, masked where a policy says so, within the rate, concurrency and daily spend limits, and attributed to the person who created the key. Refusals name the guardrail and say what to change. Answers carry the engine, the reason it was chosen, the masked columns, and a flag when the answer may be stale.
MCP is on for this organization
within the per-key and per-organization call limits
a routable read; anything else is refused before any engine
projected worst-case cost is under the per-call limit
masking policy applies to c_email_address
not required for this organization
under the concurrent-execution limit for your agents
the cell has capacity for this query
projection reserved against the key's daily cap
An illustration of the guardrail chain. The defaults below can be lowered by a tenant admin; raising them has a ceiling.
Your keys, your tables, your region
Encryption, credentials and residency are tenant by tenant, not platform-wide.
- A data key per tenant, under a root key per residency.Credentials, secrets and cached results are sealed with AES-256-GCM using your tenant's data key, which is wrapped by an AWS KMS root key for your residency with your tenant id in the encryption context. Deleting your key makes every blob unreadable.
- Short-lived cloud access.AWS access uses an assumed role protected by an external id, in one-hour sessions you can revoke from your account at any time. Managed engine identities are rotated nightly.
- Secrets never reach a log.Secret values print as redacted, and a redactor strips emails, keys, tokens and SQL text from the platform's logs.
- Your tables never move.Quernos reads them where they are, in your lake and your engines, and passes the answer back. Result sets are held for one hour, encrypted with your tenant key, then dropped. Query text is kept for the ledger.
- Six residencies, strict by default.US, EU, APAC, South America, Middle East and Africa. A connection registered as strict refuses an engine outside its region, and routing never sends a query across it.
- Budgets that hold.A monthly cost budget, for managed engines or for everything. Over the cap, routing falls to the cheapest engine, races are refused, and a hard stop on managed engines is optional. Thresholds post a webhook and an audit row.
Evidence, not assertions
Sign-ins, role and policy changes, budget alerts, every use of a key, and every routing decision with the engines it weighed and the reason it chose one. Scoped to your organization, filterable in the console, exportable as CSV.
For agent calls the routing log keeps a fingerprint of the query, never the raw text the agent sent. When you turn on races, results are compared across engines and the differences are logged. A query that fails on one engine is retried once on the next engine of a different type.
The platform underneath
Tenant isolation is a property of the code, tested on every change.
- The tenant comes from the credential, never from a header.Every repository query is scoped by tenant id, and 35 cross-tenant test classes, across keys, agents, worksheets, webhooks and the wire protocol, prove the walls on every pull request.
- One schema and one database role per module.Each module may touch only its own tables, and the application never connects as a superuser.
- Four security gates on every change.A dependency vulnerability scan, static analysis, a secret scan and a threat-model check run before anything merges.
- Transport and headers.TLS 1.2 and 1.3 only, HSTS with preload, a content security policy, frame denial, and a web application firewall with per-address rate limiting at the edge.
- Compliance paperwork is a hard stop, not a checkbox.Onboarding cannot complete without the agreements a regulated customer needs: BAA, DPA, standard contractual clauses, sub-processor acknowledgement and a security questionnaire. Ask us for the certification roadmap.
- Reporting a vulnerability.Write to team@quernos.com. We acknowledge within two business days and take no legal action against good-faith research.
Walk the architecture with us
Bring your security questionnaire. We answer it against the code, with the people who wrote it, and show you the controls in the console.