Skip to content

chore: harden public driver repository - #1

Merged
frahlg merged 1 commit into
mainfrom
codex/repository-hardening
Jul 20, 2026
Merged

frahlg merged 1 commit into
mainfrom
codex/repository-hardening

Conversation

@frahlg

@frahlg frahlg commented Jul 20, 2026

Copy link
Copy Markdown
Member

Summary

  • pin every GitHub Action to a full commit and use frozen uv installs
  • add full-history secret scanning and stronger CODEOWNERS
  • state the public-source/private-signer/runtime-distribution boundary
  • add package and HIL evidence fields to the PR template

Validation

  • make check: 2510 passed, 480 skipped
  • Git history secret scan: passed
  • git diff --check: passed

Control remains disabled. This PR does not publish or sign a driver artifact.

Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
@frahlg
frahlg merged commit aaa65d9 into main Jul 20, 2026
5 checks passed
@frahlg
frahlg deleted the codex/repository-hardening branch July 20, 2026 18:04

@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: 995d38405c

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

+ b"[A-Za-z0-9+/=\\r\\n]{100,}"
+ b"-----END [A-Z0-9 ]*PRIVATE KEY-----"
),
"GitHub token": re.compile(b"gh" + b"[opsu]_[A-Za-z0-9]{20,}"),

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 Catch fine-grained GitHub PATs in the history scan

This only matches the older ghp_/gho_/ghs_/ghu_ token prefixes, so a fine-grained GitHub PAT beginning with github_pat_ can be committed anywhere in history and this new CI job still reports success. Since the job is meant to reject GitHub tokens from Git history, include the current github_pat_ form as well or these credentials will slip through the added hardening.

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.

1 participant