Repository navigation
fix: secure public release and enforce main branch checks - #5
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
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.