Security Architecture & Client Data Privacy

Family genograms and social work ecomaps contain sensitive relational, medical, and intergenerational context. ClearGenogram is engineered around a local-first, zero-plaintext architecture so therapists, social workers, and students keep control over case diagrams at every step.

1. 100% Local-First Studio Execution

Layout geometry, SVG vector rendering, 15-university rubric checks, offline Text-to-Draft parsing, 1-click supervision redaction, and factual structure summaries execute strictly inside your browser—zero data leaves your device unless you explicitly invoke Cloud Sync or Opt-In AI Import.

2. WebCrypto AES-256-GCM Sync

When syncing across Mac, Windows, or iPad, your browser derives an encryption key via PBKDF2-SHA256 (210,000 iterations) from your secret passphrase and uploads authenticated AES-256-GCM ciphertext only.

3. One-Click Purge & Offline Files

Save portable .cleargenogram.json files directly to your encrypted clinic drive, delete synced cloud blobs at any time, or wipe local browser drafts in two clicks after using a shared workstation.

Technical Specification: What Touches Browser vs. Cloud

Workflow LayerWhere Data LivesServer Visibility
Interactive Drawing & Draft ShelfBrowser memory & localStorageNone (never leaves your device)
Offline File Backup (Save File)Local disk / institutional encrypted folderNone (generated via local Blob URL)
PDF, SVG & 3x PNG ExportBrowser SVG serializer & HTML5 CanvasNone (rendered locally in browser)
Opt-In AI Note & Sketch ImportBrowser PII scrubber → transient TLS request → local Diff reviewDe-identified structure only; raw notes/photos are never saved in our database
Optional Encrypted Cloud SyncCloudflare D1 encrypted blob tableAccount ID, short case label & opaque AES-256-GCM ciphertext only

Recommended Clinical Hygiene Checklist

  • Use initials or first names (e.g., "S.M." or "Marcus") and internal case codes rather than full legal identifiers.
  • Click "Save File" after completing important intakes so Safari 7-day storage cleanup never affects offline drafts.
  • Store your 8+ character Vault Passphrase in 1Password, Bitwarden, or Apple Passwords before enabling Cloud Sync.
  • Use "Clear Local Diagrams from This Browser" in the Sync tab when working on shared university or clinic workstations.

Regulatory Scope & Transparent Boundaries

We believe clinical software should describe its exact technical controls plainly without marketing exaggeration. ClearGenogram is a client-side diagramming utility—not a covered-entity electronic health record (EHR) repository—and we do not sign custom Business Associate Agreements (BAAs) on self-serve plans. When your agency policy prohibits external cloud storage of identifiable records, use ClearGenogram strictly in local browser mode with de-identified initials and save exported PDFs directly into your approved EHR.

End-to-End Encrypted Cloud Vault Lifecycle (4 Verifiable Steps)

Unlike general cloud design platforms where every text box is stored as readable JSON on vendor servers, ClearGenogram separates authentication from client-side encryption so your Vault Passphrase never crosses the network:

Step 1 — In-Browser Key Derivation (PBKDF2-SHA256)

When you enter an 8+ character Vault Passphrase, the browser’s native WebCrypto engine generates a fresh 16-byte cryptographic salt and runs 210,000 PBKDF2-SHA256 iterations to derive a 256-bit symmetric key in volatile memory.

Step 2 — Authenticated AES-256-GCM Ciphertext Sealing

Your diagram JSON (relatives, birth years, union bars, ecomap systems, and factual notes) is sealed locally with a random 12-byte initialization vector (IV) and an authenticated GCM integrity tag that detects any tampering.

Step 3 — Ciphertext-Only Transport & Database Storage

Only the opaque envelope (alg, salt, iv, and Base64 ciphertext) plus a non-identifying case label (capped at 120 characters) is uploaded over TLS 1.3 to Cloudflare D1.

Step 4 — Granular Single-File Deletion & Session Analytics Masking

Delete any individual cloud file or purge local browser storage instantly. Interactive studio inputs also carry strict DOM masking attributes so usability diagnostics never capture typed family names or vault passphrases.

Security & Privacy FAQ

Does ClearGenogram upload family names or clinical notes while I draw?

No. By default, ClearGenogram runs entirely inside your web browser memory and local storage. Family names, birth years, relationship lines, offline Text-to-Draft parsing, and rubric checks never leave your device unless you explicitly sign in and use either "Encrypt & Sync to Cloud" (ciphertext only) or Opt-In AI Note/Sketch Import (which scrubs direct PII inside your browser first and never stores your input text or sketch photo in our database).

How does client-side AES-256-GCM Cloud Vault encryption work?

When you enter your secret Vault Passphrase, your browser uses the native WebCrypto API to derive a 256-bit key via PBKDF2-SHA256 (210,000 iterations with a random 16-byte cryptographic salt) and encrypts your diagram JSON with AES-256-GCM and a fresh 12-byte IV before network upload. Only ciphertext envelopes reach our database.

Can ClearGenogram support reset or recover a forgotten Vault Passphrase?

No. Because your Vault Passphrase is never transmitted, logged, or hashed on our servers, nobody—including ClearGenogram engineers—can decrypt your cloud files without it. Always store your passphrase in a password manager and keep local .cleargenogram.json backups.

What happens to local browser drafts on Safari, iPadOS, or shared lab computers?

Apple Safari and iPadOS Intelligent Tracking Prevention (ITP) may clear unvisited browser site storage after 7 days. Download a .cleargenogram.json file via "Save File" for permanent offline retention, and click "Clear Local Diagrams from This Browser" whenever finishing work on a shared university or clinic computer.

Should clinicians enter full legal patient identifiers or medical record numbers?

As clinical best practice, we recommend using initials, first names, or internal case codes (for example, "Client S.M." or "Case 204") rather than Social Security numbers, street addresses, or insurance IDs. ClearGenogram is a specialized diagramming utility rather than an electronic health record (EHR) system and does not execute Business Associate Agreements (BAAs).