CODING2 Multi-file Components
Electron Multi-Platform Desktop Architecture & IPC Security
Hardening guide for desktop applications using Electron and Next.js / Vite with zero remote code execution vulnerabilities.
Author: TRIHEX Architecture Lab
•License: MIT
•Version: 2.1.0
Inert Code Verified · Heuristic Static Security ScannerHeuristic Scanner: LOW Risk
Heuristic static security scanner audited 2 files (2520 bytes). External code. Review before execution.
v2.1.0
Skill Files (2)
Compatible Runtimes
AntigravityClaude CodeCursor
SKILL.md·markdown
# Electron Multi-Platform Desktop Architecture & IPC Security Context isolation, secure IPC channels, preload scripts, auto-updaters, and native tray menus. ## Core Invariants & Rules 1. Always enable contextIsolation: true and nodeIntegration: false in WebPreferences. 2. Verify input validation and security boundaries on all executions. 3. Keep configurations modular, typed, and auditable. ## Operational Workflow 1. Analyze requirements against existing codebase patterns. 2. Apply standardized implementation templates. 3. Execute verification suites before deployment.