What problem does it solve?
Identify and verify the security posture of the Hono dashboard by detecting whether a password gate, login/logout flows, and session protection are properly implemented within the existing Hono + SQLite architecture.
Core Features & Use Cases
- Ensure a server-enforced Hono middleware seam over per-route checks.
- Validate the presence and behavior of login, logout, and session handling, including httpOnly session cookies and opt-in dashboards in different environments.
- Confirm the scope of configuration loading (DASHBOARD_AUTH_MODE, DASHBOARD_AUTH_USERNAME, DASHBOARD_AUTH_PASSWORD, DASHBOARD_SESSION_COOKIE, DASHBOARD_SESSION_TTL_HOURS) and that tests cover redirects, config, and e2e login flows for a single-operator dashboard.
Quick Start
Audit the Hono dashboard auth seam by inspecting src/dashboard/server.ts, startup/config, and src/db/repository.ts to confirm a single-operator local login flow and opaque session management, then run the dashboard tests.