Repository navigation
fix: simplify security skill instructions - #1676
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
There was a problem hiding this comment.
🔵 Needs a closer look
The broad rewrite of model-executed security workflows needs human confirmation of end-to-end behavior across supported hosts.
0 open findings
What changed in this PR
Simplifies Codex Security’s model-driven workflows, reducing rigid process requirements while retaining evidence standards, security boundaries, and tool contracts.
Changes:
- Streamlines scan, validation, remediation, and reporting instructions.
- Extracts shared access-advisory and Windows-validation references.
- Updates packaged files, workflow digests, and affected tests.
| File | Description |
|---|---|
| sdk/typescript/tests-ts/patch-risk-contract.test.ts | Tests the relocated Windows recipe. |
| sdk/typescript/src/custom-validation-prompt.ts | Refreshes workflow digests. |
| plugins/codex-security/skills/vulnerability-writeup/SKILL.md | Simplifies evidence-backed report drafting. |
| plugins/codex-security/skills/vulnerability-writeup/references/report-format.md | Makes report structure adaptable. |
| plugins/codex-security/skills/validation/SKILL.md | Streamlines validation and phase contracts. |
| plugins/codex-security/skills/validation/references/validation-guidance.md | Consolidates evidence and confidence guidance. |
| plugins/codex-security/skills/triage-finding/references/ticket-intake.md | Simplifies collection intake and retrieval recovery. |
| plugins/codex-security/skills/threat-model/SKILL.md | Clarifies model selection and storage. |
| plugins/codex-security/skills/security-scan/SKILL.md | Consolidates Standard scan orchestration. |
| plugins/codex-security/skills/security-scan/references/scan-artifacts-and-ledger.md | Simplifies standalone diff worklists. |
| plugins/codex-security/skills/security-scan/references/desktop-scan.md | Condenses desktop progress and completion guidance. |
| plugins/codex-security/skills/security-diff-scan/SKILL.md | Streamlines compact diff phases. |
| plugins/codex-security/skills/propose-security-hardening/SKILL.md | Scales hardening analysis to the request. |
| plugins/codex-security/skills/propose-security-hardening/references/proposal-format.md | Replaces mandatory artifacts with adaptable formats. |
| plugins/codex-security/skills/fix-finding/SKILL.md | Removes fixed review choreography. |
| plugins/codex-security/skills/finding-discovery/SKILL.md | Consolidates discovery criteria and outputs. |
| plugins/codex-security/skills/define-security-policy/SKILL.md | Simplifies authorized policy edits. |
| plugins/codex-security/skills/deep-security-scan/SKILL.md | Condenses coordinator lifecycle guidance. |
| plugins/codex-security/skills/attack-path-analysis/SKILL.md | Simplifies analysis and decision recording. |
| plugins/codex-security/skills/attack-path-analysis/references/severity-policy.md | Condenses severity and reportability guidance. |
| plugins/codex-security/skills/attack-path-analysis/references/attack-path-facts.md | Summarizes required analytical facts. |
| plugins/codex-security/skills/assess-patch-risk/SKILL.md | Links shared boundary and Windows guidance. |
| plugins/codex-security/skills/assess-patch-risk/references/windows-validation.md | Houses the existing Windows recipe. |
| plugins/codex-security/references/threat-model.md | Streamlines architecture and modeling guidance. |
| plugins/codex-security/references/scan-prologue.md | Consolidates setup and context rules. |
| plugins/codex-security/references/desktop-config-preflight.md | Defers common preflight behavior to shared guidance. |
| plugins/codex-security/references/core-scan.md | Consolidates audit and worker instructions. |
| plugins/codex-security/references/config-preflight.md | Simplifies capability checks and recovery guidance. |
| plugins/codex-security/references/access-advisory.md | Extracts the optional access advisory. |
| plugins/codex-security/plugin-files.json | Packages both new references. |
| evals/triage-finding/scripts/test-app-surface-instructions.mts | Removes assertions for retired process requirements. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
alandelong-oai
left a comment
There was a problem hiding this comment.
Thanks for simplifying these workflows. Owner-level merge-safety review of 67009a98596a against 05ff204ee048: no blocking findings. The shorter instructions retain scan ownership, authorization, candidate evidence, canonical artifact contracts, and host-owned completion; the relocated Windows recipe is unchanged.
Builds, types, formatting, all five portable checks, seven plugin/concurrency tests, the app-instruction checks, and packaged discovery extraction pass. The patch-risk helper has 25 passing cases; three Windows cases are skipped locally. Hosted CI has 48 successful jobs and two intentional skips. The local custom-validation module has three passes and 23 failures at inherited directory-ownership checks before the changed workflow; I am not claiming its full lifecycle passed. No live model workflow trial was performed, so report quality and behavior across real scans remain outside this verification.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 215033e037
ℹ️ 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".
alandelong-oai
left a comment
There was a problem hiding this comment.
Thanks for simplifying these workflows. Owner-level merge-safety review of cae07f7: no material findings. The shorter instructions retain scope, evidence, worker isolation, publication authorization and host-owned completion. File, scan-root and parent-directory identity checks now preserve large IDs exactly.
Fresh builds, types, formatting, 99 focused SDK tests, phase/schema/triage checks and the 726-entry package check passed; 10 Windows-only tests were skipped. Portable checks and seven plugin tests passed on the preceding head with their inputs verified unchanged. The new root-replacement regression passes locally. Full contract execution remains limited by the existing filesystem-owner guard; no native Windows, live model scan or model-evaluation pass is claimed.
# Conflicts: # sdk/typescript/src/contract.ts
alandelong-oai
left a comment
There was a problem hiding this comment.
Thank you for simplifying the skills while retaining scope, evidence and completion ownership. Owner-level merge-safety review of all 39 changed files found no material issue; the Deep access-advisory ordering and exact directory identity checks are sound.
Fresh portable checks, builds, types, formatting, 94 focused SDK tests, seven Python tests and deterministic phase/triage/schema checks passed. The 726-entry package, 30 changed Markdown files and three prompt digests were verified. Broader custom-validation and identity checks retained 33 existing filesystem-guard failures; ten Windows-only cases were skipped. No live model or full local integration pass is claimed.
alandelong-oai
left a comment
There was a problem hiding this comment.
Thanks for simplifying the workflows while retaining scope, evidence, worker isolation, and host-owned completion. This owner-level merge-safety rereview found no material issues across the 51-file diff, including the updated deadline recovery integration. The earlier access-advisory ordering issue remains fixed.
Fresh portable checks, plugin/SDK builds, types, formatting, 14 Python contract/recovery tests, 32 focused SDK tests, triage checks, and replay/rollback controls pass; three Windows-only cases were skipped. Packaged references and custom-discovery digests were verified. Full local lifecycle execution remains limited by filesystem ancestry checks; live model behavior and full current-head hosted qualification are not established by these checks. Merge #1710 first as documented.
alandelong-oai
left a comment
There was a problem hiding this comment.
Thanks for simplifying the instructions while retaining scope, evidence, publication approval, and host-owned completion. This owner-level merge-safety rereview of the 38-file diff found no material issues. The main merge preserves the distinction between deferred requested work and optional follow-up; the earlier access-advisory ordering issue remains fixed.
Fresh frozen dependency installs, all five portable checks, plugin/SDK builds, types, formatting, 12 Python contract/report tests, 24 focused SDK tests, and deterministic triage checks passed. Packaged references, workflow digests, and the unchanged Windows recipe were verified. Full SDK/lifecycle suites, live model evaluations, and native Windows execution were not rerun; current hosted CI is still running.
Summary
Security skills repeated orchestration rules, approval gates, evidence checklists, and reporting requirements. Simplify the instructions and give shared contracts one owner while preserving scope, evidence, tool payloads, and scan completion behavior.
Changes
Testing
Validated
67a32873a21a495d9ca64daac3d36b8edf0a3489after merging main atccbf117d21a286e54e88e6d2b919d0b442e1e3cd. The only manual conflict resolution preserves the shorter final-report instructions and the distinction between deferred requested work and optional follow-up. Independent review confirmed the other 17 incoming files match that main revision exactly; plugin references and workflow digests remain unchanged.Checks on this candidate passed:
build:ci, plugin source compatibility, and its nine unit tests.git diff --check.These checks used Python 3.12, Ruff 0.17.1, Node 22.23.2, and Bun 1.3.14. Python fixtures used a fresh user-owned runtime temporary directory and normal
umask 022after the local sandbox and inherited writable-directory permissions caused registration failures. The portable check unit tests passed with the environment's injected Node proxy warnings disabled after those warnings interfered with exact stderr assertions. No source workaround was added for either environment issue.Earlier validation remains historical at its recorded revisions:
0fd11c6d40763cf39535f79b10c3ba7b289a495a: 24 focused deadline rollback and retained-surface-link tests, all five portable checks, and triage instruction contracts.4bb090fede217faf201b141dfdd9ba5f50de710b: 27 focused deadline rollback/recovery tests and all five portable checks.92b23f5b3b9f0f842f189957979cd5d5225a53f0: 135 contract/custom-validation tests with seed12345, all five portable checks, a fresh 154-file plugin bundle, and triage instruction contracts.522709fa6a4fb46ab0eec3c62b9a3e931ee73287: 286 tests across contract, custom-validation, patch-risk, directory-identity, security-policy, and policy-helper suites, with seven Windows-only skips; one focused CLI patch-publication test; SDK build, SDK/MCP types, and full SDK formatting.Those earlier SDK runs used Bun 1.3.14 and frozen SDK/MCP dependencies. Native binaries came from successful CI run
39907943181; all 28 native source/build inputs matched the tested merge before reuse. Native binaries were not rebuilt.Full SDK suites, application type checks, plugin bundle rebuilding, cross-platform execution, live model scans, model evaluations, and external uploads were not rerun for this documentation conflict refresh. Fresh exact-head hosted CI and review remain required.
Risk and rollout
These are model-executed instructions, so static contracts and deterministic fixtures do not establish report quality across live scans or every host. Public CLI syntax and schemas are unchanged. Credential/configuration/storage protections, unsafe-path checks, canonical evidence, publication approval, and scan ownership remain in place. Ship through the normal plugin/package release; no migration is required.
Public disclosure review