Skip to content

fix(storage): preserve opaque disk keys#229

Merged
sywhang merged 2 commits into
mainfrom
pbt-disk-opaque-keys
Jul 22, 2026
Merged

fix(storage): preserve opaque disk keys#229
sywhang merged 2 commits into
mainfrom
pbt-disk-opaque-keys

Conversation

@sywhang

@sywhang sywhang commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Encode disk keys under the storage root so traversal components cannot escape, normalized paths cannot alias, and parent and child keys can coexist.

Add Rapid model-based operation sequences against memory and disk storage, plus generated traversal keys guarded by an outside-root canary.

Encode disk keys under the storage root so traversal components cannot escape, normalized paths cannot alias, and parent and child keys can coexist.

Add Rapid model-based operation sequences against memory and disk storage, plus generated traversal keys guarded by an outside-root canary.
@sywhang
sywhang requested review from a team as code owners July 22, 2026 06:05
Comment thread go.sum
@xytan0056
xytan0056 self-requested a review July 22, 2026 16:34
@sywhang
sywhang merged commit 855078a into main Jul 22, 2026
15 of 17 checks passed
@xytan0056

Copy link
Copy Markdown
Contributor

actaully this makes debugging harder, we won't be able to browser the dir and find the graph cache to debug. The security fix is valid. but we can jsut strip the ../ rather than encoding the entire thing.

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.

2 participants