Folio is built to a zero-egress, on-device threat model:
- The shipped app and engine link no networking crates — enforced in CI by
scripts/check-no-network.sh(the network-crate denylist gate). Audio, transcripts, and telemetry never leave the user's machine. - Model packs are loaded fail-closed: a pack is only trusted after structural validation, a SHA-256 integrity check, an ed25519 signature check against a vendor public key embedded at build time, and an engine-version gate. Unsigned, tampered, or untrusted packs are rejected and nothing is installed. Release builds refuse to compile without a vendor key or against the committed test key.
The compliance and assurance documentation (data-flow, data-at-rest, airplane-mode
verification, DPIA support, non-processor statement, third-party components) lives under
docs/assurance/.
Please report security issues privately rather than opening a public issue: use GitHub's private vulnerability reporting ("Report a vulnerability" under the repository's Security tab).
Include reproduction steps and the affected version/commit. We aim to acknowledge reports within a few business days. Please give us a reasonable window to release a fix before any public disclosure.
- The
sherpa-onnxprebuilt C library is fetched at build time only; this is not runtime egress and is intentionally outside the network gate's scope (seescripts/check-no-network.sh).