Security
If we're breached, the attacker gets ciphertext.
Ospin is built on one assumption: any system can be compromised, including ours. So no single system ever holds a usable key at rest.
Life of a key
- 01
Your browser
Plaintext key exists only here, briefly
sk-DEMO••••4f1a - 02
Sealed in browser
Encrypted to the gateway public key
kgs1.1.9a3f… - 03
Ospin vault
Wrapped with your workspace data key, stored as ciphertext
kgw1(kgs1.1.…) - 04
Gateway, in memory
Unsealed per request, never written to disk
sk-DEMO••••4f1a - 05
Provider
Receives the real key with a provider-side cap
OpenAI, Anthropic, …
Defence in depth
Six layers, each useful on its own.
Browser-side sealing
Your provider key is sealed in your browser with the gateway's public key before it is uploaded. Our dashboard servers only ever receive ciphertext.
Two-layer encryption
The sealed key is wrapped again with a per-workspace data key held in a separate vault. Decryption needs both layers, held in separate systems with separate access.
Gateway isolation
Keys are unsealed in memory, per request, by a separate gateway service with its own narrow database role and no logging of secrets.
Provider-side caps
We help you set a hard cap at the provider too. Even if every Ospin system failed, the provider stops the bill.
Honeytokens
Decoy keys that look real. Any use is an instant, high-confidence breach signal with the source IP and user agent.
Auto-freeze
Velocity, cap and pattern rules freeze a key at the gateway within seconds and page you with what was blocked.
Compliance
Built to the controls auditors check.
SOC 2 Type II
Built to SOC 2 Type II controls, audit in progress.
ISO 27001
Built to ISO 27001 controls, certification in progress.
GDPR
EU data residency, DPA available, subprocessors published.
Responsible disclosure
Found something? Tell us first.
Email security@ospin.dev with details and steps to reproduce. We acknowledge within 24 hours, keep you updated, and credit researchers who report in good faith.
Please do not access other customers' data, run denial of service tests or use social engineering.