The problem
Compliance teams keep their most sensitive material in a GRC platform: control gaps, evidence of weaknesses, and plans to fix them. If the vendor is breached, every customer is breached with it. Contracts and access policies do not change that.
The goal was stricter than a promise not to look. The platform had to be unable to read customer assessment data, by architecture.
Threat model
- Plaintext assessment responses
- Encryption keys, at rest or in transit
- Gap analysis and remediation detail
- Ciphertext
- Account, tier, and billing records
- Organization and team membership for access control
Constraints
- Auth tokens change on every login, so a key cannot come from the session.
- Four subscription tiers need four different storage modes.
- Enterprise teams share data, and people leave teams.
- One answer can change scores, gaps, and remediation items at the same time.
Key decisions
Derive the key. Never store it.
The encryption key comes from the stable parts of the user's identity plus a per-user salt. The browser rebuilds the same key in every session, so no key is ever written to disk or sent to the server. The server cannot read the data even if it wants to.
One storage adapter, four tiers
Free, Professional Lite, Professional, and Enterprise each use a different mode: plaintext local, encrypted local, encrypted cloud sync, and encrypted cloud with team collaboration. An adapter picks the right one at runtime. Features never check the billing tier, so pricing changes do not touch feature code. Local data lives in IndexedDB for capacity and predictable failures.
An orchestrator for cascading updates
One control answer can change maturity scores, gap status, remediation items, and cloud sync. A debounced orchestrator runs these stages in a fixed order: one user action, one job, each stage feeding the next. Items tied to a closed gap resolve themselves.
The organization owns the data
In the enterprise tier, records belong to the organization, not to a person. The model separates the owning organization (fixed), the admin contact (can change), and the original author (audit trail only). Access comes from team membership. When someone leaves, the work stays.
Results
- The server stores only ciphertext for assessment data.
- One codebase serves four storage modes. A tier change is configuration, not a rewrite.
- One workspace covers NIST CSF 2.0, NIST AI RMF, SOC 2 Type II, HIPAA, ISO 27001, and PCI DSS.
Tradeoffs
Zero-knowledge has a price. The server cannot search or analyze assessment content, and support staff cannot inspect a customer's data to debug it. Both are accepted on purpose, because they are the point of the product.