Skip to content

fix: secure public release and enforce main branch checks - #5

Merged
yyeret merged 1 commit into
mainfrom
codex/public-release-preparation
Oct 15, 2026
Merged

yyeret merged 1 commit into
mainfrom
codex/public-release-preparation

Conversation

@yyeret

@yyeret yyeret commented Oct 15, 2026

Copy link
Copy Markdown
Owner

Summary

Prepare the already-public repository for reuse under MIT and close verified paths that could expose operator credentials or private repository data. The local API accepts only public github.com repositories, and hosted analysis/chat reject requests when authentication or rate-limit configuration is missing.

The patch also escapes report text, redacts upstream errors, pins browser scripts with integrity checks, and adds repeatable history/source/dependency security checks. Licensing provenance, third-party boundaries, and the audit findings are documented in the repository.

Repository protections

Private vulnerability reporting, Dependabot alerts and security fixes, and main-branch protection were enabled with the checked-in settings helper and verified through GitHub's API. Main requires PRs, up-to-date Python 3.11/3.13 CI and security checks, and resolved conversations; force pushes and deletion are blocked for admins too. Required approvals remain zero so the sole maintainer can merge their own PRs.

Validation

  • 224 tests pass on Python 3.13.7; configured coverage is 93.94% against a 90% floor. Hosted boundary changes have explicit tests; the aggregate coverage configuration excludes hosted auth and security scripts.
  • Ruff, lock consistency, diff checks, workflow/config parsing, and root/public HTML synchronization pass.
  • Gitleaks found no credential matches in available history or publishable source. Bandit found no medium/high findings. Both locked runtime and fresh local dependency resolutions passed pip-audit.
  • Independent security and correctness review findings were fixed, including a GH_HOST mismatch that could collect Enterprise data after a github.com visibility check.

Historical public repository snapshots and machine paths remain in Git history. This PR does not rewrite history, rotate credentials, merge itself, or deploy the service. Forks must provision their own hosting and OAuth resources.

Full evidence and limits: public-release audit.

Restrict local collection to public github.com repositories, fail closed on
missing hosted controls, and prevent error and report injection leaks.
Add MIT licensing, documented provenance, continuous security checks, and
repeatable repository protection settings.
@yyeret
yyeret merged commit 7ab8b03 into main Oct 15, 2026
3 of 4 checks passed
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