respira/electron
Jan-Henrik Bruhn 1084633b64 fix: Add file path validation with dialog-based approval
- Implement dialog-based path approval system for file operations
- Track user-approved paths from OS file dialogs
- Validate paths before read/write operations
- Prevent path traversal attacks with normalization
- Reject relative paths and null bytes
- Users can save/open files anywhere they choose
- Blocks arbitrary file access from compromised renderer process

This prevents path traversal vulnerabilities while maintaining full
user freedom for file selection.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-19 12:52:34 +01:00
..
forge-env.d.ts Add Electron desktop application support with Electron Forge 2025-12-07 22:39:38 +01:00
main.ts fix: Add file path validation with dialog-based approval 2025-12-19 12:52:34 +01:00
preload.ts fix: run linter 2025-12-18 11:39:22 +01:00