Security fixes are maintained on the latest release branch of Frameflow:
| Version | Supported |
|---|---|
2.0.x |
Yes |
< 2.0.0 |
No |
Please do not report security vulnerabilities through public GitHub issues.
Instead, please report them privately via GitHub Security Advisories on this repository. Include:
- A clear description of the vulnerability and its potential impact.
- Step-by-step reproduction instructions or a minimal proof of concept.
- Affected files, IPC channels, or Electron/packaging configuration (if known).
- Any suggested mitigations.
We aim to acknowledge reports within 72 hours and provide a remediation plan or status update within 7 days. Coordinated disclosure is appreciated so users have a patched release before public details are published.
Frameflow is designed as a local-first desktop application with defense-in-depth across the Electron boundary:
- Renderer Isolation:
contextIsolation: true,sandbox: true(app.enableSandbox()),nodeIntegration: false,nodeIntegrationInWorker: false,nodeIntegrationInSubFrames: false,webSecurity: true,webviewTag: false, andnavigateOnDragDrop: false. - Content Security Policy: Strict production CSP restricts script execution to
'self', blocks frames/objects/forms, and setsconnect-src 'self' ffmedia:to block direct renderer XHR/fetch/WebSocket calls to external APIs, whileimg-srcandmedia-srcpermithttps:for stock-media thumbnail and preview rendering. - IPC Sender Validation: Every
ipcMain.handlerejects calls that do not originate from the main frame of the local application bundle (or loopback dev server when unpackaged).FF_DEV_URLis ignored in packaged builds. - Scoped
ffmedia://Protocol: Local file streaming is restricted to explicitly registered media paths and designated application data/cache directories; all other paths return403. - Shell & Navigation Guards: Popup windows, cross-origin navigations, and redirects are denied; external links only open
https:URLs in the system browser;shell:openPathenforces an 18-extension allowlist (ALLOWED_OPEN_EXT) with fail-closedrealpathresolution, UNC path rejection, and trailing dot/space protection. - Outbound SSRF & Auth-Header Guards:
electron/lib/urlSafety.cjsperforms async DNS validation (assertSafePublicUrlAsync) across AI, video generation, stock download, ASR, andyt-dlppaths to block loopback, RFC 1918 private, link-local, CGNAT, and mapped IPv6 targets, whileisTrustedHostForBaserestricts credential forwarding to matching trusted hosts/origins. - Credential Protection: User-supplied API keys are encrypted at rest via Electron
safeStorage(Windows DPAPI) in%APPDATA%\Frameflow\secrets.json, never returned in plaintext over IPC, and scrubbed from logs vialog.redact(). - Electron Fuses: Release binaries enforce
RunAsNode=DISABLE,EnableNodeOptionsEnvironmentVariable=DISABLE,EnableNodeCliInspectArguments=DISABLE,EnableEmbeddedAsarIntegrityValidation=ENABLE, andOnlyLoadAppFromAsar=ENABLE, verified on every build byscripts/check-artifacts.mjs. - Binary & Supply-Chain Integrity: Packaged FFmpeg binaries are fetched from a pinned LGPL v3 release and checked against a hardcoded SHA-256 digest before packaging (
scripts/fetch-ffmpeg.mjs).
- Third-party AI, video generation, stock, or video-hosting APIs explicitly configured by the user (governed by each provider's own security and privacy terms).
- Local compromise of the active Windows user session (e.g., malware running as the same Windows user can access DPAPI-encrypted user data).