/ Trust center

What the product does, stated plainly

Savvina AI is self-hosted: your deployment sits inside your own security programme, not ours. This page is what your reviewer needs from us — each control and its real status, what leaves your network and when, and how to reach us. Last reviewed 2026-10-31.

Controls mapped to SOC 2 and ISO 27001 — no audit report yet.

Every control on this page is mapped to the SOC 2 Trust Services Criteria (2017) and ISO/IEC 27001:2022 Annex A, and the mapping is maintained alongside the product's code. Savvina has not been audited against either framework. A formal audit is planned once customer demand requires one, and this page will say so, with the report's scope and date, when one exists. Until then, read the table below as our own statement of what the product does, verified against its source — not as a third-party opinion.

What reaches the LLM

Savvina itself receives nothing from a deployment except, on paid editions, a daily license check-in and the image downloads from Savvina's registry — neither carries query content, schema or database credentials. Whether any value from your tables reaches your LLM provider is your choice, not ours: it depends on the edition and on per-connection settings that are off by default and that your administrators turn on or off — Include sample values and, on the production edition only, confidence scoring.

On the production edition, with the default settings no value is read from your tables for the LLM — it gets your question, the conversation so far (never result rows), a privacy-filtered description of the schema, and the semantic model and examples you keep. Two per-connection settings change that, and both are off until an administrator turns them on: Include sample values sends example values per column, and confidence scoring sends up to 5 result rows with sensitive columns masked.

On the Community Edition, with the default settings no value is read from your tables for the LLM. One per-connection setting changes that, off until an administrator turns it on: Include sample values sends example values per column. Result rows are never sent — the Community Edition has no confidence scoring.

One exception on both editions: value mappings you keep in the semantic model — a display label and the stored value it stands for, such as Active='A' — are sent with every question, whatever Include sample values says, and even for a column marked Sensitive, because the LLM needs them to filter on the right stored value. They are left out only for excluded schemas, tables and columns; exclude the column, or delete its mappings, if its real values must not reach the LLM.

The query prompt. Your question, the earlier turns of the conversation (questions, generated SQL and explanations — never result rows), up to 3 example question-and-SQL pairs from your example library that resemble the question, and a privacy-filtered description of the schema: table and column names, types and keys, plus table and column comments, row counts and sample values when those settings are on. If a semantic model has been generated, the prompt also carries it, including its value mappings.

Every call to your LLM provider is listed below with the edition it applies to and what it sends; point either edition at a local model and every one of them stays on your hardware.

Every call to your LLM provider: when it happens, what it sends, and how to turn it off
CallWhenWhat it sendsTurning it off
Query generationCommunity Edition · Production editionEvery question not answered from the cache.Nothing more than the query prompt.Cannot be turned off — it is the product.
CorrectionsCommunity Edition · Production editionThe generated SQL fails validation, fails to execute, or returns no rows.The failed SQL. For a validation failure, the validator's message, built from your query and your schema; for a query that returned no rows, only that fact. For a database error, the database's own message is never sent, because it can quote a stored value: Savvina sends its own description instead — the kind of error, a fixed hint, and only names already in the query, the schema or your settings.Automatic; runs at most a few times per question.
Confidence scoringProduction editionAfter a query runs, when enabled for the connection.Up to 5 result rows plus the row count. Sensitive columns are masked; every other column is sent as it is, and a statistical aggregate over a sensitive column (for example AVG(salary)) is not masked. Sent even when Include sample values is off.Off by default. An admin enables it per connection.
Ambiguity checkProduction editionOnly on answers that confidence scoring rated low.The same prompt as query generation, sent once more. No result rows.Off whenever confidence scoring is off. Per organisation, under Settings (Ambiguity check); the AMBIGUITY_CHECK_ENABLED environment value is only the default for an organisation that has not set its own.
Semantic model generationCommunity Edition · Production editionWhen an admin generates or regenerates a connection's semantic model, or applies a schema change to it.Schema DDL (table and column names, types, keys, and table and column comments when Include column comments is on — never a sensitive column's comment) and foreign-key relationships; later passes also send the annotations already generated. No column values, except an enumerated type's declared members (MySQL ENUM or SET; on the production edition also ClickHouse Enum8 and Enum16) when the column's values are allowed (Include sample values on and the column not sensitive).Do not run generation, or edit the model by hand.

Control map

