Security & technology

Confidential by architecture, not by promise.

CaseVane is built so that the identity of your client never leaves your computer, and so that the finished draft can be opened only by you. Here is exactly how, with the algorithms, the data flow and the limits.

0
client files uploaded: PDFs are read in your browser
On-device
name recognition (GLiNER on ONNX WebAssembly)
RSA-3072
+ AES-256-GCM seal, key held only by your tab
24 h
automatic deletion of sealed drafts
600,000
PBKDF2-SHA-256 rounds for the passphrase vault
5 passes
facts, law, writing, an independent critic and a line-by-line check, across two AI model families

Visibility

What we can see, and what we cannot.

Never reaches us

  • The PDF files you attach
  • Client names, UCI and application numbers, passport numbers, dates of birth, addresses, phones and emails you approve as hidden
  • The list linking each placeholder to its real value
  • Your tab's private key, and so the sealed finished draft
  • Your vault passphrase

Passes through, briefly

  • !The de-identified text you approved, encrypted at rest while queued and written, deleted when the draft finishes
  • !The same text at the AI model providers (via OpenRouter to Anthropic and Google), under their terms
  • !Case citations only, such as 2024 FC 123, sent to CanLII to confirm they exist

Kept with your account

  • Your file reference, the service, status, dates and usage record
  • Server logs with a draft's number and outcome, never its content

The processing chain

From refusal letter to sealed draft, step by step.

Each stage says where it runs and what data it holds. Identifying details exist only in the stages marked Your browser.

  1. Your browser

    Read the PDFs

    The text layer is extracted locally with a PDF reader running in the page. Scanned pages are refused, not guessed.

  2. Your browser

    De-identify

    GLiNER, a small named-entity model, runs on ONNX Runtime WebAssembly next to fixed patterns for identifiers. Values become placeholders such as [PERSON_1] and [UCI_1]; the map stays in session storage.

  3. Your browser

    You approve

    You see the exact text that will be sent, highlighted, and hide anything missed. The tab also creates its RSA-OAEP 3072 key pair and sends only the public half.

  4. CaseVane server

    Extract facts

    A fast Claude model lists dates, amounts, file numbers and events exactly as written. The text is stored encrypted while the job runs.

  5. CaseVane server

    Select the law

    Sections of the consolidated IRPA and IRPR are read from the Justice Laws XML, plus fixed rules per refusal type and IRCC guidance where a service needs it.

  6. AI providers

    Write

    A strong Claude model drafts from the original de-identified documents and the full legal text, writing [MISSING: …] for gaps.

  7. AI providers

    Critic + line check

    Gemini models from a different family review the draft and check each line against the documents and the law.

  8. CaseVane server

    Guards and seal

    Fact and citation guards list what is unconfirmed. The result is encrypted with AES-256-GCM under your tab's public key; the de-identified text is deleted.

  9. Your browser

    Open and restore

    Only your tab can decrypt the draft. It puts the real names back and builds the Word or text download locally.

Cryptography

The specifics.

All browser-side cryptography uses the standard Web Crypto API built into the browser. No custom algorithms.

PurposeMethodWhere the key livesLifetime
Text in transitHTTPS (TLS)Browser and serverThe request
Text while draftingEncrypted at rest on the serverServerDeleted when the draft finishes
Finished draftAES-256-GCM, key wrapped with RSA-OAEP 3072 / SHA-256Private key only in your tab (session storage)Deleted 24 h after finishing
Kept draftPBKDF2-SHA-256, 600,000 rounds, random salt; AES-256-GCMOnly in your memory (the passphrase)1, 7 or 30 days, then deleted
Placeholder mapNot sentYour tab (session storage)Until the tab closes

The limits, stated plainly

Automatic detection can miss a detail, so read the de-identified text before you send it. While a draft is written, the de-identified text passes through our server and the AI model providers. Context can identify a person even without a name: use your own file reference, and hide details the draft does not need. You remain responsible for your professional duty of confidentiality.

Questions

Security questions.

Can CaseVane read my client's file?

No, not the identifying details. Your browser reads the PDFs and replaces names, UCI and application numbers, passport numbers, dates of birth, addresses, phones and emails with placeholders before anything is sent. Only the de-identified text you approve reaches CaseVane's server and the AI models, and the finished draft is encrypted to a key held only by your browser tab.

Are my documents uploaded?

No. The PDF files are read in your browser; only the de-identified text is sent, over HTTPS.

Which encryption does CaseVane use?

Finished drafts are sealed with a per-tab RSA-OAEP key (3,072 bits, SHA-256) wrapping an AES-256-GCM key. Drafts kept longer are encrypted in the browser with AES-256-GCM under a key derived from your passphrase with PBKDF2-SHA-256 over 600,000 rounds.

How long is data kept?

The de-identified text is deleted when the draft finishes. Sealed drafts are deleted 24 hours after they finish, or when you delete them. A draft locked under your passphrase is kept for the 1 to 30 days you choose, then deleted.

Are my documents used to train AI models?

CaseVane does not use your documents to train models. For the line check it asks OpenRouter to use only endpoints that do not use the data for training. The model providers handle the de-identified text under their own terms.

Which AI models write and check the draft?

Anthropic's Claude models extract facts and write the draft; Google's Gemini models, from a different model family, review the draft and check each line against the documents and the law. Requests go through OpenRouter.