What problem does it solve? Electron apps expose a large attack surface when renderer, preload, and main-process boundaries are misconfigured. This Skill verifies that the Research Viewer desktop app still enforces its non-negotiable security baseline before any PR touching main/preload code, IPC channels, CSP, or dependencies, and before tagging a release. ## Core Features & Use Cases - Ten-Invariant Audit: Checks BrowserWindow webPreferences, HTTP-header CSP, preload contextBridge allowlist, IPC input validation, navigation/window blocking, absence of the remote module, unsafe HTML rendering, secrets hygiene, minimal dependencies, and macOS hardened runtime entitlements. - Evidence-Based Reporting: Each item reports PASS or FAIL with file and line-number citations, ending in a summary like "10/10 PASSED". - Use Case: Before merging a branch that modified src/main/index.ts or added an IPC channel, run the check to confirm no sandbox escape, CSP regression, or unauthorized preload channel was introduced. ## Quick Start Run the security invariants check on the current Electron source and report PASS or FAIL for each item.