Skip to content

Security: nestyxx/mailbridge

SECURITY.md

Security policy

Design

  • The SMTP server listens on 127.0.0.1 by default. An optional setting also listens on the local network: only private addresses (RFC 1918, link-local) are accepted, never Internet addresses, with a separate network CA limited by name constraints to the computer name and private ranges. Authentication is always mandatory; the login selects the sending profile. Plain authentication is only offered over TLS or from a loopback peer.
  • Secrets (local SMTP passwords, SMTP keys, API keys, OAuth refresh tokens) are stored in Windows Credential Manager. The database only holds references. Secrets are never written to logs, diagnostics or the history.
  • Logs and diagnostics never contain message content, attachments, passwords or full addresses.
  • The local CA is restricted by name constraints to localhost, 127.0.0.1 and ::1. Its private key is a file in the app data folder (tls\ca.key.pem): protect that folder like any user profile data.
  • Microsoft 365 sign-in uses the authorization code flow with PKCE and a loopback redirect; the state is verified.
  • No telemetry, no network access other than the providers you configure.

Reporting a vulnerability

Please do not open a public issue. Use GitHub's private vulnerability reporting ("Security" tab of the repository) with a description and reproduction steps. Do not include real customer data.

There aren't any published security advisories