Clause references are an indicative map, not an auditor's opinion: codes starting CCare criteria in the SOC 2 Trust Services Criteria (2017), and codes starting A. are controls in Annex A ofISO/IEC 27001:2022. Your control marks what only the operator of a self-hosted deployment can do; we describe it here, you own it. Each row names the edition it is true of: the Community Edition is the public repository and the Docker Hub images; the production edition is every paid tier.

Identity and access

Single sign-onImplemented

OIDC or SAML 2.0 per organisation — Microsoft Entra ID, Okta, Google Workspace, Keycloak or any compliant provider. "Require SSO" refuses password sign-in for non-admin members. Business and Enterprise tiers.

Production edition · CC6.1, CC6.2 · A.5.16, A.8.5

Multi-factor authenticationPartial

Enforced by your identity provider through SSO, on the Business and Enterprise tiers; Savvina never sees the password. There is no in-product authenticator, so on Starter, Plus and Team, and for the admins who keep a password sign-in as break-glass while Require SSO is on, sign-in is password-only. The Community Edition has password sign-in only.

Production edition · CC6.1 · A.8.5

Provisioning and deprovisioningImplemented

SCIM provisioning from your IdP on the Business and Enterprise tiers; an unassigned user is removed within one access-token lifetime. Deactivating a member ends their access to the organisation at once; on their last membership the account is disabled and every session revoked. Service-account revocation drops keys and sessions together.

Production edition · CC6.2, CC6.3 · A.5.18

Session and password policyImplemented

Per organisation: access-token lifetime, idle timeout, absolute session lifetime; minimum password length, reuse history and a common-password check on top of a 12-character floor. Refresh-token rotation with reuse detection.

Production edition · CC6.1 · A.5.17, A.8.5

Brute-force protectionImplemented

Ten failed sign-ins lock the account for fifteen minutes, tracked in the database so every replica agrees. Optional Turnstile challenge on the sign-in form. The Community Edition rate-limits sign-in attempts but has no account lockout.

Production edition · CC6.1, CC6.6 · A.8.5

Roles and tenant isolationImplemented

Admin and member roles; every query is scoped to the caller's organisation from the token, never by a bare lookup. Machine credentials (Business and Enterprise tiers) are per-organisation, scoped, and stored as verifiers only. The Community Edition is single-tenant and has no roles.

Production edition · CC6.1, CC6.3 · A.5.15, A.8.2, A.8.3

Public share linksImplemented

A user can share a result or a conversation as an unauthenticated link carrying a random token; anyone holding it can read the results, masked with the current settings, and download them as CSV or XLSX. An expiry of 1–365 days can be set; links have none by default. On the production edition an admin can turn sharing off for the organisation (it is on by default), each link can be revoked, creation and revocation are audited, and views are recorded once per viewer address, link and format each hour by default. On the Community Edition a link is removed only by deleting the conversation.

Community Edition · Production edition · CC6.1 · A.5.15, A.8.3

Password storageImplemented

Passwords are stored as bcrypt hashes (work factor 12 by default), computed in a worker thread so sign-in never blocks the server. On the production edition the work factor is set by BCRYPT_ROUNDS (12–16), and a dummy hash keeps sign-in timing the same for unknown addresses.

Community Edition · Production edition · CC6.1 · A.5.17, A.8.5

Audit and logging

Audit event coverageImplemented

Sign-in, token, user, configuration, credential, share and query-execution events, with user, organisation, connection and tables referenced. A test fails the build if a mutating route ships without an audit call or a reviewed exemption.

Production edition · CC7.2, CC8.1 · A.8.15

Audit export and retentionImplemented

CSV export for your SIEM. Retention is set per organisation by an admin, with a floor that keeps an admin from erasing their own trail. Structured JSON logs carry request, user and organisation ids.

Production edition · CC7.2, C1.2 · A.5.33, A.8.15, A.8.16

Audit log tamper evidenceImplemented

Every audit row is sealed into a keyed hash chain, one per organisation, within a minute of being written. Verify now on the Audit Log page, or the verify API, names the first sealed row that was edited, deleted or inserted afterwards. The key is derived from the deployment's encryption key, so this catches a database administrator who does not hold that key. It does not catch the operator who holds it, or a rewrite of the newest rows with the chain head moved back onto them: the CSV export carries each row's hash, so keep a copy off the host to catch both. A failed audit write still does not block the action; it is logged and counted on /health for your monitoring to alert on.

Production edition · CC7.2 · A.8.15

Data protection and privacy

