Files
mira/docs/security.md
Cauê Faleiros 8c7e5fbbe4
All checks were successful
CI / backend (push) Successful in 13m19s
CI / frontend (push) Successful in 11m3s
CI / docker (push) Successful in 1m58s
first commit
2026-06-03 16:31:42 -03:00

681 B

Security Notes

The application must follow OWASP guidance throughout implementation.

Required Controls

  • Strong password hashing.
  • Login rate limiting.
  • Backend role and client-scope authorization.
  • Restrictive CORS.
  • HTTP security headers.
  • Parameterized database queries.
  • Safe upload handling.
  • Protected attachment access.
  • Invitation tokens with expiration and single use.
  • Audit logs for sensitive changes.
  • No secrets in the repository.

Upload Rules

  • Limit file size.
  • Restrict MIME types.
  • Validate actual file content.
  • Rename files before storage.
  • Do not execute or directly expose uploaded files.
  • Check client access before serving files.