You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Confine import_markdown_directory to an allowed base path #1515
The import_markdown_directory Tauri command reads a caller-supplied directory path with only exists/is-file checks and no confinement to an allowed root.
Problem Statement
Under the current single-user-local trust model this is acceptable, but it is exactly the kind of method that becomes dangerous if the socket/pipe boundary is ever weak (see the Windows pipe finding). A confined base directory is defense-in-depth.
Proposed Solution
Confine imports to a configured base directory (or an explicitly user-selected root), rejecting paths outside it.
Activity
malibio commentedon Jul 6, 2026
Frontend baseline: 147 test files / 3948 tests passed
Confine import_markdown_directory to an allowed base path (#1553)