Skip to content

docs(id): provider security model decision record (#5905) - #7946

Merged
dezren39 merged 1 commit into
mainfrom
queue/14150-5905-provider-security-model
Nov 9, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/14150-5905-provider-security-model

Conversation

@dezren39

@dezren39 dezren39 commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Decision record for issue #5905 (task 14150) — the provider security model, settling the questions #5900 §6 expressly left to this record.

What it decides

  • Identity (D1): a provider is its keypair in the ID object model; everything binds to the provider instance (identity, instance, manifest version) that id: design: capability grants for providers (from #5686) #5900 D1 already grants against. Names are display/routing labels, never authority.
  • Authenticity & admission (D2): manifests are signed and verified at admission and on every change; admission is an explicit admin registry act; every class enters at default_ceiling: excluded (F13.7's client rule generalised); manifest widening re-runs admission and old grants refuse at use.
  • Impersonation (D3): addressing binds keys, never names/addresses; a registry name collision under a different key is a journaled refusal, never a rebind.
  • Rogue providers (D4): blast radius is structural (ceiling ∩ grant, bounds, classes, per-use S3 approval); removal ladder ceiling → registry → revocation, none needing the provider's cooperation; observation dishonesty named honestly as the residual risk, with attribution guaranteed.
  • Bridge compromise (D5): bridges/brokers are transport, never principals — no grants, no ceilings; compromise yields drop/delay/replay only, and replay never re-executes.
  • Capability confusion (D6): capability identity is the tuple (provider identity, capability id, manifest version); renames/re-classes mint new tuples old grants don't follow.
  • Ceiling-composition audit (D7): effective authority must be enumerable from registry + grant ledger + journal alone, with named standing audit flags.

Boundaries kept

No parent decision is changed: #5686's model, #5900's grant shape/classes/§5 invariants, #5903's embedded instantiations, and #5904's offline semantics are taken as given in §1, with an explicit conflicts check. Server/world ceiling-before-grant behaviour is preserved verbatim (task acceptance). #5931 consumed as survey input; #5898/#5899 scopes untouched.

Implementation is filed as #7944 (admission signature verification, default-excluded admission, manifest-change re-admission, D7 audit enumeration), so the design does not sit without a tracked next action.

Docs-only change, following the sibling decision-record format of #5900/#5904.

🤖 Queue worker lane code-u, task 14150.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 9, 2026 04:05
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-09T04:06:00.502564Z
We couldn’t complete this review. Comment @codex review to try again.
023ab67 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 38 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 698f5c41-bf30-455e-9633-434957f26e4e
Commits

Reviewing files that changed from the base of the PR and between 88ab37a and 023ab67.

Files selected for processing: 1

  • doc/2026-11-09_decision_id5905_provider_security_model.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@dezren39
dezren39 merged commit 0a5ec84 into main Nov 9, 2026
2 of 5 checks passed
@dezren39
dezren39 deleted the queue/14150-5905-provider-security-model branch November 9, 2026 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant