fix(security): refine public boundary false positives - #197
Merged
allenwoods merged 1 commit intoJul 10, 2026
Merged
Conversation
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
Refine three false-positive families in the public repository boundary without weakening the underlying detection:
/Users/...detection and pin reviewed lowercase/users/...API-route fixtures by exact path and whole-file SHA-256;desc.internallocale keys only insideoptions/locale/assignments;Security invariants
/Users/...and lowercase/users/...real paths still fail.db.internal,db.internal.pem, and internal-host assignments outside locale files still fail.Verification
33focused boundary tests passed.53complete boundary tests passed.Guard update exception
This PR intentionally changes a guarded checker file. The immutable pre-push hook and trusted workflow must reject guard changes by default, so the branch was pushed with one audited
--no-verifyexception and this PR requires an explicit security-admin merge exception. After merge, reinstall the immutable hook from the new default commit before pushing the cleanup branch.