Skip to content

Confine local file access to configured roots - #49

Draft
IlyaasK wants to merge 1 commit into
deepshard:mainfrom
IlyaasK:hypeship/harden-local-paths
Draft

Confine local file access to configured roots#49
IlyaasK wants to merge 1 commit into
deepshard:mainfrom
IlyaasK:hypeship/harden-local-paths

Conversation

@IlyaasK

@IlyaasK IlyaasK commented Jul 30, 2026

Copy link
Copy Markdown

Summary

  • add a shared resolver for paths constrained to a configured root
  • prevent Obsidian search and writes from following paths outside the vault
  • reject app sources and icons outside the app directory during validation and upload
  • cover direct traversal and nested symlink cases with regression tests

Testing

  • 166 tests passed, including the published generated protobuf package
  • Python compilation check passed
  • git diff --check passed

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