Skip to content

fix: reject unrelated process arguments during service detection - #12

Merged
abruption merged 7 commits into
mainfrom
fix/process-identity
Oct 14, 2026
Merged

abruption merged 7 commits into
mainfrom
fix/process-identity

Conversation

@abruption

@abruption abruption commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Fixes #4

Match executable identity and component-specific operands instead of arbitrary argv entries. Python -c/-m and unrelated scripts, editors, invalid sshd configuration operands and non-listener titles no longer suppress startup. Preserve unreadable-executable fallback, UID/self filtering and disappearing-PID handling. Normalize equivalent configured paths and the kernel deleted-executable suffix; support combined Python flags and attached sshd options.

Validation: 17 process-detector tests pass locally; Bash syntax and git diff checks pass. Full local suite: 61 pass, one environment error because AF_UNIX socket creation is forbidden; unchanged address-wrapper test runs in CI. CI covers Python 3.11/3.13 and ShellCheck; see latest head checks for final results.

No live service, credentials, network configuration or deployed installation changed.

Verified CI on head f044357ac114a853cbf220676b740d220b1992e8: Python 3.11 and 3.13, 62 tests each, plus Bash syntax and ShellCheck passed. Workflow run.

Follow-up verification

Independent verification found that sshd configuration checks could still suppress startup. The detector now parses the complete option list and rejects -t/-T, including combined or trailing flags. Codex review feedback is also addressed: Python 3.8-compatible deleted-executable handling, Linux leading-slash normalization, and PyPy/current-interpreter recognition. Focused detector coverage is now 24 tests. The combined candidate passes 77 applicable tests on actual Python 3.8; Linux CI validates the full suite separately. Latest head has been submitted for another Codex review.

Latest follow-up also handles missing cwd path resolution, sshd -g, and the documented non-terminating Python flags. Linux integration CI passed all 88 tests on Python 3.11/3.13: https://github.com/abruption/dots-tailscale/actions/runs/38567107967.

@abruption
abruption marked this pull request as ready for review October 14, 2026 12:36
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 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-14T12:55:08.760983Z 5b417d2 Manual request
🔒 Security Review ✅ Completed 2026-10-14T12:55:26.373457Z 5b417d2 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.

Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 14, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

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

Reviewed commit: a879445178

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.

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

ℹ️ 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 tailscale-setup.sh Resolved
Comment thread tailscale-setup.sh Resolved
Comment thread tailscale-setup.sh Resolved
@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 Security Review

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

Reviewed commit: 9b6c9bfe2e

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.

@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: 9b6c9bfe2e

ℹ️ 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 tailscale-setup.sh Resolved
Comment thread tailscale-setup.sh Resolved
Comment thread tailscale-setup.sh Resolved
@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. Bravo.

Reviewed commit: 5b417d2f4e

ℹ️ 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: 5b417d2f4e

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 merged commit 9d9bd1c into main Oct 14, 2026
7 checks passed
@abruption abruption mentioned this pull request Oct 14, 2026
@abruption
abruption deleted the fix/process-identity branch October 14, 2026 13:05
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: 파일을 열어 둔 프로세스를 shim·sshd 실행으로 오인하지 않도록 식별 강화

1 participant