Skip to Content
Security

Security

The public boundary is the Go API and the separately protected FastMCP gateway. The indexer, PostgreSQL, Redis, and MinIO/S3 belong on private networks.

Required controls

ControlImplementation
IdentitySimpleJWT-compatible access tokens and PBKDF2-SHA256 password compatibility
Browser perimeterConfigured CORS and TLS reverse proxy
Abuse resistanceRedis-backed client rate limits plus request timeouts
Durable authorityPostgreSQL transactions and conditional updates
Object protectionAuthorized MinIO/S3 streams; no raw credential exposure
Agent safetyJWT forwarding, path allowlist, and confirm=true for mutations
Secret protectionEnvironment/secret manager injection; redacted logs

Never authorize an action only in the gateway. Never record passwords, OTPs, JWTs, provider keys, document content, or embeddings in logs. Re-run cross-user authorization tests after every new route or FastMCP mutation tool.

Last updated on