Privacy and securityAll docs

Privacy and security

Draft Canvas has no account, telemetry or diagram backend. Diagrams leave your device only when you export, share, collaborate, connect a coding agent or publish history to Git.

The optional starters gallery downloads public diagrams and style packs; it never uploads yours.

Reporting a concern#

Report a vulnerability privately on GitHub. SECURITY.md covers supported versions, the threat model and how files, agents and live sessions are protected.

What is stored, and where#

Browser storage#

In the web app, diagrams stay in your browser profile and do not sync. They are not encrypted: anyone with access to the profile can read them.

Location Contents
IndexedDB draft-canvas Object stores bodies, documents (titles, thumbnails), projects (folders), backgroundImages (retired; emptied each time the app opens) and fileAssociations (unused; kept from development builds)
IndexedDB draft-canvas-keys Key for legacy encrypted records, read-only
IndexedDB draft-canvas-starters Downloaded starters gallery and its style packs, when you load it; never your diagrams
IndexedDB draft-canvas-styles Styles you make in Settings → Appearance; never your diagrams
IndexedDB draft-canvas-history Each diagram's history, as Git objects, including content later deleted from the diagram (see Diagram history)
Cache Storage Offline app files, never diagrams
localStorage Short preferences, such as theme, export choices and live-session name
sessionStorage Unsaved edits held across a reload, removed once restored

The desktop app#

What leaves your machine#

No analytics, error reporting or webfonts. The Content-Security-Policy blocks other connections.

Exports and imports#

Both run locally. Anyone can read .draftcanvas files, ZIP backups and PNG/SVG exports that embed the diagram. A passphrase-protected .dcenc export protects only that file, and a lost passphrase cannot be recovered.

A share link carries the whole diagram after the URL's #, including text, notes, code, source evidence and nested rooms. The fragment is not sent to the app host. Desktop links point to app.draftcanvas.dev, where they open in a browser.

The snapshot is shortened and compressed locally, without changing your document; there is no short-link service, upload or remote lookup. File identity and timestamps are assigned afresh when the link is opened.

Live collaboration#

Only session members receive the diagram, and only the owner's copy is saved.

Part Sees or carries
Browser connection WebRTC, encrypted end to end
STUN (stun.cloudflare.com or yours) IP addresses, to find a route; collaborators use one only if the owner does
Relay (relay.draftcanvas.dev) Encrypted join messages, a room id, IP addresses; never the diagram
Only my network No STUN and no relay
Invite links, reply codes Network addresses after the #; one use, 30 minutes
Desktop local network link Plain HTTP, not encrypted; the 128-bit token is proved, never sent
Presence Names, pointers, selections; never stored

Optional AI agents#

Agent access is off by default and limited to folders you allow.

Your coding agent may send diagram content to its AI provider, as it does with code.

The desktop app logs coding-agent requests in agent/ledger.jsonl (request IDs, fingerprints, receipts and paths) so a retried request is never applied twice. Finished entries are kept for up to 7 days (at most 2,000), unfinished ones for up to 30 days.

Nodi (desktop) runs your own Claude Code or Codex on your machine, signed in as you:

Agents can read summaries of the open diagram's history and preview a restore or merge. They read a past revision in full only if you turn on Let agents read past revisions in full in Settings → History. A past revision can include content since removed from the diagram (see Diagram history).

Storage limits and backups#

Optional local diagnostic report#

Open Help → Diagnostic report… in the web app, or Settings → Support in the desktop app.

The report lists up to 20 recent failure categories, with times, versions and optional element counts, but no error text, content, identifiers, URLs or paths. It stays in memory until reload, and nothing is uploaded: Download report saves a local file.