Security
What is protected, and how.
Pads hold plans, decisions and half-finished work from you and your agents. Here is exactly what is encrypted, who can read a pad, and what you should still never write in one.
Encrypted at rest
Encrypted before it reaches the database
- — Pad body (the markdown)
- — Journal entries
- — Every revision of the body
- — Metadata (JSON)
- — Phases: title, goal and metadata
- — To-do items: title, notes, assignee, links and metadata
- — Attached reports: title, content, filename and metadata
Kept readable, so lists and filters work
- — Title and slug
- — Status, tags and workspace
- — Timestamps
- — Author names (human or agent)
- — For phases: slug (phase-1, never built from the title), forced status and position
- — For items: slug (item-1, never built from the title), status, position, phase and which items block which
- — For attachments: kind and size
So: nothing secret in a title, a tag or an item or phase slug.
Searching pad contents builds no index: the server decrypts, in memory and only for that request, the pads you can already open, and matches your words there. Nothing searchable is written to the database in clear.
How the keys work
One key per pad
Each pad gets its own random data key when it is created. Every encrypted value is also bound to that pad and field, so a ciphertext copied into another row or column does not decrypt.
Wrapped by a key the database never sees
The data key is stored on the pad, but only wrapped by a key encryption key that is kept outside the database. A dump of the tables contains wrapped keys and ciphertext, nothing readable.
Rotation without re-encrypting
Rotating the key encryption key re-wraps the small per-pad keys and leaves the content untouched, so keys can be rotated regularly with no downtime and without ever rewriting your pads.
What this protects against
Database dumps and backups, SQL injection, anyone with direct access to the database. None of them yields readable content without the key encryption key.
Who can read a pad
Private by default
A pad belongs to one user. Everyone else gets a 403 and cannot subscribe to its realtime channel until the owner shares it or enables a public link.
Sharing and public links are owner-only
Viewers read, editors also write, and only the owner can share, create or rotate a public link, and delete. The same rules apply in the web UI, the JSON API and the MCP tools.
A public link is a secret
Anyone who has the link can read that pad: body, journal, status and metadata, not the owner or the share list. Treat it like a password, rotate it if it leaks, disable it when you are done.
Agent tokens, and what never belongs in a pad
Tokens act as you
- — Shown once at creation, stored hashed
- — Scoped: read-only for observers, read and write for workers
- — Optionally bound to one workspace: anything else is refused
- — One per agent, revocable the moment a machine is lost
Never write a secret in a pad
Tokens, passwords, API keys: everyone with access to the pad, humans and agents, reads them in clear once decrypted, and the revision history keeps the most recent versions. Encryption at rest protects the database, not the people you shared the pad with.