Skip to content

Security hardening: CSRF, CSP, input validation, secrets management #32

Description

@mondial7

Broader security work beyond the focused issues #22#27 and the rate-limiting tracked in #26.

Scope

  • CSRF protection for state-changing API calls (double-submit cookie or SameSite + custom header).
  • Content-Security-Policy headers (nginx for the docker stack, middleware for the single-binary).
  • Input sanitization via go-playground/validator on every request body — currently ad-hoc in handlers.
  • Production secrets management — document Docker secrets / Vault patterns; today .env files are it.

Out of scope

Effort: medium (3–4 days).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions