Skip to content

fix: distinguish temporary homes in qualification evidence - #63

Merged
vriesd merged 1 commit into
mainfrom
fix/qualification-home-path-guard
Sep 5, 2026
Merged

fix: distinguish temporary homes in qualification evidence#63
vriesd merged 1 commit into
mainfrom
fix/qualification-home-path-guard

Conversation

@vriesd

@vriesd vriesd commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Distinguish nested temporary HOME paths from rooted private user-home paths without changing retained evidence bytes.
  • Preserve POSIX/Windows, escaped JSON, Markdown emphasis/table, secret and raw-ID privacy refusals with regression coverage.
  • This changes qualification grader identity, not the packed plugin. A fresh full campaign is required; the prior campaign is preserved and is not claimed qualified by this fix.

Validation

  • Independent Flow final review passed for the narrow guard correction.
  • Focused packaging tests: 36 passed.
  • Clean-worktree contribution push preflight: 820 passed, 1 skipped; typecheck, lint, metadata and build passed.
  • Commit preflight passed; optional gitleaks unavailable.
  • Prior campaign preservation proof: all 157 files unchanged and packed artifact byte-identical.

No generated evidence, credentials, version changes or publication are included.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 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-05T22:43:41.795346Z 6487edf 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.

@vriesd
vriesd merged commit 96032cb into main Sep 5, 2026
6 checks passed

@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: 6487edf8b0

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

const paths = text.replace(/\\+\//g, "/");
if (
/(?:\/Users\/[^/\s]+|\/home\/[^/\s]+|[A-Za-z]:\\Users\\[^\\\s]+)/.test(text)
/(?:(?:^|[\s"'`=():,;<>[\]{}!?|]|\\[nrtbf]|file:\/\/[^/\s"'<>]*)[*_~]*\/+(?:Users|home)\/[^/\s]+|[A-Za-z]:\\+Users\\+[^\\\s]+)/.test(

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Strip ANSI prefixes before checking home paths

When a transcript or tar member contains colorized terminal output such as \u001b[31m/home/alice/private.txt, the ANSI sequence's final m immediately precedes the path and is not an accepted boundary, so this regex does not reject the private absolute path. The previous substring-based guard caught this case, and tool output can realistically contain ANSI formatting, allowing a user-home path to be sealed into qualification evidence.

Useful? React with 👍 / 👎.

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.

2 participants