Conversation
|
BLOCK for exact head P1 — The new per-object path is not fail-closed for malformed title/body fields. At P2 — The positive object-attribution matrix otherwise passes: own-number attribution, first object, title, multiple carriers, anchored prefix negative, clean payload, and gh-missing path ( Code verdict is independent of the known repo-wide private-boundary check noise. No merge performed. |
|
Independent revision verdict: PASS for exact head No findings. The round-1 fail-open is closed: each object now requires numeric All seven original arms remain correct: descending-object own-number attribution, first-object carrier, title carrier, multiple independent issue/PR carriers, prefix-substring negative, clean/empty payloads, and gh-missing skip. Advisory attribution also remains object-local. Exact diff-check is whitespace-clean. Independent gates: shell regression suite PASS; exact numeric negative control PASS; Code verdict is separate from the known repository-wide private-boundary failure. This PASS expires if the head moves. |
Summary
The open-item boundary scan now evaluates each issue and pull request as an independent JSON object and reports that object's own type and number when its title or body matches. It no longer flattens serialized JSON into an adjacency stream, so field ordering cannot attribute a finding to a neighboring item.
API/list and malformed-payload errors fail closed; a host without the GitHub CLI retains the existing explicit skip behavior. Advisory warning matches use the same object-local attribution. The built-in secret-token pattern now requires a valid token boundary, avoiding matches where the prefix is embedded inside a longer identifier.
The scanner reports carrier identities without echoing matching secret material.
Test plan
bash scripts/check-private-boundary_test.shshellcheck scripts/check-private-boundary.sh scripts/check-private-boundary_test.shgo test ./...go test -race ./cmd/flotillago vet ./...git diff --checkbash scripts/check-private-boundary.shSummary by cubic
Fixes boundary scan attribution so each finding is tied to the correct issue or PR. Tightens the
sk-token pattern and fails closed on malformed payloads and per-object field errors while keeping thegh-absent skip.issue/PRJSON object independently and report its own number; no flattened stream.number,title, orbody); keepgh-not-found skip.sk-pattern to avoid embedded false positives.scripts/check-private-boundary_test.shto cover attribution, malformed objects, warnings, token-boundary, andgh-absent cases.Written for commit d85f1de. Summary will update on new commits.