Skip to content

security: minimize desktop webview capability - #98

Merged
kev1n77 merged 1 commit into
mainfrom
codex/minimal-tauri-capability
Jul 21, 2026
Merged

security: minimize desktop webview capability#98
kev1n77 merged 1 commit into
mainfrom
codex/minimal-tauri-capability

Conversation

@kev1n77

@kev1n77 kev1n77 commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace core:default with the three system APIs actually used by the main WebView: event listen, event unlisten, and save dialog
  • keep the capability local-only, bound to the main window, with no remote origins
  • extend the deterministic repository policy verifier so missing, broad, remote, non-local, or extra desktop capabilities fail CI
  • clarify that the MVP exposes no executable third-party plugin surface; WASI isolation is an enablement gate for a future plugin feature, not an idle runtime dependency

Verification

  • python scripts/verify_supply_chain.py
  • python -m unittest discover -s scripts/tests -v (26 tests passed)
  • npm run desktop:tauri -- info
  • git diff --check

@kev1n77
kev1n77 merged commit 02ef6fe into main Jul 21, 2026
10 checks passed
@kev1n77
kev1n77 deleted the codex/minimal-tauri-capability branch July 21, 2026 17:48
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