"매 Chromium + Node.js를 묶어 web tech 으로 desktop app 을 build". GitHub 이 Atom editor 용으로 만든 framework 가 VS Code, Slack, Discord, Figma desktop, 1Password 의 backbone 이 되었음. 2026 현재 Electron 33+ 가 process model 강화 (utility process), V8 sandbox, ASAR integrity 검사 의 기본화.
매 핵심
매 process model
Main process: Node.js runtime, app lifecycle, native API (file, dialog, tray) 의 owner. 매 1 개 instance.
Renderer process: Chromium tab 마다 1 개. BrowserWindow content. Sandbox 기본 ON (Electron 20+).
Preload script: Renderer 의 isolated world 에서 실행, contextBridge 로 main 과 안전 bridge.
Utility process: 매 v22+ 추가. Heavy CPU/IO offload (image decode, ffmpeg).
기본값: 매 Electron 33+ + contextIsolation + electron-builder + auto-updater.
🔗 Graph
부모: Chromium · Nodejs_and_Backend_Optimization
변형: Tauri
Adjacent: Chrome DevTools(크롬 개발자 도구) · V8 엔진 힙 아키텍처
🤖 LLM 활용
언제: web stack 재사용, 빠른 cross-platform delivery, rich web-based UI 필요.
언제 X: 매 100MB+ binary 가 unacceptable, 매 deep OS integration (kernel ext, system tray 만 의 limit), battery-critical mobile.
❌ 안티패턴
nodeIntegration: true with remote content: 매 RCE risk. 매 contextIsolation 강제.
require('electron').remote: deprecated, removed v14+. @electron/remote 도 안티 — IPC handle 로 교체.
불특정 origin loadURL: 매 untrusted web 을 BrowserWindow 에 load 하면 sandbox escape 위험.
ASAR 만 의 protection: ASAR 는 압축 일 뿐. Source 보호 의 X — 매 native module / 서버 side 로 logic 이동.
🧪 검증 / 중복
Verified (electronjs.org docs, Electron 33 release notes 2026).
신뢰도 A.
🕓 Changelog
날짜
변경
2026-05-08
Phase 1
2026-05-10
Manual cleanup — Electron 33 process model + secure IPC patterns