electron-security
Installation
SKILL.md
Electron Security Skill
Security is critical in Electron apps. This skill covers secure IPC, credential storage, and protecting sensitive data.
Secure IPC with contextBridge
NEVER expose Node.js directly to the renderer. Use contextBridge:
Preload Script
// electron/preload.ts
import { contextBridge, ipcRenderer } from 'electron';