Commit Graph
4 Commits
Author SHA1 Message Date
Sucukdeluxe d720c5912e feat(settings): expose Real-Debrid multi-account controls 2026-08-15 21:34:28 +02:00
Sucukdeluxe 53cdac1ded feat(realdebrid): isolate browser account sessions 2026-08-15 20:35:34 +02:00
Sucukdeluxe ca015553f3 fix(startup): preserve Electron WebContents receivers 2026-08-12 21:48:45 +02:00
Sucukdeluxe 265498d629 Harden Electron trust boundaries
Add centralized browser security helpers for restrictive BrowserWindow profiles, navigation denial, popup denial, permission denial, and exact HTTPS host allowlists. Apply those policies to the main renderer window and to the Real-Debrid and AllDebrid browser-login windows without weakening the credential renderer boundary.

Add shared IPC sender validation for renderer handlers so development accepts only the local Vite origin and non-development accepts only the built file renderer tree. Route the registered renderer IPC handlers through the shared guard and restrict app:open-external to the same exact HTTPS allowlist.

Cover the hardening with focused red-green tests for untrusted navigation, popup handling, permission requests, exact host/subdomain matching, packaged file renderer boundaries, untrusted IPC senders, and both browser-login window profiles.
2026-08-12 00:30:49 +02:00