Skip to content
AnantCausal
Security

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

Data handling

Four claims, each of which changes what a reviewer has to worry about.

What leaves your deployment

  1. Your warehouse: Holds the rows and the credentialLane: Your warehouseLeads to: Joint counts (counts only)
  2. Joint counts: The rows are droppedLane: The deploymentLeads to: The model
  3. The model: Fitted to counts, not recordsLane: The deploymentLeads to: Usage report; A model provider
  4. Usage report: Queryable through your own APILane: The deployment
  5. A model provider: Never contacted by defaultLane: Only if you configure it
  6. Keycylinder: Data at rest; cloud: Outside your network; dashed: Only if you configure it
Source rows are reduced to joint counts and dropped, a warehouse is queried with a statement rather than a credential, and nothing reaches a model provider unless you configure one.
  • 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

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

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.

— the causal-engine repository, docs/security.md

How a request stays inside its project

  1. A request: Signed with a keyLeads to: Project from the key
  2. Project from the key: A stored fact, not a headerLeads to: Every query filters by project
  3. Every query filters by project: In the applicationLeads to: Row-level security (defence in depth)
  4. Row-level security: In the databaseLeads to: Only this project's rows
  5. Only this project's rows
  6. Keycylinder: Enforced in the database itself; dashed: A second layer, not the first
The project is read from the key that signed the request, every query filters by it, and the database refuses rows from any other project even if a query forgets to.
Governance status

Governance status

Stated as of today, not as of the roadmap. Every row is checkable in the repository, and none of them is aspirational.

ControlStatusNote
Tamper-evident audit trailImplementedeach 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, viewerImplementeda viewer is refused on every write, enforced where the caller is identified rather than route by route
Single sign-on (OpenID Connect)Implementedauthorization-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)Implementedcreate, deactivate and delete members from your identity provider; access stops on the next request. Users only, no groups
Second factor (TOTP)Implementedwith single-use recovery codes; a project can require it of every password sign-in
Sign-in lockoutImplementedcounted by address, including addresses that do not exist, so the response never says whether an account is real
Encrypted stored secrets, with key rotationImplementedwebhook signing secrets and one-time-password seeds; passwords, keys and tokens are hashed; warehouse credentials are never stored
Row-level securityImplementedenabled 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 quotasImplementedbound networks, datasets, interventions, webhooks and schedules; a workspace cannot raise its own
Backup and restore drillImplementeddumps, restores into a throwaway copy, compares counts and schema, verifies every audit chain, and reports the time taken
Dependency audit and SBOMImplementedknown-vulnerability audit and a CycloneDX bill of materials, run in CI
Tracing (OpenTelemetry)Implemented, opt-inrequests and database statements become spans; bodies and SQL parameters are not recorded
Typed errorsImplemented22 stable error codes, documented
Dependency licencesScanned0 GPL or AGPL in either the Python or the JavaScript tree
Encryption of all stored rowsNot builtthe application encrypts secrets, not rows; disk and backup encryption belong to the host
Per-tenant rate limitsNot builtrate limits are per client; per-workspace quotas bound object counts, not request rates
Step-up confirmation for destructive actionsNot builtnor a second factor for API keys
Independent penetration test, SOC 2 or ISO 27001Not donethese 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

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

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.

If you are completing a review

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.