Security overview
Last updated 27 November 2026. Effective 1 December 2026.
- Keys are shown once and stored as SHA-256 hashes; each carries scopes and an optional daily spend cap.
- Platform tokens and webhook secrets are encrypted with AES-256-GCM, bound to the row they belong to, and never returned by the API. Next, each workspace will get its own key, held in a managed key service.
- Workspaces are isolated in the database: every row carries its workspace and row-level security refuses reads and writes across them. Tests try to cross that line on every build.
- Signed links and webhooks carry an HMAC-SHA256 signature and a timestamp; links work once and expire; old webhook timestamps are refused.
- Webhooks and outbound calls go only to public addresses, checked after DNS.
- The audit log is append-only (refused by the database even to its owner) and hash-chained; customers can verify and export theirs.
- Least privilege: the API runs as a database role that owns nothing, may only append to the ledger, and reaches other workspaces only through narrow functions that hand back ids.
- Platform access asks only for read scopes unless you switch on a feature that needs more.
- Testing: an outside security test of the API and token store before the first paying customer.
- Incidents: a written breach runbook; customers told within 24 hours; DPDP's 72-hour report met.
- Reporting a vulnerability: security@leharve.com, and
https://leharve.com/.well-known/security.txt.