[changebeacon] Dashboard endpoints have no authentication #29

Closed
opened 2026-02-25 03:03:28 +00:00 by ash · 0 comments
Owner

Security Concern

The dashboard CRUD endpoints (DashboardCreateEntry, DashboardUpdateEntry, DashboardDeleteEntry) have no authentication. Anyone can:

  • Create entries in any project
  • Update any entry
  • Delete any entry

The API endpoints properly use auth.RequireAPIKey, but the Datastar SSE dashboard endpoints bypass auth entirely.

Recommendation

Add session-based auth or API key requirement to dashboard mutation endpoints.

Found by red team audit 2026-02-25.

## Security Concern The dashboard CRUD endpoints (`DashboardCreateEntry`, `DashboardUpdateEntry`, `DashboardDeleteEntry`) have **no authentication**. Anyone can: - Create entries in any project - Update any entry - Delete any entry The API endpoints properly use `auth.RequireAPIKey`, but the Datastar SSE dashboard endpoints bypass auth entirely. ### Recommendation Add session-based auth or API key requirement to dashboard mutation endpoints. Found by red team audit 2026-02-25.
ash closed this issue 2026-03-26 16:38:24 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ash/ideas#29
No description provided.