Security
Who runs what, how to tell us about a finding, what a key looks like, where the cookie boundary is, and where compliance stands today. The threat model itself is on the docs’ security page.
Subprocessors
Three parties touch a tenant’s data, each under the product’s own contract; the sign-in mail is the identity provider’s own, not a fourth. Nothing a tenant reads elsewhere on this site names them: a build is a build, a database a database.
- Compute and buildsVercel
- Every hosted app builds and runs on Vercel under the product's own contract; the projects are the product's, never the tenant's, and a tenant holds no credential to them.
- DatabasesNeon
- Every app's database is a Neon project under the product's organization; the database host in the read string (`*.neon.tech`) is the one provider hostname a tenant sees.
- IdentityClerk
- Sign-in, organizations and sessions are Clerk's; the sign-in screens are Clerk's components under the product's look.
- Emailthe identity provider's
- The sign-in codes and the invitations are sent by the identity provider; the product sends no other mail in v1.
Reporting a finding
Write to security@durablesdk.com with what you found and how to see it; you get an answer within two business days and a fix date once it is reproduced. The same address and its expiry stand at /.well-known/security.txt (RFC 9116). Test against your own tenant only; never read another tenant’s data, and never run a denial of service.
API keys
A key is minted by a person on the dashboard or through the CLI’s browser hand-off, shown once, and stored as a SHA-256 hash; it carries one scope (read, deploy or admin) at most the person’s own, and a device-flow key expires in 90 days. Add the pattern below to your secret scanner.
dsk_live_ + 40 characters of [A-Za-z0-9]regex dsk_(live|test)_[A-Za-z0-9]{40}gitleaks id = "durablesdk-api-key" regex = '''dsk_(live|test)_[A-Za-z0-9]{40}'''The cookie boundary
A hosted app answers at <app>.durablesdk.com, a sibling of the dashboard at the shared root. The dashboard’s own cookies are host-only and __Host-prefixed, the session cookie is read on this host alone, a session-authenticated API request must come from this origin with its organization header and a JSON body, and every page forbids framing. The one effect of the shared root: a sibling app can at most sign you out, never in. The apps’ root is one configuration value, and the move to a reserved root on the Public Suffix List is one record away the day it is wanted.
Compliance, as it stands
A SOC 2 controls map exists; there is no report yet. HIPAA is available on request for a regulated tenant on Enterprise, with the database’s own HIPAA setting and a BAA. The ledger stores no customer PII by policy: a redaction policy clears it by name and by shape before any row is written. The status, dated, is on the compliance page.
Licence
The SDK’s packages are Apache-2.0 today and their source is available; the plane’s own code is not published. A change of licence is announced on the changelog before it takes effect.