Skip to content

docs: model hybrid MDM and App Attest provider trust - #891

Merged
0xkydo merged 16 commits into
masterfrom
codex/security-model-review
Oct 1, 2026
Merged

0xkydo merged 16 commits into
masterfrom
codex/security-model-review

Conversation

@antojoseph

@antojoseph antojoseph commented Sep 10, 2026 •

Copy link
Copy Markdown
Member

Summary

Update the threat model and provider-trust documentation to match the existing hybrid authorization system: either valid legacy MDM/APNs authorization or qualified App Attest authorization, followed by shared runtime/privacy gates and a live check at the final inference handoff.

Approval scope: eight documentation/threat-model files only. There are no runtime, CI, dependency or test-code changes relative to current master.

  • Add provider-trust.md and update attestation, identity-binding and consumer verification guidance, including the authorization-method/verification metadata consumers receive.
  • Update docs/threat-model.yaml with evidence custody, bounded grants, qualification, replay/revocation, continuity, runtime limits and migration availability.
  • Preserve the September 27 hybrid-trust review as dated supporting evidence and update the architecture/reports indexes. The old September 10 report and raw audit scripts/logs are excluded.

Conflict resolution and approval

Head 97e1777b8 includes master 8b8d1eedc. Main's date-only documentation migration caused five freshness-header conflicts; those headers and the two PR-only pages now use date-only stamps. The original dates and all seven pages' prose were preserved exactly. docs/threat-model.yaml is byte-for-byte unchanged from the previously approved head e454923ed.

The earlier routing-test and build/test-documentation conflicts remain resolved with main's versions. The final diff is still eight documentation/threat-model files, with no runtime, CI, dependency or test-code changes.

GitHub reports no merge conflicts. The push requires a fresh approval under the repository rules. Once checks finish successfully, an eligible reviewer can approve this head and use Squash and merge. No additional implementation changes are planned for this conflict-resolution update.

Before

flowchart TD
  D["Trust docs and threat model"] --> A["App Attest: observation only"]
  D --> L["Legacy gates treated as universal"]
  A --> G["Independent serving paths unexplained"]
  L --> G
  classDef source fill:#dbeafe,stroke:#1d4ed8,color:#172554
  classDef gap fill:#fee2e2,stroke:#b91c1c,color:#7f1d1d
  class D source
  class A,L,G gap
Loading

After

flowchart TD
  D["provider-trust.md and threat model"] --> L["Legacy MDM/APNs"]
  D --> A["Qualified App Attest v3"]
  L --> G["Either valid, plus shared gates"]
  A --> G
  G --> H["authorizeInferenceHandoff: live check"]
  classDef source fill:#dbeafe,stroke:#1d4ed8,color:#172554
  classDef gate fill:#dcfce7,stroke:#15803d,color:#14532d
  classDef check fill:#fef3c7,stroke:#b45309,color:#78350f
  class D source
  class L,A,G gate
  class H check
Loading

These figures describe the corrected documentation of existing code. The architecture index links to the new provider-trust explanation; the reports index retains the September 27 trust review and upstream reports. No runtime authorization policy changes.

Validation

  • make docs-check: all 326 pages pass.
  • make docs-impact-check BASE=origin/master and git diff --check: pass.
  • Canonical threat-model YAML parses; the advisory reader recognizes all 92 unique defined IDs. The model is 192,658 characters, within its 220,000-character input limit. The existing duplicate T-041 is unchanged.
  • Verified all seven migrated pages retain their exact prior prose and dates, and the threat-model YAML is byte-for-byte unchanged from the approved head. The final PR diff contains only the eight documentation files above.
  • All 16 PR commits are GitHub Verified. The previously approved head passed all 17 completed checks. CI for 97e1777b8 is running; its current results are listed below by GitHub. The protected E2E Benchmarks job requires environment approval and is not a required merge check.

This documents existing behavior; it does not establish new physical-Mac or deployment qualification.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@vercel

vercel Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference Ready Ready Preview Sep 30, 2026 1:46am UTC
d-inference-console-ui-dev Ready Ready Preview Sep 30, 2026 1:46am UTC
d-inference-landing Ready Ready Preview Sep 30, 2026 1:46am UTC
eigen-homepages-darkbloom Ready Ready Preview Sep 30, 2026 1:46am UTC

Request Review

@antojoseph
antojoseph marked this pull request as ready for review September 28, 2026 04:33
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-28T23:53:26.643517Z 2a3a400 Manual request
ℹ️ 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.

@antojoseph

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ac59a3f208

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/developer/build.md Resolved
…l-review

# Conflicts:
#	docs/architecture/README.md
#	docs/architecture/security/attestation.md
#	docs/developer/build.md
#	docs/developer/test.md
@antojoseph

Copy link
Copy Markdown
Member Author

@codex review. The shared build/test docs cite the publicly available companion integration commit f6233910e, which contains current master and the shared CI/test implementation; it may be absent from a checkout fetching only this PR.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 21a2ed1d31

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@antojoseph

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 2a3a40085d

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Gajesh2007
Gajesh2007 previously approved these changes Sep 29, 2026
@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Threat model review — advisory

Reviewed head 97e1777b8453 against base 8b8d1eedc22a.

Reviewers: anthropic/claude-opus-5.5: completed; openai/gpt-6-astra: completed

No actionable findings in the reviewed text. This is not a security approval.

Coverage: 8 changed file(s), complete before/after text, and a cross-file threat-model review.

Models: anthropic/claude-opus-5.5, openai/gpt-6-astra. Findings require human validation; this review never requests changes or blocks merging.

0xkydo
0xkydo previously approved these changes Sep 30, 2026

This branch was successfully deployed

4 active deployments
Preview – d-inference — 97e1777b Deployed Sep 30, 2026 by vercel[bot]
Preview – d-inference-landing — 97e1777b Deployed Sep 30, 2026 by vercel[bot]
Preview – d-inference-console-ui-dev — 97e1777b Deployed Sep 30, 2026 by vercel[bot]
Preview – eigen-homepages-darkbloom — 97e1777b Deployed Sep 30, 2026 by vercel[bot]
benchmarks — 97e1777b Deployed Sep 30, 2026 by antojoseph via E2E Benchmarks #1946
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.

3 participants