Skip to content

Eliminate record-ID path construction#77

Merged
ChelseaKR merged 1 commit into
mainfrom
remediate/codeql-path-selection
Jul 11, 2026
Merged

Eliminate record-ID path construction#77
ChelseaKR merged 1 commit into
mainfrom
remediate/codeql-path-selection

Conversation

@ChelseaKR

Copy link
Copy Markdown
Owner

Select record, bag, version, and replica paths from filesystem children by equality instead of interpolating request-derived record IDs. This preserves the allowlist validation while making path traversal structurally impossible and visible to CodeQL. Verified with ruff, mypy, and 46 focused storage/server tests.

@ChelseaKR
ChelseaKR merged commit 7103efc into main Jul 11, 2026
14 checks passed
@ChelseaKR
ChelseaKR deleted the remediate/codeql-path-selection branch July 11, 2026 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant