diff --git a/SECURITY.md b/SECURITY.md index 6fe6c4a..e381094 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,9 +1,30 @@ # Security policy -Report vulnerabilities privately to the maintainers (use the repository's private security advisory feature, or the -contact listed on the project page). Do not open a public issue for a vulnerability. Expect an acknowledgement within a -few days. +## Reporting a vulnerability -Supported: the latest release. Tessera holds encrypted backups: keep `TESSERA_VAULT_PASSPHRASE` and the `vault` -directory together, serve the hub over HTTPS outside loopback, and set `TESSERA_TRUSTED_PROXIES` only for proxies you -operate. Hardening notes and the auth design are in `docs/DATABASE-CAPTURE.md` and `docs/auth-endpoint-contract.md`. +Please report vulnerabilities privately. Use GitHub private vulnerability reporting: open the repository's **Security** +tab and choose **Report a vulnerability**. Do not open a public issue or pull request for a vulnerability. + + +Security contact email: not configured yet. + +We aim to acknowledge a report within a few days, agree on a fix and disclosure timeline with you, and credit you in the +release notes if you wish. Please give us a reasonable window to ship a fix before you disclose publicly. + +## Supported versions + +Only the latest 0.1.x release receives security fixes. Upgrade to the newest patch release before reporting an issue +that may already be fixed. + +## Deploying safely + +Tessera holds encrypted backups. Keep `TESSERA_VAULT_PASSPHRASE` and the `vault` directory together and backed up +separately from the hub's host, and serve the hub over HTTPS outside loopback. + +When the hub runs behind a reverse proxy, set `TESSERA_TRUSTED_PROXIES` (comma-separated IPs) to the proxies you +operate and nothing else. The hub rate-limits and audits by client address: `X-Forwarded-For` is only trusted when the +connecting peer is listed there. Left unset, every user shares the proxy's address and its rate-limit budget; listing an +address you do not control lets that peer pick the client address the hub records. + +Hardening notes are in `docs/DATABASE-CAPTURE.md`; the authorization design and the per-route matrix are in +`docs/auth-endpoint-contract.md`.