What reaches the LLMImplemented

Published per call — see the table above. With the default settings no value is read from your tables for the LLM on either edition; sample values (both editions) and up to 5 masked result rows (production edition) are opt-in per connection. Value mappings kept in the semantic model are the exception and are sent whatever the toggle says. A local model keeps every call on your hardware.

Community Edition · Production edition · C1.1, CC9.2 · A.5.19–A.5.23

Column masking and schema exclusionImplemented

Excluded schemas, tables and columns are stripped from the prompt entirely. A column matching a sensitive pattern or listed by exact name is shown to the LLM as [SENSITIVE] with no sample values or comment, and masked in results — including under an alias, inside an expression, through CTEs and subqueries, and in stored results, which are re-masked with the current settings. Statistical aggregates such as AVG are not masked. An optional strict mode refuses any query that uses a sensitive column outside a plain SELECT list. Value mappings and semantic-model descriptions kept for such a column are still sent.

Community Edition · Production edition · C1.1 · A.8.3, A.8.11

Row-level restrictionPartial

An admin sets a filter condition per table, and every statement is rewritten so each reference to that table reads only the filtered rows — through joins, aggregates, CTEs, retries and cached answers. Filters apply to every member of the connection alike; they are not yet per role or per user (upstream item 9.3).

Community Edition · Production edition · CC6.1 · A.8.3

Read-only query enforcementImplemented

On SQL sources only SELECT and WITH pass the validator; every statement is checked before a connection is opened, including user-edited and re-sorted queries. Dialect blocklists reject functions such as pg_sleep and LOAD DATA. The statement then runs inside a read-only transaction the database itself enforces, so a write the text check missed still fails.

Community Edition · Production edition · CC6.1, CC7.1 · A.8.26, A.8.28

Database privilege checkImplemented

Savvina reads what the connection's database role can do on PostgreSQL and MySQL/MariaDB and reports anything beyond what it needs: write privileges, read access to tables the connection excludes, functions that run SQL from a string, and a role that bypasses the database's own row-level security. Each finding comes with the SQL that fixes it.

Community Edition · Production edition · CC6.1, CC6.3 · A.5.15, A.8.2

Access, portability and erasureImplemented

A member can export their data and delete their account; erasure removes question text from audit metadata and anonymises what must be kept. Chat history, caches, usage and audit rows each have a retention window and a sweep; chat history is kept until an admin sets one. The Community Edition offers account deletion only.

Production edition · P4.2, P4.3, P5.1 · A.5.34, A.8.10

BackupsYour control

Savvina's application database runs on your infrastructure; backups are yours to schedule. The maintenance guide documents the pg_dump procedure.

Community Edition · Production edition · A1.2 · A.8.13

Encryption

Secrets at restImplemented

Datasource credentials and LLM API keys — and on the production edition per-user credentials and license material — are Fernet-encrypted (AES-128-CBC with HMAC-SHA256) under a key generated on first start and stored in your deployment's data volume (unless you supply your own). The production edition's service-account API keys are stored as verifiers, never in a recoverable form.

Community Edition · Production edition · CC6.1 · A.8.24

Encryption key rotationPlanned

There is no rotation command yet (upstream item 9.18); rotating the key today means re-entering stored credentials, and on the production edition reissuing service-account keys and the license key. On the production edition ciphertext is already versioned so one can be introduced.

Community Edition · Production edition · CC6.1 · A.8.24

TLSImplemented

The bundled web server pins TLS 1.2 and 1.3 and sends HSTS on every response. New datasource connections default to TLS (PostgreSQL and MySQL ssl_mode=require, MongoDB tls=on, Trino https). The Community Edition serves plain HTTP and leaves TLS to the reverse proxy in front of it.

Production edition · CC6.7 · A.8.20, A.8.24

Application database at restYour control

Questions, generated SQL, stored result rows and, on the production edition, audit logs are stored in the clear in your application database because the product has to read them. Full-disk or volume encryption is your control; the production edition's deployment guide lists what to cover.

Community Edition · Production edition · CC6.1 · A.8.24

Application security

Boundary protection and headersImplemented

Scanner-path blocking, CSRF origin checks on mutating requests, a CORS allowlist, and OWASP headers (CSP, nosniff, frame deny, referrer policy) on every API response. On the production edition the bundled web server sends the same set, plus a permissions policy, on every page, and the backend and bundled databases bind to loopback behind it. The Community Edition's web server sends only a CSP and a permissions policy on its pages, so framing protection is the reverse proxy's job, and its compose file publishes the backend port (8000), the bundled application database (5434) and, with the local-LLM profile, Ollama (11434) on all interfaces; closing them is yours.

