Skip to content

fix(mcp): accept valid SSH destinations in policies - #270

Merged
abruption merged 4 commits into
mainfrom
abruption/stability-262-20261007
Oct 7, 2026
Merged

abruption merged 4 commits into
mainfrom
abruption/stability-262-20261007

Conversation

@abruption

Copy link
Copy Markdown
Owner

Summary

Use the canonical --host validator mode while loading file-based MCP policies. Valid SSH destinations now load; option-shaped destinations still fail the unchanged allowlist. Remote Codex policies still require an explicit home and cannot inject SSH options.

Closes #262

Type

  • fix

Validation

  • Python 3.13.7, isolated fixtures, no live SSH/native messages.
  • MCP integration suite: 28 tests, 26 passed / 2 optional-SDK tests skipped because this test environment lacks the SDK.
  • SSH/security/compatibility suites: 54 passed.
  • Six real-file policy-loading tests also passed with Python -S.
  • Reviewed one-line production diff and regression tests; git diff --check passed. No secrets/permission bypass.

Notes

Regression cases reproduce the previous valid-host failure and rejection gap for an option-shaped host. This changes policy validation only; no default send permission, extra SSH setting, reply policy, installation, operational deployment, merge or release is added. CI with optional MCP extras and automated source/security review remain required.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 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-10-07T06:52:42.900987Z e09838a Manual request
🔒 Security Review ✅ Completed 2026-10-07T06:57:06.622419Z e09838a 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.

@abruption

Copy link
Copy Markdown
Owner Author

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: c350a9e612

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@abruption

Copy link
Copy Markdown
Owner Author

The candidate branch now includes the source-map-js lockfile-only repair from PR #269 to unblock the existing Control audit gate. This does not merge anything into main or alter service deployment. Rechecking CI and code/security reviews against the updated head.

@abruption

Copy link
Copy Markdown
Owner Author

@codex review

@abruption

Copy link
Copy Markdown
Owner Author

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: e09838ad49

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

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: e09838ad49

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@abruption abruption added this to the v1.0.4 milestone Oct 7, 2026
@abruption
abruption merged commit 0d3e968 into main Oct 7, 2026
28 checks passed
@abruption
abruption deleted the abruption/stability-262-20261007 branch October 7, 2026 08:48
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.

fix(mcp): accept valid SSH destinations in file-based policies

1 participant