Security Checklist
Dependency scans, secret rotation, and access review
Dependency Scans
Run:
Minimum cadence: weekly and before releases.
Secret Rotation (Quarterly)
Rotate these on a regular schedule or after any suspected exposure:
BETTER_AUTH_SECRETENCRYPTION_KEYCLOUDFLARE_R2_*OPENROUTER_API_KEYCOMPOSIO_API_KEYE2B_API_KEYGITHUB_TOKENDISPATCHER_API_KEY
Process:
- Create new secrets in the provider.
- Update deployment environment variables.
- Restart services.
- Verify auth, uploads, agents, and integrations.
Access Review
- Audit admin users in
user.role. - Rotate API keys for dormant users.
- Remove unused OAuth providers.
Security Headers
Production security headers are enforced in apps/api/index.ts.