Threat model
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
One table, one row per adversary, each against what is built today. It merges the security model’s threat table with its per-attack What holds today table, which is the ceiling for every claim here. Each row points at the ADR that decides it.
The table
Section titled “The table”“Can” lists what the adversary achieves today; “Cannot” what the build stops. Server-side checks are layer-1 access control and hold only under an honest operator; anything listed as stopping the operator is a check a client makes with a key the operator lacks.
| Adversary | Can (today) | Cannot (today) | Decided in |
|---|---|---|---|
| Stolen disk, database dump or object-store copy (incl. a subpoena of data at rest) | Read every server-visible fact (What the server sees). Brute-force a weak password offline through Argon2id against the stored auth public key; success yields a login, so a session and operational metadata on a live server, never content. | Read content: the server holds no content key. Open content with a cracked password: the unlock key derivation also folds in a high-entropy Secret Key the server never stores. Use the SMTP password from a database dump: the database holds it only as ciphertext under a key file kept outside it. | ADR 0003, ADR 0050, key model |
| Passive operator (serves honestly, reads the database, store and logs) | Everything on What the server sees: ids, tree structure, membership, exact timestamps, sizes, the account email, per-tenant usernames and identity public keys, which blobs are fetched, and the chunk pattern of a playing video. | Read content or sealed metadata. Learn a password: none is ever sent. Learn who pinned whom: every pin is sealed under the Master Key at an opaque id (it does learn how many pins an account holds). Read a verification: it is sealed under the tenant key (but its row shows who verified whom, and when). Holds on every tier, operator-served web included. | ADR 0026, ADR 0003, ADR 0028 |
| Active operator — code delivery | On operator-served web: serve a tampered client and capture keys and plaintext. Closing this on someone else’s instance needs a client from an origin the operator does not control, which is not built (Roadmap). | Do the same to a client it does not serve. | ADR 0026 |
| Active operator — always | Deny, delay or alter access; see all operational metadata; attempt key substitution on new key exchanges (rows below). | Read content already stored: it holds no key. | ADR 0026 |
| Active operator — membership | Write a membership of its own as an owner: roles are its word, and an owner with no join record is a root that the next key-holder that has not pinned that account wraps the current key to on first use. With a thief of an owner’s retired key, withhold that owner’s securing step from a new account so its invite check passes under the retired key; its join record then lacks the owner’s endorsement and every co-member reads it as an anomaly. With a party that held an invite’s anchor epoch, plant a later epoch for its newcomer, under a succession statement that party signs, where someone other than the owner carried the invite. Guess a mailed invite’s code offline, against 50 bits behind Argon2id, or a weak password an owner chose instead. | Write an ordinary membership a member’s client wraps to: a non-owner without a join record an anchored owner’s invite rooted is an anomaly. Open a mailed invite without its code, which the owner passes on outside veyq. Swap the invite key or the inviting owner in a link: the invitee derives the key from the sealed seed and walks the owner’s key chain from the head sealed beside it. Hand a newcomer a tenant key of its choosing: the key must be the owner’s own grant kept beside the invite, or be reached from it through succession statements. Root a join record with a stolen retired owner key after that owner secured the account: such a record counts only with the owner’s endorsement by their current key, which their securing writes. | ADR 0111 decisions 1–5, 12, 15, 19–21, § What stays open |
| Active operator — identity keys | Install an identity of its own on an account: it writes the key directory itself. (Through the API a session or a password no longer suffices for anyone else: rotation, change-password and recovery need a signature of the Secret-Key proof key.) Outside a shared tenant, and for a tenant’s owner whom no join record anchors, a member who never pinned the account trusts the new one on first use, until the two compare safety numbers and chain codes (built, on the member profile, by QR or digits). Closed fully only by Key Transparency (Roadmap). | Substitute a key for a member whose client already pinned the account’s key-chain head, or, in a tenant, for any member whose join record anchors them: a new key is accepted only through a chain step signed by the old identity and the old Secret-Key proof key, which the operator cannot sign. Any other key shows as Can’t confirm this key; nobody wraps to it, a rotation declares that member pending, and the grant-delivery worker declines the job. | ADR 0028, ADR 0060 Decision 2 and (g), ADR 0111 decisions 7 and 15 |
| Active operator — grants | Plant a scope key of its choosing in a device’s first grant of a shared scope (not on the device that accepted the tenant’s invite, which holds the key it checked), signed by a granter identity it fabricated where the pin alone decides (the tenant scope’s own grant, a group’s outside the active tenant), which the recipient pins on first use; a safety-number compare of that granter detects it. With someone who holds the device’s epoch key, plant a next epoch under a succession statement signed from it. With a member the tenant anchors who is not in the group, plant one in a device’s first grant of that group, a newcomer’s included: the granter is judged by its standing in the tenant, and who is in a group is the server’s word anyway. | Plant one in the personal scope: that grant opens only if self-signed under the vault’s own key, and the signed scope kind stops a group grant posing as it. Plant one under a granter the recipient already pinned, or in a group of the active tenant under a granter no owner-rooted join record anchors. Plant a later epoch of a scope the device holds a key of: succession statements, each signed by a key derived from the epoch key before, must lead to it from that key. | ADR 0028 Decision 6, ADR 0111 decision 23, ADR 0115 decision 5 |
| Active operator — ciphertext placement and freshness | Choose which authentic version of an object, and which epoch’s grant, a client receives, wherever the device keeps no mark of its own; the marks that exist are the pin store’s, the device register’s and the per-scope epoch floor with the epoch key it stands for. Inflate or deflate a node’s item-favorite counts and serve a member an older version of their own set. | Serve one object’s ciphertext as another’s, including a shared Memory’s key on a private Memory so that its uploads land where the share reads them: every seal binds its purpose and the object it is stored as, and the client supplies those ids from the address it asked for. | ADR 0072, ADR 0068 §9 |
| Active operator — trust-state rollback | On a device with no mark yet (signed in with password and Secret Key, or lost its local storage): serve any pin store or device register, which that device trusts first. Withhold a document until the user resets it; the reset is confirmed and names its cost, so the downgrade is visible, not silent. | Wipe or roll back the pin store or device register on a device that has held one, turning a detected key change into a silent first use: the device keeps the highest revision it opened and refuses an older, a missing and an unopenable store before every read and every write — and, for the pin store, an entry withheld, added, rolled back or moved under its head. A linked device starts from its linker’s marks. | ADR 0028 Decision 7 |
| Active operator — key rotation | Withhold a rotation from a member who never learns of it (a fork): that member keeps writing under the old epoch. Steer a rotation queued to another key-holder, which knows only the server’s member list (a tenant removal that cuts a group, an account rotation after a compromise). Roll a member’s view of a subtree back to before a link close’s re-key, so that member’s device seals under the old node key again: the epoch floor watches the scope’s epoch, which a close does not move. | Get a removed group member re-granted by the removal’s own rotation: removal and rotation are one request, wrapped only to the members the remover picked. Make a member seal new content under an epoch the removed member holds, once that member’s device has held the newer one. Open, with an old scope key it obtains later (a removed member’s, a lost device’s), anything in a dump taken after the rotation: every scope-level value’s own key is re-wrapped and every scope-root entry re-sealed in the commit and every node re-keyed, so a later-turned operator, a backup taken after the rotation and a new operator gain nothing from it (but a value whose own key it extracted before, until that value is written again). Have a rotator rewrite another member’s value: a rotation stages only wraps, the server refuses one that writes a value, and a wrap of a key of the rotator’s choosing opens no value sealed under another — a rotator can make a value unreadable, never another one. | ADR 0024 Decisions 4 and 6, § Guarantee, ADR 0115, ADR 0114 |
| Active operator — device linking and key derivation | Link a device of its own if it both reads the pairing QR and runs the relay. | Link its own device while the user links theirs: the QR carries a secret the relay never receives, and both relayed messages carry a MAC under the channel key it derives. Make every unlock derive near-forever: a client derives only with the profile it would write itself. | ADR 0059 §11, ADR 0017 rule 5 |
| Fellow member (same tenant or group) | Read everything in the scopes they hold a grant for: sharing gives that up on purpose. Enumerate the tenant’s usernames, identity public keys and group-add-consent flags: any member can create a group and run the owner-gated resolve. Trash any item in a shared scope (reversible, recorded with who and when) and expedite the purge of what is already in the trash. | Read another member’s personal space, or a group they are not in: they hold no key to it. Read another member’s private node pins: those are sealed under that member’s Master Key. Purge another member’s live item in one step: destruction always goes trash, then purge. | ADR 0014 §5, ADR 0068, security model § Deletion |
| Removed member | Keep every key and every ciphertext they already held: nothing already read is retractable. After a tenant removal, which revokes access at layer 1 and rotates only on an owner’s explicit re-key, read new tenant content with a malicious operator’s help until that re-key. Use any open share link of the space they could rebuild while a member, with no dump, until it is closed or re-issued; a rotation re-wraps it to the new key rather than closing it. With a dump, also read that open share’s later password, label and note edits and what is added below its root, after a rotation too; after a tenant removal, which does not rotate, the content under the node keys they kept, since they keep the tenant key until an explicit re-key. With a dump, open a blob whose K_blob they extracted, after any re-key too: a re-key re-encrypts no content. |
Reach the scope through an honest server: the membership is deleted and the server answers 403. After a group removal, once its rotation re-keyed every node, read what is added anywhere in the group, except through a link they could rebuild: every node has a fresh key, a write into a node not yet re-keyed waits, and a member’s device seals nothing under a key from before the last rotation it holds, even with an active operator’s help (on a client the operator does not serve). Use a re-issued link: it has a new id and a new key, and the old one is deleted. After a group rotation, open with their old scope key anything in a dump taken after it: every scope-level value’s own key is re-wrapped under the new key, and every scope-root entry re-sealed (a value whose own key they extracted before stays open to them until it is written again). | ADR 0024, ADR 0025, ADR 0075, ADR 0109, ADR 0115 |
| Link holder (public share guest) | A view or contribute link: decrypt the shared subtree in the browser, and with a contribute link add to it. Learn the shared node’s scope id, so two links into one space are linkable by anyone holding both. Keep reading until the link is closed — switched off, its end date passed (closed by a server sweep, every minute by default; a write in between is under the old key), deleted or re-issued; a rotation of the space re-wraps an open link to the new key, so it keeps showing what is added. After a viewable link’s close, with a dump, read what existed at the close. A holder of a viewable link reads, through the old drop private key, the later uploads of an uploader link’s guest from before the close or a rotation, until the uploader link is re-issued. What they downloaded stays theirs. | With an upload-only link plus a dump: read anything but what that link’s guests uploaded, because the link carries no Memory key, only the Memory’s drop public key. With a view or contribute link plus a dump: read another share’s password, private label or note, or rebuild its link, because those are recoverable only under the scope key, which no link carries. With the link’s id alone, without the URL fragment: name themself as a guest or upload. After a viewable link’s close, read with it what is added below its root, even with a dump: the close re-keys every node below the root, and a re-key wraps nothing under a closed link. | ADR 0031 point 7, ADR 0036 point 4, ADR 0076, ADR 0072, ADR 0109, ADR 0114 |
| Member invite link holder (whoever reads an invite a space’s owner shares as a link) | Join the space once, with its key, under an address they type or an account of their own, before the person it was meant for: the link carries its code and names nobody. Read what the space holds until an owner removes them; what they read stays read. | Join unnoticed: the person it was meant for is told the link was already used, and the owner sees who joined. Join a second time, or with an account already a member. Mark the address they typed as confirmed: a link proves no mailbox. | ADR 0129 |
| Third-party service (reverse geocoding, breached-password check, exchange rates) | The geocoding provider, once the user opted in: a bare coordinate and the client’s IP. The breached-password service (Have I Been Pwned, automatic): a 5-hex SHA-1 prefix of a finished password, the client’s IP, and, through the browser’s Origin header, which veyq instance this IP uses while choosing a password. The exchange-rate provider (on a new instance Frankfurter, serving the ECB’s euro reference rates; automatic): the device’s date, the client’s IP and, through Origin, which veyq instance this IP uses while writing an Expenses entry in a foreign currency that day — at most once per device and day. |
Receive a veyq identity, a token, or any Memory or Pot context. Receive the request through the veyq operator: all three are client-direct, never proxied. Geocode without opt-in. Learn the password from the check: only the prefix leaves the device, never a partial password typed so far, and the match is computed locally. Learn a Pot’s currencies or amounts: only the date leaves the device, and the cross rate is computed locally. Stop a password choice or an entry’s save by being unreachable: the check advises and the rate fills in, and one that cannot run stops nothing. | ADR 0016, ADR 0108 decision 8, security model § third-party services |
| Stolen device | If the user signed in with Stay signed in on this device on: open the account, because that device’s wrap of the Master Key takes no password. Keep whatever key material is on the device: a revoke from another device never reaches into it. | Unlock a device with the default trusted-device wrap without the password. Reach the server once the user revokes its session from another device (instant). Unlock without password and Secret Key once the user also removes that device’s saved key, a separately named action. Hold the account’s keys after the user secures the account: gated on the password and the Secret Key, which the device never held, it replaces Master Key, identity and Secret Key together, removes every device wrap, revokes every other session, and the account itself then gives every scope it is in a new epoch the old identity is not granted. The device cannot sign a key-chain step, so members accept no key it makes. What the device already read stays read. | ADR 0058, ADR 0060, uc.account.rotate-keys, key model |
Not a row of its own: an online attacker guessing passwords or stuffing credentials against the public authentication endpoints meets per-IP rate limiting, which is defence in depth and honestly limited: it is per-instance and resets on restart (cc.security.rate-limit).
What stays open
Section titled “What stays open”Once every active-operator attack above reads Cannot, these remain, each decided where the table points (security model § What holds today, “What stays open”):
- A key substituted before anyone pinned it, between members who never compare safety numbers. This also covers a device with no trust-state mark yet, and a shared grant signed by a granter identity the operator fabricated. Key Transparency would close it and is not built; nor is the opt-in strict mode that would refuse unverified members, whose shape is still open (Roadmap).
- A member the operator presents as an owner, since roles are its word (ADR 0111 § What stays open). An ordinary member it invents is an anomaly. A stolen owner password is not this door: the server mints an invite only under the caller’s own owner signature.
- With a party that held an invite’s anchor epoch, a later epoch planted for that invite’s newcomer, under a succession statement that party signs, where someone other than the owner carried the invite; and an owner’s securing step withheld from a new account, whose join record then reads as an anomaly to every co-member (ADR 0111 § What stays open).
- Who verified whom in a tenant, and when: a verification’s content is sealed, its row’s address is not — decided, since the server authenticates the writer anyway (ADR 0111 § Consequences).
- A moderation statement’s facts, which the moderator’s client seals to the recipients’ keys as served: the moderation surface has no pin store and may share no tenant with them (ADR 0111 § What stays open).
- A rotation withheld from members who never saw it (a fork), and a rotation a removal queues to another key-holder, which knows only the server’s member list. Detecting a fork needs a transparency mechanism (ADR 0024 § Guarantee).
- An attacker who both reads a pairing QR and runs the relay (ADR 0059 §11).
- Item favorites’ freshness and count limits in the table (ADR 0068).
- A removed member holding old share links, until they are closed or re-issued, as in the table (ADR 0075); a rotation re-wraps open links to the new key (ADR 0109 point 4).
- A drop box’s guest identity from before a rotation or a viewable link’s close, whose key is re-sealed rather than replaced, until the uploader link is re-issued (ADR 0109 point 5, ADR 0114).
- What a party who kept a node key reads with a dump until the node is next re-keyed: after a removal that does not rotate (the tenant’s routine one, whose member keeps the tenant key until an explicit re-key), and in the sweep interval after a link’s end date (ADR 0109 § Consequences, ADR 0114).
- A
K_bloba former key-holder extracted, which opens that blob’s bytes in a later dump too: a re-key re-wraps keys and re-encrypts no content (ADR 0115 § Consequences). The same for a scope-level value’s own keyK_v, until its author writes the value again. - A rotator — an owner, or a member securing their account — junking a value: a stand-in wrap makes it unreadable, and a junked recovery copy closes its link, key lost; an insider’s denial of service, visible, that reads nothing more (ADR 0115 decision 2).
- An active operator rolling a member’s view of a subtree back to before a close’s re-key (ADR 0114 § Consequences).
- The names a Memory’s guests gave, to an operator holding a view or contribute link of that Memory; accepted, because that link already decrypts every medium of the Memory (ADR 0030 point 8).
Two notes on revocation and sharing
Section titled “Two notes on revocation and sharing”Revocation has two layers. Layer 1 stops serving a revoked member or link at once, with no keys involved. Layer 2 replaces the scope’s content key with a fresh one at the next epoch, granted to the remaining members, re-wraps every scope-level value’s own key under it, never rewriting a value, and re-keys every node (ADR 0109), which protects against a revoked party who cached ciphertext and a malicious operator feeding them new ciphertext. Whether layer 2 fires is a per-scope policy: groups rotate on every removal; the tenant and a personal scope never on a removal — the tenant on an owner’s explicit re-key or when a member secures their account, a personal scope only when its account is secured (security model § Revocation, ADR 0025). A rotation does not close a share: the re-key re-wraps each open link to its node’s new key. Closing a viewable link re-keys the subtree below it, so with a dump it reads what existed at the close and nothing added after; a pause re-keys nothing, nor does closing an uploader link (ADR 0114).
A share password is an access-control gate, not a cryptographic one. The content stays encrypted under the link’s key; the password decides what the server serves. It defends a leaked link against an honest operator, not against a malicious one who bypasses the check for someone holding the URL fragment (ADR 0037). The viewer a link opens is operator-served web, so it is passive-operator-safe only.