What leaves your deployment, and what does not.
Most of this page answers a question a reviewer will ask anyway. The rest states plainly what is not built, because a security page that lists only its strengths is the document a reviewer stops trusting halfway down.
If you are completing a review, ask for the data-flow document and the third-party licence scan. Both are maintained, both are more detailed than this page, and if anything here contradicts them, they win.
Data handling
Four claims, each of which changes what a reviewer has to worry about.
What leaves your deployment
- Your warehouse: Holds the rows and the credentialLane: Your warehouseLeads to: Joint counts (counts only)
- Joint counts: The rows are droppedLane: The deploymentLeads to: The model
- The model: Fitted to counts, not recordsLane: The deploymentLeads to: Usage report; A model provider
- Usage report: Queryable through your own APILane: The deployment
- A model provider: Never contacted by defaultLane: Only if you configure it
- Keycylinder: Data at rest; cloud: Outside your network; dashed: Only if you configure it
Source data is reduced, not stored
A registered dataset is stored as joint counts — the sufficient statistic — and the rows are dropped. The model is fitted to counts, not to records. Nothing on this site requires patient records, credentials or production data to be handed over, which is why the walkthrough form says so explicitly.
Credentials never cross the API
The connection registry stores a name and nothing else. A warehouse read is performed as a query push-down, so the deployment is given a statement to run rather than a credential to hold. A caller who already has a connection hands over rows instead — a deliberate boundary rather than a missing feature.
Nothing is sent to a model provider unless you configure one
The model transport can be pointed at a model running locally, and the pipeline can be replayed against recorded responses. The shipped benchmark was run entirely against a local model for this reason.
Usage is reported to you, not to us
Usage accounting is queryable through your own API against your own workspace. There is no telemetry endpoint and no third-party analytics on the application origin.
Retention
Bounded, stated, and different per object because the objects have different lifetimes.
- Jobs
- 90 days
- Analyses
- 730 days
- Audit events
- 400 days
These are the platform defaults, enforced with scheduled maintenance runs. In a self-hosted deployment they are settings you own; for a hosted workspace they are set in your agreement.
Tenancy
Projects are isolated. Every user and every API key is scoped to one, and the tenant is carried on the request rather than inferred from it — so "which tenant is this request for" is a question about stored facts rather than about a header the caller chose. Every query filters by the caller's project. As defence in depth, row-level security confines each authenticated session to its project in the database itself, so a handler that forgets its filter reads nothing. Row-level security is enabled in our hosted service, where the data is stored in Google Cloud SQL in the us-central region, and is a setting you turn on in a self-hosted deployment.
It protects against bugs in the application, not against someone who can run arbitrary SQL as the application's role. Separate database roles for the API and for migrations is the stronger deployment.
How a request stays inside its project
- A request: Signed with a keyLeads to: Project from the key
- Project from the key: A stored fact, not a headerLeads to: Every query filters by project
- Every query filters by project: In the applicationLeads to: Row-level security (defence in depth)
- Row-level security: In the databaseLeads to: Only this project's rows
- Only this project's rows
- Keycylinder: Enforced in the database itself; dashed: A second layer, not the first
Governance status
Stated as of today, not as of the roadmap. Every row is checkable in the repository, and none of them is aspirational.
| Control | Status | Note |
|---|---|---|
| Tamper-evident audit trail | Implemented | each row commits to the one before it, so an edit or deletion in the middle is found by a verification call; exportable as NDJSON or CSV |
| Roles: admin, user, viewer | Implemented | a viewer is refused on every write, enforced where the caller is identified rather than route by route |
| Single sign-on (OpenID Connect) | Implemented | authorization-code flow with PKCE, signed ID tokens only, restricted to your allowed email domains; first sign-in never creates an admin |
| User provisioning (SCIM 2.0) | Implemented | create, deactivate and delete members from your identity provider; access stops on the next request. Users only, no groups |
| Second factor (TOTP) | Implemented | with single-use recovery codes; a project can require it of every password sign-in |
| Sign-in lockout | Implemented | counted by address, including addresses that do not exist, so the response never says whether an account is real |
| Encrypted stored secrets, with key rotation | Implemented | webhook signing secrets and one-time-password seeds; passwords, keys and tokens are hashed; warehouse credentials are never stored |
| Row-level security | Implemented | enabled in the hosted service, opt-in when self-hosted; confines each session to its project in PostgreSQL; requires a non-superuser application role; the full API test suite is run under it |
| Per-workspace quotas | Implemented | bound networks, datasets, interventions, webhooks and schedules; a workspace cannot raise its own |
| Backup and restore drill | Implemented | dumps, restores into a throwaway copy, compares counts and schema, verifies every audit chain, and reports the time taken |
| Dependency audit and SBOM | Implemented | known-vulnerability audit and a CycloneDX bill of materials, run in CI |
| Tracing (OpenTelemetry) | Implemented, opt-in | requests and database statements become spans; bodies and SQL parameters are not recorded |
| Typed errors | Implemented | 22 stable error codes, documented |
| Dependency licences | Scanned | 0 GPL or AGPL in either the Python or the JavaScript tree |
| Encryption of all stored rows | Not built | the application encrypts secrets, not rows; disk and backup encryption belong to the host |
| Per-tenant rate limits | Not built | rate limits are per client; per-workspace quotas bound object counts, not request rates |
| Step-up confirmation for destructive actions | Not built | nor a second factor for API keys |
| Independent penetration test, SOC 2 or ISO 27001 | Not done | these need an outside assessor |
This table is the page. It lists what exists and what does not, in the same table, because a reviewer reads the no rows first. A reviewer who checks it against the repository will find nothing that contradicts it — which is the only property a security page can actually offer.
Deployment
A FastAPI service and a PostgreSQL database. AnantCausal is offered hosted, or self-hosted on your own infrastructure; it is the same software in both. For self-hosting we ship a Dockerfile, a Helm chart and a deployment guide.
- No queue broker, no vector store, no third-party analytics on the application origin
- The console and this website are served from separate origins from the API, so a marketing deployment cannot affect the API's availability
- One API process and one database is the measured configuration; horizontal scaling has not been measured and is not claimed
- Ten dependencies, 47 packages installed including test and development extras, of which 14 carry a compiled extension — the footprint an operator has to audit
Licensing
AnantCausal is proprietary software of AnantHQ Inc. No licence is granted by its presence in a repository or on this site. Third-party components are used under their own licences, listed in full in the repository, and no GPL or AGPL dependency is present in either the Python or the JavaScript tree.
What to ask us for
If you are completing a security review, ask for the data-flow document and the third-party licence scan — both are maintained and both are more detailed than this page. If something here contradicts what you find, tell us: the repository is the source of truth and this page follows it, so a contradiction is a defect in the page rather than a matter of interpretation.
security@ananthq.com — the same mailbox handles a suspected vulnerability as handles a review, and a disclosure is welcome rather than tolerated.