You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SEC: Git delivery: redaction is shallow, ignores short credentials, and is order-sensitive for overlaps (Codex F2) #445
DoneWork merged into the integration branch; the comment gives the pull request, the merge and the proofbugSomething isn't workingsev:mediumIncorrect data, a weak control or a slow service, with no direct lossstatus:openNo fix yet
Part of #286. Found by Codex (another model family) reviewing the Git delivery layer on main b8ee59e (PRs #288, #299), 2026-11-19. Severity per Codex: Medium.
Short configured credentials never register, and a dictionary nested in an event/list bypasses redaction. Iterating an unordered set can replace a shorter credential prefix before its longer registered value, leaving a suffix visible. The deterministic regression demonstrates the short/nested cases; the overlapping-prefix hazard follows from the replacement loop and is not claimed as a separately deterministic baseline failure.
Full fix: register all nonempty values, take a locked snapshot, use one longest-first escaped regex substitution, and recursively sanitize dictionary keys/values and sequences. Register the SSH key text as defense in depth. Parse raw Git stderr before sanitizing it, so a short credential such as t cannot change “couldn't find remote ref” or “stale info” into an unrecognizable classifier. Appendix C: oplog.py, relevant workspace.py hunks. The existing API-no-workspace test expectation now uses redact() because its token is deliberately t.
Test:test_nested_short_and_overlapping_secrets: fails main; passes fixed. Actual Git retry/adoption control passes with the new redactor. Limitation: substring redaction of a one-character credential necessarily makes some operator text harder to read.
Evidence:workbench/cmapi/review-288b/codex-report.md (F2) and its regression test in codex-fixes.patch; Codex ran it failing on main and passing with its fix. Reviewer 2 (OB3) checks the fix and runs the PostgreSQL and SSH checks the sandbox could not, before it is applied.
Fixed by #459 (merged, CI green), from Codex's review of the Git delivery layer with OB3's corrected fix; the coordinator ran its test failing on main and passing with the fix. GitHub closed only the first Closes line of that PR.
DoneWork merged into the integration branch; the comment gives the pull request, the merge and the proofbugSomething isn't workingsev:mediumIncorrect data, a weak control or a slow service, with no direct lossstatus:openNo fix yet
Activity
ephico2real2 commentedon Nov 19, 2026
Fixed by #459 (merged, CI green), from Codex's review of the Git delivery layer with OB3's corrected fix; the coordinator ran its test failing on main and passing with the fix. GitHub closed only the first
Closesline of that PR.