Skip to content

Security: Andacbasaran/LocalVoice

SECURITY.md

🛡️ Security & Privacy Policy

Local-First, Air-Gapped Architecture

LocalVoice is designed from the ground up for strict offline privacy:

  • Air-Gapped Lock Enabled by Default: Zero external HTTP/HTTPS requests are made during normal reading, document parsing, library indexing, or audiobook export.
  • Explicit User Opt-In for Network Actions: Downloading optional Piper/Kokoro ONNX voice models or checking GitHub Releases for updates is strictly blocked while Air-Gapped mode is active.
  • Fail-Closed Auto-Updater (src/localvoice/updater.py):
    • Only permits HTTPS connections to a strict allowlist of GitHub release hosts (github.com, api.github.com, *.githubusercontent.com).
    • Validates redirect targets against the same allowlist.
    • Verifies every downloaded installer against the release SHA256SUMS.txt manifest before launching.
  • Local Data Storage: All configuration, pronunciation rules, and the SQLite WAL + FTS5 library remain strictly inside the platform user data directory:
    • Windows: %APPDATA%\LocalVoice
    • macOS: ~/Library/Application Support/LocalVoice
    • Linux: ~/.local/share/localvoice

Reporting a Vulnerability

If you discover a security issue in LocalVoice, please report it responsibly via GitHub Security Advisories or open a private report before public disclosure.

There aren't any published security advisories