Threat model
This document is the canonical owner of Konclave's security goals, trust boundaries, adversaries, and acknowledged limitations. Architecture decisions...
Repository-relative paths and “this checkout” refer to the Konclave source repository, not this website. The source link above identifies the exact revision used here.
On this page
This document is the canonical owner of Konclave’s security goals, trust boundaries, adversaries, and acknowledged limitations. Architecture decisions select mechanisms; the protocol compatibility contract defines wire behavior; conformance tests provide evidence that implementations honor both.
Protected assets
- message plaintext and attachments;
- device root private keys and per-conversation MLS private keys;
- MLS epoch secrets, resumption secrets, and persisted group state;
- invitation capabilities and local authorization credentials;
- pairing capabilities, directional pairing keys, and pairing authorization state;
- install-scoped enrollment credentials and per-profile relay data-plane tokens;
- installed authorization-issuer private keys, ephemeral session keys, exact-profile grants, authenticated service connections, and delivery leases;
- UserPresence credential public state, reservations, WebAuthn counters, pending challenges, canonical request bindings, and verified assertion digests;
- harness-attestation verification roots, pending challenges, signed assertions, and transient normalized session subjects;
- relay bearer credentials and authorization policy;
- membership integrity and administrator policy;
- message authenticity, ordering, acknowledgment, and replay state;
- local daemon control and decrypted history.
- remote-event ordering, acknowledgment, mute, and suppression state.
- canonical collaboration-policy bundle content, digest identity, and sealed local conversation bindings;
- collaboration-policy exchange metadata and its references to sealed message history.
- directed-request handling claims, bounded attempts, and terminal response/no-response outcomes.
Components and trust boundaries
Local daemon
The daemon is the trusted endpoint boundary. It owns device identity, MLS state, plaintext processing, local authorization, and sealed persistence. Inputs from models, extensions, CLI processes, IPC peers, files, and network services remain untrusted even when they originate on the same machine.
Windows native profile KEKs reside in owner-only, current-user DPAPI-protected files, bound to the profile identifier and key slot. This avoids allocating a shared Credential Manager entry for every retained session profile. A ciphertext database backup plus the protected key file is not a raw-key backup: opening depends on the Windows user’s DPAPI material. Same-account compromise, loss of that material and rollback to older valid protected bytes remain limitations. Missing or malformed custody fails before databases open; it never triggers a replacement key or automatic legacy migration. See ADR 0034.
Explicit native services
An explicitly composed native service is a separate trusted endpoint for its own injected identity, custody, MLS state and journals. It uses the public native client contracts, never another endpoint’s daemon profile. Web authentication does not grant native membership, roles or collaboration-policy authority. As defined by ADR 0013, an ordinary HTTP edge still terminates plaintext; native client composition does not extend E2EE to its caller.
Agent harnesses and extensions
Harnesses and extensions are adapters, not cryptographic endpoints. They may request authorized operations and receive application results, but they never receive raw identity keys, MLS secrets, provider state, or storage encryption keys. Model-produced tool arguments are validated like hostile network input. An authorized adapter necessarily receives plaintext selected for its harness and can disclose that plaintext if compromised.
Shared local service channel
The per-user service owns one well-known local endpoint: an owner-restricted Windows named pipe or a socket inside an owner-only Unix runtime directory. It never opens a TCP listener and is never reachable from the network. Platform peer credentials and endpoint policy reject other operating-system users.
The configured authorization policy determines what evidence may obtain profile
access. The AccountTrusted provider explicitly trusts every process running
under the configured operating-system account. Its owner-protected Ed25519 key is an
issuer credential only: it may request policy-permitted grants but cannot invoke
profile operations. This excludes other accounts but intentionally does not isolate
mutually hostile same-account processes.
The Windows UserPresence provider requires a native WebAuthn assertion with both
user presence and user verification for one exact canonical grant binding. The
Konclave helper and extension are untrusted adapters: they receive bounded standard
request JSON, launch no shell or listener, and cannot grant authority from a success
status. The daemon independently verifies the relying party, synthetic native origin,
challenge, credential, signature, flags, user handle, and counter transition before
persisting counter state and issuing evidence bit 2. Linux and macOS report
required_evidence_unavailable; no terminal prompt, software key, or AccountTrusted
fallback sets that bit.
Credential persistence compares the complete begin-time record with current durable
state, so an older concurrent ceremony cannot regress a newer authenticator counter
or issue a grant after losing that race.
The broker identifies the Konclave relying party but does not display every bound profile, harness, capability, and expiry field. A hostile same-account process can trigger a legitimate ceremony and may gain its own exact grant if the user approves that ceremony. UserPresence proves fresh authenticator-mediated verification and request integrity, not correct human interpretation, legal identity, or presence for every later operation. One approved memory-only session key may use its finite grant until expiry. Complete installation rollback or executable replacement across daemon restart remains outside this first provider’s guarantee.
Each client generates a memory-only session key. An issued finite grant binds its public key to one exact profile, harness metadata, verified evidence set, policy version, expiry, and closed capability set. The service stores no session private key. Issuer and session roles use separate protocol-v2 transcripts, and every transcript binds both fresh challenges and the pinned service identity. Unknown, expired, revoked, substituted, or policy-invalid grants receive one signed uniform rejection after proof exchange. Protocol downgrade never falls back to version 1, operating system identity alone, another issuer, another profile, anonymous access, or a per-session daemon.
The service signing seed uses native operating-system custody by default; an explicit headless installation may bind it to one owner-protected external file. The installation record pins the derived service public key, so missing or substituted custody fails before the endpoint opens. AccountTrusted session keys are re-created after client restart. Session grants are durable service state and survive service restart until expiry or an explicit terminal transition.
HarnessAttested is not currently available from any shipped provider. Session IDs,
hook payloads, environment variables, process ancestry, executable paths, extension
manifests, and caller-declared host metadata are not accepted as attestation. A future
provider must return a harness-owned signed assertion bound to a fresh Konclave
challenge, the local-service installation, exact profile, ephemeral session key,
capabilities, verified session lifecycle, and the digest of the extension code the
harness actually loaded. Provider signing keys remain unavailable to extensions and
arbitrary same-account processes. Missing or unverifiable support returns
required_evidence_unavailable without falling back to AccountTrusted.
Active grants are bounded globally, per issuer, and per profile. Revocation removes one exact grant and closes its connections; AccountTrusted can issue a replacement because the same account remains trusted. Profile suspension closes every matching grant and blocks issuance without deleting profile data. Issuer disablement always blocks new issuance and either retains existing grants until expiry or revokes them in the same transaction. A policy replacement terminalizes only grants whose recorded evidence no longer satisfies the effective policy.
Mutable authorization state is held in an owner-protected SQLite database bound to a fingerprint of the immutable installation. The daemon loads and validates a complete snapshot before binding its endpoint, publishes the issuer/grant registry and effective policy as one generation, and polls every 500 milliseconds. Idle connections revalidate on publication and long delivery claims revalidate every 250 milliseconds, so a successful durable change is observed within one second. Missing, empty, corrupt, unsafe, mismatched, unsupported, rolled-back, or unreadable state at startup prevents endpoint binding. The same findings during reload stop admission, invalidate the projection, and close clients while the service remains alive but authority remains denied. A delayed read’s late result is discarded, and only a subsequent fresh verified snapshot can restore access. Blocking-worker failure still terminates the service rather than risking an unowned task. AccountTrusted does not claim resistance to a hostile same-account durable rollback across process lifetimes.
Terminal local request outcomes are sealed in the profile database and keyed by session public key, profile, and request identifier. Authenticated cancellation can stop only pre-commit work under that same session identity. Post-commit cancellation, disconnect, deadline, and shutdown reconcile and publish the actual durable result rather than a false terminal timeout.
The adapter-delivery journal is independent of relay cursors. Relay acknowledgment means the daemon durably processed an envelope; adapter acknowledgment means a harness accepted one bounded notification. Neither means that a model completed or obeyed a turn.
The directed-request handling journal is separate from both cursors. It binds one exact inbound request and local responder to a live delivery consumer, lease generation, policy digest, and bounded attempt before model enqueue. It then records one terminal response operation or no-response outcome. Response terminalization and outbound reservation share one SQLite transaction. The sealed response operation retains the exact data needed to finish an unsealed reservation after restart; its startup verification requires the corresponding outbox and any existing history.
Community relay
The relay is untrusted for message confidentiality, message authenticity, membership policy, and identity validation. It may observe allowlisted routing metadata and standard MLS framing data needed for delivery. It may delay, drop, duplicate, reorder, or selectively deliver messages. It cannot be trusted to report complete history.
The initial protocol explicitly trusts the relay not to equivocate when selecting one epoch-changing Commit and durable cursor sequence. Clients detect conflicts they observe and fail closed, but cannot detect permanently isolated split views. A relay that violates this non-equivocation assumption can keep stale members on a fork and break membership-removal consistency even though it still cannot forge MLS messages.
Pairing capabilities
A pairing capability is a short-lived bearer secret issued by the device asking to join. It carries a root-signed public offer and enough secret material to derive one random relay route plus direction-specific pairing keys. Possession authorizes a pairing attempt; it does not identify the human or organization controlling the device.
Both endpoints explicitly authorize the identity and role they observe. The inviter
approves the joiner’s root-signed device offer before issuing an invitation. The
joiner approves the inviter identity authenticated by that invitation before emitting
a JoinProof. Policy may automate either decision only when it states that it is
trusting bearer-capability possession rather than independently verified identity.
The local AccountTrusted two-command policy makes that tradeoff explicitly: creating
and redeeming the capability are the two same-account approval actions, output states
that no independent identity verification occurred, and the policy grants only
member. Stronger evidence policies and administrator grants retain explicit
approval.
Pairing records are encrypted before relay submission. Their clear header is authenticated as associated data and binds pairing, logical message, sender role, stage, reply chain, deadline, and nonce. Direction-specific keys prevent reflection between inviter and joiner roles. Invalid, replayed, reordered, or conflicting relay records do not advance durable pairing state.
Capability expiry stops new authorization. An add-member Commit already accepted before expiry remains a real membership change: its exact Welcome may complete during a separate recovery deadline, after which the inviter compensates by removing a member that never completed pairing.
Pairing capabilities never contain relay bearer credentials. Zero-setup remote pairing remains unavailable until a relay control plane can issue an exact-route, short-lived principal.
Local persistence and platform key custody
The ordinary filesystem and SQLite database are not trusted to keep secrets confidential after offline theft. Secret state is stored only as sealed blobs using a key controlled by a supported platform custody adapter. There is no plaintext fallback. Root or administrator compromise while the daemon is active is outside the confidentiality guarantee.
Network
All network paths are attacker controlled. TLS is still required to protect transport metadata, tokens, and denial-of-service controls even though MLS protects message content.
Adversaries
Konclave considers:
- a passive network observer;
- an active network attacker who can inject, alter, replay, or suppress traffic;
- a compromised or malicious relay;
- an attacker who obtains an invitation capability;
- an attacker who obtains, copies, races, replays, or modifies a pairing capability;
- a malicious or compromised current group member;
- a stale or downgraded client;
- a local unprivileged process attempting unauthorized daemon operations;
- a local process attempting endpoint discovery, squatting, cross-profile attachment, capability replay, or stale lease acknowledgment;
- a same-account process replaying or fabricating unsigned harness session, lifecycle, extension, or process metadata;
- a same-account process triggering a legitimate UserPresence prompt, replaying an assertion, substituting a bound session key, or attempting to downgrade policy;
- an attacker with offline access to persisted files;
- malformed, oversized, or adversarial protocol input;
- model output attempting to misuse daemon tools;
- a group member attempting prompt injection, wake-up abuse, or agent-to-agent loops;
- an input attempting to ambiguously encode or substitute a collaboration-policy bundle;
- a crashed or malicious adapter attempting to lose, duplicate, reorder, or acknowledge another consumer’s notifications;
- compromise of one endpoint’s active keys and memory.
Security goals
Confidentiality
Only devices in the current MLS epoch can decrypt application content. New members cannot decrypt earlier epochs, and removed members cannot decrypt later epochs. Relays and passive network observers cannot decrypt application content.
Authentication and integrity
Recipients authenticate the sending conversation key and its binding to a device identity. Every membership change is checked against the shared application policy. Invalid signatures, credentials, versions, epochs, or authorization fail closed before durable side effects.
Forward secrecy and post-compromise recovery
Deleted epoch secrets cannot be recovered from current state. Clients update conversation keys after membership changes and on a bounded cadence. MLS post-compromise recovery applies only when the device root identity key remains uncompromised.
Extraction of a device root key permanently compromises that DeviceId. Recovery
requires removal of the old device, an epoch advance, and enrollment of a newly
generated DeviceId through an unaffected administrator and independently verified
invitation.
Replay and duplicate handling
Every application message has a signed, conversation-scoped unique identifier. Clients persist deduplication state and treat repeated delivery as idempotent. Relay cursors provide delivery progress but are not accepted as cryptographic freshness.
Least privilege
Only a trusted native endpoint handles its own raw secret material: the daemon for local profiles, or an explicitly composed service for its injected endpoint. Relay and adapter interfaces expose the minimum data required for their role. Logs and telemetry contain bounded, allowlisted metadata only.
Harness delivery integrity
Remote events are sealed and ordered before relay acknowledgment. Adapter claims use bounded leases distinct from relay progress. A harness accepts at-least-once delivery: a crash before acknowledgment may repeat one stable notification identifier but cannot silently erase the event.
Adapters safety-frame peer content as untrusted collaborator data. Peer text never gains system, developer, permission, or tool authority. Automatic delivery is explicitly enabled per conversation, bounded by wake budgets, and limited to one outstanding synthetic turn.
The collaboration-policy exchange is authenticated inside normal MLS application
messages. Canonical bytes and a domain-separated digest prevent ambiguous bundle
identity, and proposal verification rejects a claimed digest that does not identify
the embedded canonical bundle. Responses bind both the proposal identifier and
digest; revocations bind the withdrawn digest. Receipt of any exchange message has no
binding side effect, so a peer cannot grant itself local authority by proposing or
accepting policy content. Explicit local proposal, acceptance, rejection, and
revocation operations use a sealed terminal journal and atomically mutate local
bindings before their outbound notification can be submitted. Deterministic
effective-policy evaluation is implemented as a pure domain boundary. The paved
daemon surface authorizes exact directed requests and gates their one correlated
response through the active digest while preserving native permissions. An exact
authenticated answer to this device’s completed outgoing request may instead
continue local work under current session.work. Sealed history proves the original
local author, exact remote target, conversation, answer kind, and reply reference;
the live consumer, policy, membership, and lease remain separate admission checks.
The original outgoing request keys one durable continuation, with its exact answer
identity sealed for restart verification after notification pruning. A continuation
cannot reserve another response, revive a completed parent claim, or activate policy.
Both request and continuation turns consume existing wake budgets. The Copilot
adapter claims one exact request before enqueue, binds its pre-tool hook to the
request and attempt, renews the lease while the turn runs, and acknowledges only
after a terminal response or no-response result. Finite turn and token policies deny
the autonomous path until durable accounting exists. Unsupported and generic
harnesses retain explicit-send behavior.
Negotiated request-delivery options add an authenticated admission cutoff and encrypted, authority-free delivery observations. The first native handling claim checks the receiver clock; expiry never cancels admitted work. Receipt reservations are sealed atomically with the handling fact and recovered through the normal outbox. Receipts remain history only: they cannot create adapter events, continue work, authorize tools or consume a restricted channel’s one terminal answer. Unknown or missing receipts prove nothing. The delivery contract defines exact correlation, signed capability, reader-floor and clock boundaries.
An explicitly activated session.work policy may additionally admit ordinary tools
under the receiving Copilot session’s existing permissions and repository
instructions. The daemon rechecks the live policy digest and exact request claim
for every admission; the extension rejects a check completed after the local turn
changes. Missing work evidence remains reply-only and approval-required actions
fail closed. Peer content supplies task data, never authority.
This opt-in deliberately trusts the peer with broad ordinary-session work. Direct Konclave policy/membership/delivery and extension-control tools remain denied, but shell, file, external-provider, and subagent access is not a sandbox and may act outside direct-tool restrictions. Policy revocation, replacement, expiry, and lost leases block future admissions, not already-running effects or descendants. Reclaimed requests may repeat external effects. The exactly-bound final response reservation does not make arbitrary external changes exactly once.
Shared-local-service automatic delivery exposes only typed policy-exchange identifiers, digests, replacement intent, and response state for exchange notifications. Those notifications do not project canonical bundle content or model guidance, remain inside the untrusted collaborator fence, and state that proposal receipt did not activate local authority. Legacy policy guidance is never returned as model instruction or authorization input. The legacy binary adapter receives only a bounded daemon-authored non-authorizing notice, preserving its closed v1 event grammar.
Version integrity
Peers negotiate supported Konclave and MLS versions. Unsupported versions and empty intersections fail closed. A peer or relay cannot silently force a lower version than the mutually supported maximum.
Protected A2A trust selection is likewise explicit. A protected-required client accepts only the exact versioned Konclave extension and fixed MLS, visibility, native transport, and fail-closed claims. A standard HTTP client or gateway application rejects a card that requires protected mode; there is no automatic fallback from protected to plaintext. The advertised relay endpoint contains no credential or internal route authority.
Threats and required mitigations
Wide tables scroll horizontally.
| Threat | Required mitigation |
|---|---|
| Relay reads content | MLS PrivateMessage application payload; no plaintext fields in relay persistence or logs |
| Relay modifies or forges content | MLS authentication and client-side credential validation |
| Relay suppresses messages | Sender generations, durable cursors, acknowledgments, gap detection, and visible degraded state |
| Relay forks epoch history | Outside the initial non-equivocation assumption; reject observed conflicts, halt sending on unresolved branches, and require a trusted sequencer until transparency or reconciliation is designed |
| Insider replays a valid message | Signed application message identifier and persistent deduplication |
| Unauthorized member change | Administrator policy checked by every client before applying the Commit |
| Welcome receipt substitution | Reserve the add Commit envelope identifier before MLS creation, authenticate it in signed Welcome GroupInfo, and require the exact relay receipt at checkpoint and reopen |
| Invitation theft | Bind the signed invitation to an independently verified expected DeviceId, conversation, role, expiry, and nonce; enforce consumption in authenticated conversation state |
| Pairing capability theft | Root-signed joiner offer, explicit endpoint authorization, short authorization deadline, one durable idempotent state machine, and no claim that bearer possession identifies a human |
| Pairing record injection or replay | Direction-specific AEAD keys, complete canonical-header authentication, stable logical message identifiers, reply-chain validation, and no state advance on invalid or unexpected records |
| Pairing expiry after membership commit | Separate completion deadline; recover the exact Welcome or issue a durable compensating MLS removal |
| Remote pairing credential escalation | Never embed a wildcard or durable relay credential; require pre-provisioned access or an exact-route short-lived principal |
| Enrollment authority theft or abuse | Separate enrollment/data-plane derivation domains, authenticate before body processing, fixed server grants, rate/concurrency/principal caps, verifier-only configuration, rotation, and revocation |
| Relay endpoint substitution during migration | System-trusted TLS, exact source/destination journal binding, deterministic principal-registration identity, all-profile locking, endpoint-bound credential resealing only after authenticated destination acceptance, partial-state admission denial, health-before-finalize, and local journaled abort |
| Credential or capability substitution | Device-root binding validation covers identity and the conversation key; a separate root signature authenticates nonzero capability bits, while a missing assertion means no capability; optional out-of-band fingerprint comparison authenticates the intended device |
| Trusted-device alias substitution or rollback | Seal alias, canonical device identifier, and exact root together under profile-and-device associated data; enforce one alias per active root, authenticate the count and digest of the complete ordered alias map, reject deletion, historical row replay, or cross-profile substitution, and resolve only against current root-verified membership |
| Repeat-pairing control reaches an incompatible or unintended member | Require every current member of the selected bootstrap conversation to advertise the root-signed repeat-pairing capability, authenticate the actual MLS sender and exact target, keep aliases off the wire, and leave unknown legacy conversations ineligible |
| Repeat-pairing capability or authorization substitution | Pin the operation to the alias root, peer DeviceId, bootstrap conversation, preselected new conversation, member role, deadline, and pairing identifier; bind both ordinary authorization calls back to that sealed operation and cancel malformed capability input without stopping the profile |
| Device root-key extraction | Remove the compromised DeviceId, advance the epoch, and enroll a new independently verified DeviceId; do not claim recovery through MLS update alone |
| Protocol downgrade | Signed capability negotiation across every remote recipient of a group application message and fail-closed version selection |
| Protected A2A downgrade or false visibility claim | Exact versioned Agent Card extension, code-owned MLS/application-opaque/fail-closed semantics, explicit caller trust requirement, standard-client and gateway refusal when protection is required, and no opaque A2A payload tunnel |
| Oversized or malformed input | Pre-allocation bounds, deterministic parsing, property tests, fuzzing, and regression fixtures |
| Offline database theft | Sealed secret blobs; no plaintext-key fallback |
| Secret disclosure through diagnostics | No Debug, serialization, logs, telemetry, panic text, or snapshots containing keys/plaintext |
| Malicious model/tool input | Schema validation, local authorization, bounded values, and explicit user-controlled policy |
| Local service client impersonation | Owner-restricted endpoint, verified platform peer account, issuer/session role separation, proof of the exact private key, signed fresh protocol-v2 transcript, exact-profile finite grant, capability checks, and uniform rejection |
| Account issuer substitution or theft | Exclusive creation, owner-only access, no symlink/reparse traversal, bounded canonical decoding, installer-owned public registration, key versioning, exact-path cleanup, and explicit AccountTrusted semantics |
| Authorization-state corruption or process-lifetime rollback | Installation fingerprint binding, owner protection, schema and integrity validation, monotonic generation high-water checks, atomic snapshot publication, failed-closed projection invalidation, client closure, late-snapshot discard, fresh-snapshot-only recovery, and fail-stop blocking-worker shutdown |
| Shared-service endpoint squatting | Owner-protected well-known endpoint, single-instance service ownership, authenticated service/client transcript, and fail-closed startup when endpoint identity conflicts |
| Cross-profile local attachment | Exact profile, session public key, harness, evidence, policy, expiry, and capabilities signed into one immutable grant binding; no profile-switch request |
| False timeout or cancellation outcome | Session-scoped authenticated cancellation, explicit pre/post-commit state, sealed terminal-outcome journal, exact retry reconciliation, and no dropped-join cancellation claim |
| Delivery cursor or lease tampering | Sealed profile-global event state, consumer-bound lease identifiers and generations, checked expiry, idempotent acknowledgment, and stale-ack rejection |
| Adapter crash before harness delivery | Pending or expired claim is reclaimed without advancing adapter acknowledgment |
| Adapter crash after harness delivery | At-least-once redelivery carries the same stable notification identifier; exactly-once is not claimed |
| Peer prompt injection | Typed safety envelope, peer content quoted as untrusted data, no inherited authority, and no automatic tool execution unless an exact locally activated policy and paved harness gate authorize the action |
| Collaboration-policy bundle ambiguity | Canonical bounded encoding, duplicate rejection, exact re-encoding checks, and a domain-separated content digest |
| Collaboration-policy proposal substitution | Fixed-width proposal identity, complete bounded canonical bundle, exact digest verification, and responses bound to both proposal identifier and digest |
| Collaboration-policy exchange-index substitution | Foreign-key every allowlisted index row to sealed history, seal each row’s exact metadata, commit row count/backfill completion in separate profile-bound sealed state, verify cursors against sealed delivery evidence, insert atomically with cursor completion, and re-derive typed metadata from sealed history at startup |
| Remote policy activation | Exchange messages have no binding side effect; only a separately authorized local service operation may activate or remove local authority |
| Policy broadening during evaluation | Exact-target base matching, deny-over-approval-over-allow precedence, positive local-authority and harness-control intersections, deny-only local restrictions, and fail-closed missing evidence |
| Policy-limit overflow or approval bypass | Checked usage-plus-cost arithmetic, explicit unlimited values, fresh local approval that satisfies only approval requirements, and no approval override for denial, authority, evidence, or limit failures |
| Peer request becomes local authority | Keep the request body inside immutable untrusted markers; require exact directed-request content, local target, active local policy, harness evidence, and a durable handling claim before model enqueue |
| Copilot tool escapes collaboration policy | Bind the pre-tool gate to one exact synthetic turn and recheck native policy and request claims for every action. Reply-only turns require send_message and deny other tools. Explicit session.work permits ordinary tools without overriding normal permissions; direct control operations and foreign aliases deny, and messaging remains conversation-bound. Final replies retain private one-use authorizations bound to exact arguments, policy, consumer, request, attempt, and expiry, consumed in the atomic response/outbox reservation. |
| Collaboration gate leaks into a user turn | Prepare with a fresh local turn token, activate only on the matching observed synthetic prompt, clear pending state on every other user prompt, deny every tool if a delayed token-bearing prompt arrives after that clearance, and clear active state on idle or disposal |
| External work outlives the policy gate | Default to reply-only. Explicit session.work opts into broad ordinary-session permissions without claiming atomic external effects or descendant isolation. Recheck live policy and exact claim before each admission; revocation cannot retract admitted effects. Reconcile ambiguous external work independently of the final-response reservation. |
| Unsupported harness accounting claim | Require the live single-consumer delivery lease for paved autonomy, enforce duration and one outstanding turn, and deny finite turn or token policies until durable accounting exists |
| Contradictory local policy responses | Derive one stable response message identifier per conversation, device, and proposal, then bind its one terminal outcome in a sealed local-operation record |
| Partial local policy exchange operation | Commit the terminal local-operation record and binding mutation in one transaction before submission; retain the owned serialization guard through blocking work; preserve the source proposal identifier; retry returns historical mutation state and reconciles the stable outbox message |
| Policy-operation journal erasure or schema downgrade | Create the initial sealed journal state atomically with schema adoption, authenticate the adopted schema floor inside the sealed device identity, and reject null state or a plaintext version below that floor |
| Directed-request handling erasure or replay | Seal each complete handling record and an independent exact row count, bind claims to the live notification lease and generation, cap reclaim attempts, reject stale attempts, and advance the authenticated profile schema floor |
| Duplicate, concurrent, or crash-interrupted directed-request response | Atomically transition one exact handling attempt to a terminal response in the same transaction as sender-counter and outbox reservation; seal the recovery inputs, finish the exact unsealed reservation on startup, accept only an exact retry, and reject changed identifiers, targets, timestamps, expiry, or content |
| Policy response identifier preemption | Reserve the application identifier in the terminal-operation transaction, reject pre-existing history or outbox records before authority mutation, accept only an exact already-recorded outbound envelope as its own echo, reject later inbound collisions, and require outbound content to reproduce the sealed operation |
| Paved policy-source path escape or replacement | Accept only an explicit relative path whose physical target remains under the current workspace, require a regular bounded UTF-8 file, compare file-descriptor identity and metadata before and after the read, re-resolve the final path, and compile the transferred source through the shared strict Rust compiler |
| Mutable-source proposal retry | Recover by stable proposal identifier from the sealed terminal operation and content-addressed bundle rather than rereading the source path; an edited source requires a new identifier |
| Blind trust in legacy policy guidance | Keep protocol-v1 guidance decodable only as untrusted historical annotation; exclude it from model turns and authorization inputs even after exact-digest acceptance |
| Repeated revocation after reactivation | Require a caller-stable revocation message identifier so a later activation cycle can emit a distinct revocation while retries remain idempotent |
| Collaboration-policy persistence tampering | Sealed canonical bundle and binding records, profile/conversation/digest context binding, startup verification, hard capacity, and fail-closed binding deletion |
| Wake-up or token-spend abuse | Explicit per-conversation enablement, mute controls, one outstanding synthetic turn, burst coalescing, and global/per-conversation budgets |
| Agent-to-agent feedback loop | Exact incoming-request or outgoing-request/answer claim, current local authority, one durable continuation per outgoing request, no continuation reply effect, local-echo suppression, and shared wake budgets; uncorrelated terminal updates never wake models |
| Adapter backlog exhaustion | Hard count/byte bounds, terminal suppression while muted, replay backpressure before enabled events would be dropped, and visible degraded state |
| Dependency/provider compromise | Exact versions, supply-chain review, upstream advisories, isolated adapter, and replaceable provider boundary |
Explicit non-goals and limitations
- Konclave cannot keep plaintext secret from a device compromised while plaintext or active keys are available.
- An authorized member can copy or disclose plaintext it legitimately receives.
- An authorized or compromised harness adapter can copy or disclose plaintext delivered to that harness.
- Protected A2A requires a Konclave-capable, enrolled conversation member; it does not make standard A2A clients end-to-end encrypted.
AccountTrusteddoes not protect one session from another malicious process running under the same operating-system account. Exact grants contain authority but do not change that declared trust boundary.- AccountTrusted storage detects rollback only against the current process high-water mark. Stronger cross-process or cross-restart rollback resistance requires a provider-owned monotonic anchor.
- Trusted-device storage rejects inconsistent row or state rollback, but does not claim detection when an attacker restores one complete internally consistent profile-database snapshot. That requires the same provider-owned monotonic anchor.
- Konclave cannot guarantee availability against a malicious relay or network.
- The initial protocol cannot guarantee consistent membership against a relay that equivocates between isolated clients.
- Initial releases do not hide routing identifiers, timing, payload sizes, IP addresses, or all membership-related metadata.
- Initial device identity does not prove a human legal identity.
- The first release does not provide key transparency or federation.
- Secure deletion depends on operating-system and storage behavior and cannot be proven for every physical medium.
- Exactly-once delivery into a harness is not provided. A crash after harness acceptance but before daemon acknowledgment may create a duplicate notification.
- No automatic harness delivery occurs while its adapter is absent. Enabled backlog may eventually pause relay replay rather than be dropped.
- Root, administrator, process-injection, or same-account active-memory compromise can obtain the AccountTrusted issuer key, an active session key, or plaintext and is outside the local confidentiality guarantee.
- Peer content is delivered as untrusted data; Konclave cannot prevent a model from making a poor decision after correctly receiving that data.
- MLS conformance and library tests do not constitute an independent security audit of Konclave.
Security-sensitive change gate
Changes affecting cryptography, identity, invitations, authorization, membership, wire parsing, replay state, secret persistence, relay-visible metadata, or security logging require:
- focused tests against the applicable invariant;
- conformance evidence defined by the project policy;
- repository review through
review-changes; - a specialized security review before delivery;
- an ADR update or superseding ADR when the trust model or mechanism changes.
Content: Konclave,Apache-2.0. Revision: 8d0d3676e9fc746749a4fc04ddeb4499023c4104.