Community Edition · Production edition · CC6.6 · A.8.20, A.8.26

Third-party requestsImplemented

The web interface loads its fonts and scripts from your own instance; on the production edition the one exception is Cloudflare's Turnstile script on the sign-in page, if an administrator turns that challenge on. The Community Edition sends no telemetry and, apart from the databases you connect, calls only your LLM provider. The production edition adds a daily license check-in that sends the license key, an installation identifier, the organisation's identifier, the host's machine ID where available, counts of users and connections, and the configured database and provider types — never query content, schema or credentials — and calls the services you configure yourself, such as your email provider or identity provider for SSO.

Community Edition · Production edition · C1.1, CC6.7 · A.5.14

Rate limitingPartial

Per-user limits on chat, a limit on schema refresh, and configurable limits on the authentication endpoints; the production edition adds a global per-IP ceiling. Counters are in-memory per replica, so a multi-replica deployment multiplies the limit by its replica count. The production edition's account lockout is database-backed and unaffected.

Community Edition · Production edition · CC6.6

Build and supply chain

Dependency and image scanningImplemented

Every change runs pip-audit (any known vulnerability) and npm audit (high and above), each with reviewed, documented exceptions, and ruff's bandit security rules. Image builds are scanned with trivy for fixed HIGH and CRITICAL findings before they are published; on the Community Edition the scan covers the amd64 image.

Community Edition · Production edition · CC7.1 · A.8.8

Secret and static analysis scanningImplemented

gitleaks over the full git history on every run, and semgrep's Python, TypeScript, React and OWASP Top Ten rules at ERROR severity on every change.

Production edition · CC7.1, CC8.1 · A.8.25, A.8.28, A.8.29

Image signing, SBOM and provenanceImplemented

Production images, published to ghcr.io and served to customers through registry.savvina.ai, are signed with cosign (keyless, under GitHub's OIDC identity — no signing key to leak or rotate) and carry an SPDX SBOM and a SLSA provenance attestation. The production deployment guide gives the cosign verify command to run before you pull.

Production edition · CC7.1, CC8.1 · A.5.21, A.8.8

CI hardening and change managementImplemented

Every GitHub Action is pinned by commit SHA, with least-privilege permissions, and a test fails on an unpinned action. Releases are cut by semantic-release from CI; schema changes ship as versioned migrations.

Production edition · CC8.1 · A.8.4, A.8.25, A.8.32

Runtime image hardeningImplemented

The frontend image runs as an unprivileged user with no source maps; the backend image strips symbols and ships no build tooling.

Production edition · CC6.8 · A.8.9

How we build and ship

Each check below names where it runs. The production pipeline runs every one — the code and dependency checks on every push, trivy on every pull request and again on each image before it can be published; the Community Edition's runs the checks marked for it. The Community Edition's disclosure policy and its documented security exceptions are in its publicSECURITY.md.

pip-audit and npm audit

Known vulnerabilities in Python dependencies (any severity) and JavaScript dependencies (high and above), each with reviewed, documented exceptions.

Community Edition · Production edition

ruff (bandit rules)

Static checks for common Python security mistakes on every change.

Community Edition · Production edition

trivy

Container image scanning for fixed HIGH and CRITICAL findings before an image is published; on the Community Edition the scan covers the amd64 image.

Community Edition · Production edition

gitleaks

Secret scanning over the full git history on every run, not just the diff.

Production edition

semgrep

Static analysis with the Python, TypeScript, React and OWASP Top Ten rule packs, failing at ERROR severity.

Production edition

Pinned actions

Every GitHub Action referenced by commit SHA; a test fails the build on a tag reference.

Production edition

Reporting a vulnerability

Email [email protected] with the version you tested, steps to reproduce and what an attacker gains. Please do not open a public issue. We acknowledge reports within three business days, keep you informed while we work on a fix, and credit you in the release notes unless you prefer otherwise. We ask for 90 days before details are published. Machine-readable contact details are at/.well-known/security.txt.

For your security review

We answer security questionnaires and walk your engineering or security team through the architecture on a call, under NDA where you need one. The processors we use for billing, licensing and image delivery are listed in the privacy policy; none of them receives data from your databases or your users' questions. Write to [email protected].