Settings & Security · Contents
Settings, theme, API keys and security
Account settings, appearance, API keys, email testing, and how Breaklytix protects your data.
Settings is the control surface for the account, not for a single repository. It is split into General, Notifications, Email, Billing and Session. The choices here apply across every repository you connect.
General
- Shows the connected GitHub account, the verified email and the current plan.
- Reconnect GitHub if you changed permissions or revoked access; the new authorization replaces the stored token.
- Sign out of this browser clears the session in this browser. It does not delete the account or revoke the GitHub authorization.
- To revoke Breaklytix at GitHub, use GitHub → Settings → Applications. That is the authoritative disconnect.
Theme
Choose Light, Dark or System. The preference is stored in this browser under autofix_theme and is applied by a small inline script before the page paints, so a dark-mode user does not see a white flash on load. System follows the operating system and re-applies when the OS preference changes.
- The dashboard header has a quick light/dark toggle that updates the same preference.
- The setting is per browser, not per account: a different device can use a different theme.
- Clearing site data resets the preference to System.
API keys
Settings → API Keys creates keys for the public API and the CLI. A key is shown once, at creation, and never again. The backend stores only a SHA-256 hash and a short prefix for display.
- Keys are prefixed afx_live_ and are sent as a bearer token.
- Each key records when it was created and when it was last used, so an idle key is easy to spot.
- Revoking a key takes effect immediately. Revoked keys cannot be restored.
- Create a separate key per tool or machine so a leak has a small blast radius.
Settings → Email sends a test message through the same path as alert email. Use it before you rely on alerts. The page reports the sender and whether the backend is using a sandbox sender; an @resend.dev sender only delivers to the account owner.
Security model
- Authentication: GitHub OAuth only. Breaklytix stores no passwords.
- GitHub tokens and provider API keys: encrypted at rest with Fernet using TOKEN_ENCRYPTION_KEY. They are decrypted server-side only when a scan or an approved fix needs them.
- Session: a signed JWT issued after the OAuth callback, valid for 30 days. It is held in browser storage and cleared on sign-out.
- Authorization: every data query is scoped to the authenticated user. Agency repositories are additionally scoped to the client.
- Internal endpoints require a server-side internal secret and are not reachable from the browser.
- Email delivery logs record the recipient, subject, alert type, status and provider ids. They do not store the message body or secrets.
- Scan output is redacted for secret-shaped strings before it is stored or displayed.
The public Security page and Privacy Policy describe the controls in more detail. If you find a vulnerability, report it through the support address rather than opening a public issue.
Does signing out delete my account?
No. It clears the session in this browser. Your account, repositories, scan history and billing record remain. To revoke Breaklytix's GitHub authorization, revoke the OAuth app on GitHub.
Where is the theme preference stored?
In this browser under autofix_theme. It is not stored on your account, so each device can use a different theme.
Can I see an API key again after creating it?
No. The full key is shown once. Only a hash and a short prefix are stored, so a lost key must be revoked and replaced.
How long does a session last?
The signed session token is valid for 30 days. Signing out clears it from the browser; revoking the GitHub authorization makes the underlying GitHub token unusable immediately.