Widen / Policies

Security

How to report a vulnerability and the boundaries around credentials, model requests, and database access.

Updated

Report a vulnerability

Use private vulnerability reporting from the repository’s GitHub Security page when it is available. If it is unavailable, open a minimal issue requesting a private contact channel. Do not include exploit details, credentials, private schema names, or real connection information in a public issue.

A useful private report includes:

  • The affected Widen version or commit and macOS version.
  • Steps to reproduce using a minimal schema or synthetic data.
  • Whether the issue concerns Particle requests, SQL execution, Keychain storage, local logs, update delivery, or this website.
  • The potential impact and any known workaround.

Supported versions

Widen is pre-1.0. Security fixes target the latest code on main and the latest public release when practical. Install updates from the official GitHub Releases, or build from the source repository. Signed releases use Sparkle to check for updates.

Credentials and model requests

Widen stores database passwords and your Particle API key in macOS Keychain. The key authenticates HTTPS requests to Particle; it is not part of the model’s prompt. Revoke it through Particle if you suspect it has been exposed.

SQL generation uses open-source models based on DeepSeek, served by Particle through its US inference endpoint. Questions, schema metadata, and query context leave your Mac for this processing. The US routing guarantee covers GPU inference, not every record held by the provider. See Privacy for the full data flow and retention details.

Database access and generated SQL

Treat model output as untrusted and review SQL before running it. Widen’s statement validation, timeouts, row limits, and write confirmations do not replace PostgreSQL permissions or prove that a query matches your intent. Use a least-privilege database role, and a read-only role for analysis.

Data inspection is off by default for model requests and must be enabled for a connection before inspected values can be sent to Particle. Query result tables and database passwords are not automatically supplied to the model. Values you type into questions, saved context, or SQL can still be included in requests.

Local files and diagnostics

Session history, cached schemas, and the plaintext generation.log in ~/Library/Application Support/Widen/ may contain sensitive context. Keychain protects saved credentials; it does not encrypt these separate app files. Redact real questions, database names, values, and errors before sharing logs or screenshots in a report.