Restrict Tauri command boundaries - #26
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
ceiling | 29a158f | Commit Preview URL Branch Preview URL |
Jul 16 2026, 02:16 AM |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📥 CommitsReviewing files that changed from the base of the PR and between 8f26e25bc2aebcfbe875e623f7bcc9ab32f2edfb and 29a158f. 📒 Files selected for processing (10)
💤 Files with no reviewable changes (1)
🚧 Files skipped from review as they are similar to previous changes (9)
📝 WalkthroughWalkthroughTauri capabilities now use separate command scopes for main, floatbar, and flyout windows. Path opening is canonicalized and allowlisted. Auxiliary windows skip selected background effects, and floatbar actions use dedicated commands. ChangesTauri hardening
Estimated code review effort: 3 (Moderate) | ~25 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/desktop-tauri/src-tauri/src/commands/system.rs`:
- Around line 89-113: Keep the canonical path for allowlist validation in the
existing path-opening command, but normalize the computed target before spawning
the opener so Windows extended-length prefixes such as \\?\ are removed while
valid UNC paths remain usable. Apply this conversion to the target produced by
the file/directory branching, without changing the existing allowed-path checks
or selection behavior.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: d4bc1a94-a770-4d2b-85d4-46727e0a4dc7
📥 Commits
Reviewing files that changed from the base of the PR and between 5c6879cd4c3e1a89941a824a9475abf3c092073c and 7dce4d14cfdd2ff9d094bb6c71dbc0e2e0488cd1.
📒 Files selected for processing (10)
apps/desktop-tauri/src-tauri/build.rsapps/desktop-tauri/src-tauri/capabilities/floatbar.jsonapps/desktop-tauri/src-tauri/capabilities/flyout.jsonapps/desktop-tauri/src-tauri/capabilities/main.jsonapps/desktop-tauri/src-tauri/permissions/commands.tomlapps/desktop-tauri/src-tauri/src/commands/credential_detection.rsapps/desktop-tauri/src-tauri/src/commands/system.rsapps/desktop-tauri/src-tauri/src/commands/tests.rsapps/desktop-tauri/src/App.tsxapps/desktop-tauri/src/floatbar/FloatBar.tsx
💤 Files with no reviewable changes (1)
- apps/desktop-tauri/src/floatbar/FloatBar.tsx
|
@coderabbitai review |
✅ Action performedReview finished.
|
aeffaa3 to
215f191
Compare
8f26e25 to
29a158f
Compare
Promote the 0.43.3 line from beta to stable now that the Jul 2026 security hardening (SOU-148) has fully merged to main. ## Version - Bump 0.43.3-beta.2 -> 0.43.3 across rust/Cargo.toml, desktop Cargo.toml, tauri.conf.json, package.json, Cargo.lock, and version.env (BUILD_NUMBER 89 -> 90). - Add the 0.43.3 CHANGELOG entry. ## What is in this release since beta.2 Four merged security PRs (all reviewed by CodeRabbit + Sol, CI green on main): - #24 Harden Windows local access controls (SOU-149, SOU-150) - #25 Harden credential storage hygiene (SOU-151, SOU-159) - #26 Restrict Tauri command boundaries (SOU-153) - #27 serde_with security patch (SOU-193, GHSA-7gcf-g7xr-8hxj) ## Release After merge, tag v0.43.3 on main to trigger the signed Windows build, which drafts the GitHub release. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Security** * Strengthened protection for secrets and stored credentials with user-scoped encryption and access controls. * Removed plaintext cookie caches and ensured temporary cookie data is cleaned up on exit. * Restricted status communication, window commands, and folder access to authorized application contexts. * **Release** * Promoted the application to version 0.43.3. * Updated the build number to 90. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: tsouth89 <tsouth89@users.noreply.github.com>
Summary
open_pathtargets and allow only Ceiling config roots or backend-discovered credential/tool pathsValidation
cargo test --manifest-path apps/desktop-tauri/src-tauri/Cargo.toml(364 passed)cargo clippy --manifest-path apps/desktop-tauri/src-tauri/Cargo.toml --all-targets -- -D warningspnpm test(219 passed)pnpm buildLinear: SOU-153
Stacked on #25, which is stacked on #24.
Summary by CodeRabbit