Skip to content

fix(threat-model): distinguish library defaults from caller obligations - #2245

Merged
mldangelo-oai merged 1 commit into
mainfrom
mdangelo/codex/library-threat-model-obligations
Nov 2, 2026
Merged

mldangelo-oai merged 1 commit into
mainfrom
mdangelo/codex/library-threat-model-obligations

Conversation

@mldangelo-oai

Copy link
Copy Markdown
Collaborator

Summary

When modeling a library API, identify which protections the library provides in its default configuration and which checks callers must enable or implement.

Changes

  • Add the distinction to the shared architecture and boundaries guidance used when generating threat models.

Testing

  • Ruff lint and format checks passed on the plugin source.
  • SDK build:ci, the portable plugin source compatibility check, and all nine compatibility checker tests passed.
  • Built the plugin and compared the packaged threat-model reference with the edited source byte for byte.

Risk and rollout

This changes how generated threat models describe responsibility for a security control. The instruction ships through the normal plugin release. Its effect on model output has not been benchmarked.

Public disclosure review

  • No customer, partner, prospect, or user identities, data, or identifying details are included.
  • No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included.
  • I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure.

@github-actions github-actions Bot added the bug Something isn't working label Nov 2, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 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-11-02T09:51:32.532418Z 2debefc PR opened
🔒 Security Review ✅ Completed 2026-11-02T09:52:09.504222Z 2debefc 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.

@alandelong-oai alandelong-oai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks—no blocking findings in this owner-level merge-safety review. The shared guidance now explicitly distinguishes default library protections from checks callers must enable or implement, while retaining source-backed boundary analysis and supplied-model preservation.

Validation: Ruff lint/format, SDK build:ci, the portable plugin source compatibility check, and all 9 compatibility checker tests passed. The checker tests needed injected Node proxy warnings disabled to preserve their stderr assertions. Reviewed standalone, scan, policy-generation, and packaging consumers; model-output quality was not benchmarked.

@mldangelo-oai
mldangelo-oai merged commit 31a2335 into main Nov 2, 2026
70 checks passed
@mldangelo-oai
mldangelo-oai deleted the mdangelo/codex/library-threat-model-obligations branch November 2, 2026 10:26
@github-actions github-actions Bot mentioned this pull request Nov 2, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants