Files
dashcaddy/dashcaddy-api
Hermes 6b9882ca04 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-13 08:44:59 -07:00
..
2026-03-05 02:26:12 -08:00
2026-07-24 05:14:56 -07:00