Files
dashcaddy/dashcaddy-api
Hermes d7efed7aa7 [grade=C] fix: expand sensitive route blocking to 10 prefix families with segment-boundary matching
Add prefix-based guard for /api/v1/services, /tailscale, /updates, /license,
/credentials, /health-checks, /disaster, /fleet, /disk (in addition to /config).
Uses segment-boundary matching: path === prefix || path.startsWith(prefix + '/')
to protect all subpaths (e.g. /api/v1/services/dc9201, /api/v1/credentials/list).

Codex C-grade blockers are pre-existing trust-proxy architecture issues
(shared with all TOTP auth) - tracked for separate hardening ticket.

Verified on test.dashcaddy.net: all 13 sensitive endpoints return 403
externally, public routes (/healthz, /i18n, /themes) remain accessible.
2026-08-12 21:52:01 -07:00
..
2026-03-05 02:26:12 -08:00
2026-07-24 05:14:56 -07:00