Skip to content

fix/security capability hardening - #189

Merged
tukuyomil032 merged 7 commits into
mainfrom
fix/security-capability-hardening
Sep 2, 2026
Merged

fix/security capability hardening#189
tukuyomil032 merged 7 commits into
mainfrom
fix/security-capability-hardening

Conversation

@tukuyomil032

Copy link
Copy Markdown
Owner

Problem

Solution

Scope

  • Included:
  • Out of scope:

Validation

Automated checks

  • pnpm check
  • pnpm test
  • pnpm build
  • cd src-tauri && cargo test
  • git diff --check

Manual QA

  • Tested the affected flow in the packaged debug application when applicable
  • Confirmed the relevant error and empty states
  • Confirmed keyboard and accessibility behavior for UI changes

Screenshots or recording

Related issue

Closes #

Notes

Separate the main and backup-selector window capabilities and remove broad renderer filesystem access.

Keep updater and network permissions scoped to the windows that require them.
Route file operations and external folder imports through Rust-managed roots and typed path requests.

Add safe server directory migration, native import tokens, symlink checks, and explicit unavailable-server state.
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Make fixed managed roots and containment checks explicit at filesystem boundaries.
Validate selected sources and managed destinations before recursive filesystem operations.
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Resolve native picker entries and managed destinations through trusted directory entries before copying.
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Comment thread src-tauri/src/commands/file_utils.rs Fixed
Resolve managed tree entries from trusted roots before recursive filesystem operations and canonicalize picker sources at the copy boundary.
@tukuyomil032
tukuyomil032 marked this pull request as ready for review September 2, 2026 15:21
@tukuyomil032
tukuyomil032 merged commit a57278a into main Sep 2, 2026
10 of 11 checks 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.

2 participants