fix(security): record visibility on dependency-review fail-closed - #1033
fix(security): record visibility on dependency-review fail-closed#1033cursor[bot] wants to merge 4 commits into
Conversation
Replay unique #897 source onto current origin/main. Skip shared ARCHITECTURE/CLAUDE trees. Treat non-200 or failed transport as unavailable evidence rather than a clean skip.
Close the remaining #810 diagnostic gap: allowlist public/private/internal/unknown visibility in probe diagnostics, execute 403/404/empty/malformed regressions, and stop making the pinned action independently skippable after a successful probe. Co-authored-by: Seongho Bae <[email protected]>
There was a problem hiding this comment.
Stale comment
Verdict
COMMENT on exact head
4ca7d9e9.This successor closes the #810 diagnostic gaps that blocked #897: allowlisted repository visibility is recorded with the exact base/head comparison, 403/404/empty/malformed statuses have executable regressions, and the pinned dependency-review action is no longer independently skippable after a successful probe.
Operator next step
Wait only for exact-current-head required checks and a qualifying counted non-author formal approval. Prefer this branch over #897 for integration. Keep #821 draft until its remaining process-group work is rebased without duplicating this probe.
Do not close #810 until a protected-main public consumer run proves a non-200 or failed-transfer comparison cannot produce a green Dependency Review gate. Automated review is not qualifying approval or merge authority.
Sent by Cursor Automation: Fix Issues
Add executable regressions for the EgressWeave #66 canary (HTTP 403 skip-was-success), a bare transport failure, and curl exit 18 with a printed 200. Record exact SHAs and allowlisted visibility without leaking the probe token. Co-authored-by: Seongho Bae <[email protected]>
…arness Invoke the extracted support probe with an absolute bash path and keep the fake curl first on PATH so isolated executable regressions can run without calling the real binary. Co-authored-by: Seongho Bae <[email protected]>
There was a problem hiding this comment.
Verdict
COMMENT on exact head fbb84323.
The visibility-recording fail-closed probe is sound for HTTP 403/404, empty/malformed status, and transport exit 18 with a printed 200. Two gaps remain on this head:
- curl's
%{http_code}000sentinel is still logged as a three-digit status instead ofunavailable. That is not a completed HTTP exchange (Stenberg, n.d.; Fielding et al., 2022). - Private/internal visibility and raw-visibility non-leakage were documented but not locked by executable regressions.
Operator next step
Prefer #1044 (37167995) for integration. Keep this draft and #1041 as historical duplicates of fbb84323. Do not merge #897 or #1042 over #1044.
Do not close #810 until a protected-main public consumer run proves a non-200 or failed-transfer comparison cannot produce a green Dependency Review gate. Automated review is not qualifying approval or merge authority.
Sent by Cursor Automation: Fix Issues
There was a problem hiding this comment.
Verdict
COMMENT on exact head fbb8432345ac6565724668afdbf9e3259475b94b.
This draft matches #1041 and still interpolates unvalidated revisions and repository names into the compare URL. Prefer #1045 for integration. Do not merge #1033. Keep #810 open until a protected-main public consumer run proves a non-200 cannot go green.
Sent by Cursor Automation: Fix Issues


Purpose
Continue #897 on current
mainand close the remaining #810 diagnostic gap: unavailable dependency-review evidence must record allowlisted repository visibility with the exact base/head comparison, and the pinned action must not be independently skippable after a successful probe.What changed
public,private, andinternalvisibility fromgithub.event.repository.visibilityand recordsunknownfor any other value.supported=truepath.Acceptance
Merge only after exact-current-head deterministic, security, dependency, and required workflows are terminal and clean, current automated review has no valid unresolved finding, and a qualifying counted non-author formal approval exists.
Do not close #810 until a protected-main public-repository consumer run proves a non-200 or failed-transfer comparison cannot produce a green Dependency Review gate.
Prefer this branch over #897 for integration. #897 remains historical evidence for the original fail-closed transport/HTTP-200 repair.