fix(access): validate redirect and credential boundaries reproducibly #133
Loading…
Reference in a new issue
No description provided.
Delete branch "oss-oo/platform-access-repro-20261014"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Access validation must report the transport and identity that were actually tested. The clients now handle malformed HTTP redirects deliberately, apply credential checks independently of header casing, and retain redirect evidence in MCP failures. Authenticated Git probes and all HTTPS Git probes require canonical URLs and refuse redirects, preventing credential forwarding and unencrypted fallback.
Git probes use an owned neutral working directory and HOME, so caller repository settings, helpers, hooks, askpass programs and netrc entries cannot supply unintended credentials. Push preparation preserves all explicitly addressable local refs, including tracking refs and notes, while updating only the requested destination ref. The source repository remains unchanged. Existing cancellation paths retain honest interrupted/not-run reporting.
Validation at
0b94ab52ae87e21e239c7bbb50a83feb9e8481c4, tree21fda3f4c717df071581349c759097645adbc8dc, integrated with current Main:This change improves the validation tooling and its contracts. It does not deploy application changes or run mutating production canaries.
4cc434a73403b72a9WIP: access-validation redirect boundaries, operator cancellation, route inventoryto fix(access): validate redirect and credential boundaries reproducibly