Skip to content

fix: follow up unresolved PR76 security findings - #88

Merged
mrkillbob merged 10 commits into
mainfrom
codex/pr76-p1-followup
Sep 13, 2026
Merged

mrkillbob merged 10 commits into
mainfrom
codex/pr76-p1-followup

Conversation

@mrkillbob

Copy link
Copy Markdown
Owner

Summary

Follow-up to merged PR #76, based on current fork main 9e83df3634985a234e78aefa66e5ca321a08a3ff. This PR fixes the highest-risk coherent security/lifecycle subset and does not merge or modify PR84/PR85.

Fixed:

  • Secure worker and GitHub-feedback CI callbacks invoke Python with -P; admitted broker args and runtime args are kept consistent.
  • Completion hooks fail closed on missing decisions at the pre_kanban_complete boundary.
  • Kanban PR-creation detection blocks curl body forms (--data, --json, and short/equals variants).
  • Protected remote workers receive only the bounded terminal/file/web toolsets through the real CLI agent-construction path.
  • Foreground operator terminals preserve Git/GitHub auth/config inputs, while protected Kanban workers retain /dev/null Git config isolation.
  • Guardrail failure recording is fenced by worker run ID and claim lock at the DB update boundary.
  • Desktop quit no longer stops user-owned messaging gateways or creates a gateway drain-marker timeout path; only the Desktop-owned companion launchd job is stopped.

Validation

  • scripts/run_tests.sh changed Python slice: 352 tests passed before the final local-env assertion correction; the final targeted changed tests passed, including the new fencing/auth invariants.
  • Final targeted canonical runs: shell hooks, finalizer, secure worker/profile/CLI, protected remote worker, Kanban lifecycle, local environment auth boundary, and GitHub feedback callback tests all passed.
  • ../../node_modules/.bin/vitest run --project electron electron/desktop-background-shutdown.test.ts: 2 passed.
  • npm run typecheck --workspace apps/desktop -- --pretty false: passed.
  • The full scripts/run_tests.sh tests/tools/test_approval.py run has one pre-existing unrelated failure in TestDetectDangerousRm.test_nonrecursive_verification_artifact_cleanup_is_not_dangerous; the new curl guard cases pass.
  • The full local-env file run was stopped after exceeding two minutes; its focused new invariants pass.

Remaining PR76 P1 findings

Not included because they are separate clusters or already fixed on current main:

  • Concurrent federation profile seeding; Kanban capacity/workspace ownership across boards; env-template matching.
  • Capability-registry enforcement lacks a live production specialist-dispatch caller; integrating it needs a caller/ownership design.
  • Bot Chat fleet-wide visibility reconciliation; rejected-review nudge behavior; Kanban event-stream cursor resume.
  • Voice fast-lane tool-free boundary.
  • Egress classifier split, Lunar City localization, and moving the narrative Vault connector out of core are separate refactors/policy work.
  • Optional Kanban route handling and dispatcher exported-boundary coverage are already fixed on current main.
  • Scheduled OSV SARIF upload condition is already fixed on current main.

No merge performed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 13, 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-13T05:47:17.071100Z 45cc235 New commits
ℹ️ 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.

@github-actions

github-actions Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

૮ >ﻌ< ა ci review

ran on 45cc235 — fix: restore canonical vault progress import

⚠️ Warnings

OSV vulnerability scan · View job

8 known vulnerabilities found in pinned dependencies.

How to fix:

Review the findings in the Security tab. Update the affected dependencies if a patched version is available.


debug info

CI timings

CI timings · View report · View job

Wall time 9m59s vs 10m42s (-6.7%). 11 job(s) slower, 12 faster, 2 unchanged.

  • Python tests / Run tests slice 8/8: -88.0s
  • Python tests / Run tests slice 7/8: +66.0s
  • Check no committed infographics / check-no-committed-infographics: -46.0s
  • OS-specific tests / Windows-only tests: +39.0s
  • JS & TS checks / JS & TS checks shard 2/5: -39.0s

@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: 4b1e7aa7b1

ℹ️ 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 tools/approval.py Outdated
Comment thread tools/environments/local.py Outdated
Comment thread hermes_cli/cli_agent_setup_mixin.py
@mrkillbob
mrkillbob force-pushed the codex/pr76-p1-followup branch 2 times, most recently from eb7c55c to 9245e8b Compare September 13, 2026 01:16

@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: 35e45663c1

ℹ️ 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 plugins/platforms/discord/adapter.py Outdated
Comment thread apps/desktop/src/plugins/kanban/api.ts Outdated
Comment thread hermes_cli/kanban_db_dispatch.py
Comment thread hermes_cli/kanban_db_dispatch.py
Comment thread gateway/progress_queries.py Outdated
Comment thread hermes_cli/secure_worker_cli.py
Comment thread tools/environments/local.py Outdated
Comment thread hermes_cli/federation.py
@mrkillbob
mrkillbob force-pushed the codex/pr76-p1-followup branch 2 times, most recently from 186e392 to ebb84fa Compare September 13, 2026 04:28

@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: ebb84fa781

ℹ️ 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 gateway/run_turn.py
Comment thread hermes_cli/federation.py
Comment thread plugins/github-pr-feedback/tests/test_cli.py
Comment thread gateway/progress_queries.py Outdated
@mrkillbob
mrkillbob force-pushed the codex/pr76-p1-followup branch 2 times, most recently from 59c8ddd to 787a2d4 Compare September 13, 2026 04:53

@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: 787a2d4453

ℹ️ 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 apps/desktop/src/plugins/kanban/completion-notify.ts
Comment thread hermes_cli/federation.py
Comment thread plugins/platforms/discord/adapter.py
Comment thread plugins/platforms/discord/adapter.py
@mrkillbob
mrkillbob force-pushed the codex/pr76-p1-followup branch from 787a2d4 to 3f0f4c9 Compare September 13, 2026 05:19
@mrkillbob
mrkillbob merged commit d54bd8b into main Sep 13, 2026
47 checks passed
@mrkillbob
mrkillbob deleted the codex/pr76-p1-followup branch September 13, 2026 05:44

@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: 45cc23595f

ℹ️ 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 apps/desktop/src/plugins/kanban/api.ts
Comment thread tools/environments/local.py
Comment thread hermes_cli/federation.py
Comment thread plugins/platforms/discord/adapter.py
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