Skip to main content Skip to navigation Skip to footer

Security Model

Who can see what in config storage, how keys are scoped, what agents and remote MCP can reach, and what is recoverable.

Security Model

This page states what config storage protects, which key opens what, and what each kind of caller can reach. For setup steps see Config Storage; for sessions and tokens see Account Security & API.

Who can see what

Key hierarchy

The server holds the SDK and org passphrase keys; only key-slot holders unwrap the CEK.

Who can see config content

What each kind of attacker can read.

A stored config is encrypted in three layers. The SDK layer and the org passphrase layer are keyed by the server. The middle layer is the content encryption key (CEK), which only key-slot holders can unwrap: a slot secret held on the device combines with a server-held secret, and neither half alone opens it.

Attacker holdsSees config contentWhy
A database copy onlyNoConfig blobs live in object storage, not the database
The database and the object storageNoThe org passphrase layer needs the Worker secret, and the CEK layer needs a slot secret
A full server compromiseNot without a slot secretThe server layers fall, but the CEK stays behind passkey PRF output or the 160-bit recovery kit, and neither is guessable
A removed member’s deviceWhat was already pulledLater versions stay closed after a CEK rotation
A leaked agent URLOne config, as that userSee Agents and remote MCP

The server can still see metadata (config ids, teams, versions, timestamps, blob sizes) and can refuse, delay or delete requests. An operator who serves malicious portal code can read keys in the browser. Every blob is bound to its store, config, team and version, so the server cannot swap or edit one undetected, and the CLI refuses a version older than one it has seen.

Key scope

Key scope

One store and one CEK per organization; teams are access control, not separate keys.

  • One config store per organization, and one CEK per store. Teams are server-side access control, not cryptographic isolation: a recovery kit or key slot opens the whole organization’s CEK.
  • Key slots are unique per store, user and method, so a recovery kit is one per user per organization. A user in two organizations holds two kits, and there is no team kit.
  • A machine secret is one per machine per organization and enrolls a headless machine.
  • Each config has its own content key under the CEK. An agent grant carries one config’s content key, so no other config of the organization opens with it.
  • Each config’s authorization policy is a separate record under a key derived from the CEK and the record’s pointer. A holder of one policy key opens that pointer’s records only.

Agents and remote MCP

Remote MCP flow

A client call passes the MCP Worker to the organization executor; an expired grant sends the client back to re-authorize.

An agent grant is the key-holder type behind a remote MCP URL. It carries one config’s content key and the policy keys of the grant’s own team config and of the organization-level config, never the CEK, so an agent reads exactly what its person reads.

  • Lifetime. A URL lives 7 days by default and 30 days at most, then expires or is revoked. An expired grant is refused and the client re-authorizes.
  • Scope. A grant reaches one config and belongs to one region (eu, us or asia). A URL presented to another region is refused with the right region named, never forwarded. On-premise installs are a single region.
  • Policy. An agent acts only where a human opt-in and the policy ceiling both allow it. The ceiling is the organization policy narrowed by the team policy. An agent cannot edit policy, read secret values or widen its own grant.
  • Blast radius. A leaked URL acts as that user on its one config until it expires or is revoked. It opens nothing outside the hosted executor of its region.

Tool output reaches the model provider the user connects, which Rediacc does not choose.

On-premise

There is no Cloudflare in the path. The Worker secrets of the cloud become environment variables or config on the customer host, so host access replaces the Worker-secret boundary in the table above, and tool calls run on the customer’s own daemon executor.

Policy

Policy ceiling

An agent acts only where the human opt-in and the intersected organization and team policy both allow it.

The policy is a separate record, sealed per config entry with authenticated data that binds store, config, team, version and key generation. The server cannot read it, and a replayed or swapped record fails its integrity tag. Version-1 policy records are refused.

Only an organization owner or admin writes the organization policy, and only a team admin (or an owner or admin) writes that team’s policy. A write needs 2FA and an elevated session, and a bound passkey when the store requires passkeys. Every member and every executor serving them reads it. A key the organization locks is ignored in a team policy.

What is recoverable

Unlock and recovery paths

Every unlock method ends at the CEK, and the recovery kit is mandatory.

SituationRecovery
Lost passkeyUnlock with the recovery kit, then enroll a new passkey
Lost kitRegenerate it from a working passkey; the old printout stops working
Both lostAn owner or admin re-adds the member through the member handoff
Last key holder loses bothUnrecoverable, which is why a second key holder is advised
Member removedTheir slots and tokens go at once; a CEK rotation closes later versions to a key they kept
CEK rotationRe-wraps the CEK under a new generation and invalidates every recovery kit

The server refuses a slot deletion, member removal or member leave that would leave fewer than two key holders and no recovery slot. Every member receives a mandatory recovery kit at enrollment, and keeping it is the member’s responsibility.