Files
dashcaddy/dashcaddy-api
Hermes 0bb57c7304
CI / Test & Lint (push) Canceled after 0s
CI / Security audit (push) Canceled after 0s
fix: block sensitive API routes from external access when TOTP off
Add sensitiveRouteMiddleware that blocks /api/v1/config, /api/v1/tailscale/status,
/api/v1/tailscale/devices, /api/v1/updates/available when TOTP is disabled and
the request comes from a non-Tailscale IP. This prevents infrastructure detail
leaks on internet-exposed deployments.

Verified on test.dashcaddy.net: all 3 routes now return 403.
2026-08-12 19:22:15 -07:00
..
2026-03-05 02:26:12 -08:00
2026-07-24 05:14:56 -07:00