# Security

> How Sypnia Data protects people's accounts, your data and its own secrets, in the engine and in Sypnia Cloud.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://data.docs.sypnia.com/security/

For agents: Security overview: passwords argon2id + breached check, short EdDSA access tokens, rotating refresh tokens with reuse detection, DPoP for machines, secrets stored as hashes, signing keys and credentials encrypted (KMS or master key), one database per project, no superuser, row-level security enforced by Postgres, rate limits and audit, TLS everywhere. Pages: threat model, how secrets and projects are isolated, checklist.

| Area         | In short                                                                                                                                  |
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
| Accounts     | argon2id passwords, breached-password check, rate limits and lockout, CAPTCHA, reauthentication for sensitive changes, new-device e-mails |
| Tokens       | access tokens live an hour; refresh tokens rotate and a reused one ends the session; machines can bind tokens to a key with DPoP          |
| Secrets      | every token, code and key is stored as a hash; signing keys and provider credentials are encrypted at rest                                |
| Data         | Postgres row-level security decides every row; the engine never filters by itself                                                         |
| Isolation    | one database per project, its own keys, no superuser anywhere                                                                             |
| Traceability | an audit log for auth, for SQL and for machine actions                                                                                    |

- [The threat model](/security/threat-model/): The attacks Sypnia Data is designed against, and what stops each one.
- [Checklist before production](/security/checklist/): What to check before real people sign in.

Found a vulnerability? Write to `security@sypnia.com`. We answer within two working days.
