Skip to content

Prod hardening: auth for /health endpoint + endpoint security #2

Description

@webdevtodayjason

Context

The /health HTTP endpoint (argentmunch serve) is currently unauthenticated. This is acceptable for local development but must be hardened before any production or shared-network deployment.

Requirements

  • Add optional auth token for /health endpoint (env var or config file)
  • Add rate limiting to prevent abuse
  • Add CORS headers (restrict to known origins)
  • Add TLS/HTTPS support or document reverse proxy pattern
  • Consider IP allowlist option for MAO-only access
  • Document security model in SECURITY.md

Context from PR

Opened as a follow-up from PR #1 (MVP implementation).

Priority

Must be resolved before deploying ArgentMunch on Dell R750 shared endpoint (Phase 2).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    merge-gateBlocked until acceptance criteria metsprint:slice-2Sprint Slice 2 — Production Hardeningthread:EThread E — ArgentMunch health + freshness hardening

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions