Hono Dashboard Auth Seam

Audit Hono dashboard authentication middleware, route protection, and session handling.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/JDL440/nfl-eval --skill hono-dashboard-auth-seam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Hono Dashboard Auth Seam
Source: https://github.com/JDL440/nfl-eval/tree/main/.squad/skills/hono-dashboard-auth-seam
Command: npx skills add https://github.com/JDL440/nfl-eval --skill hono-dashboard-auth-seam

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about Hono Dashboard Auth Seam

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify Hono dashboard authentication and session handling?

Audit the Hono dashboard authentication seam by inspecting middleware usage, route protection, and session handling to verify login/logout flows and password gate presence. It validates server-enforced middleware, httpOnly session cookies, and protection across HTML, API, and SSE routes.

What is the best way to secure a single-operator Hono dashboard with SQLite?

Securing a single-operator Hono dashboard with SQLite involves implementing a server-enforced middleware seam over per-route checks. This approach validates login/logout flows, opaque session management, and opt-in dashboard configurations across different environments.

Does the Hono dashboard auth audit check environment configuration loading?

Yes, the Hono dashboard auth audit confirms the scope of configuration loading for DASHBOARD_AUTH_MODE, DASHBOARD_AUTH_USERNAME, DASHBOARD_AUTH_PASSWORD, DASHBOARD_SESSION_COOKIE, and DASHBOARD_SESSION_TTL_HOURS to ensure startup config properly loads dashboard authentication settings.

How do I test Hono dashboard login flows and route redirects?

Test Hono dashboard login flows and route redirects by verifying that existing tests exercise redirects, configuration loading, and end-to-end login flows. The audit confirms a dashboard_sessions persistence layer exists and tests cover single-operator local login behavior.

Why does my Hono middleware seam fail to protect API and SSE routes?

A Hono middleware seam fails to protect API and SSE routes when per-route checks are used instead of server-enforced middleware. The audit verifies correct middleware application across HTML, API, and SSE routes, ensuring consistent session validation and password gate enforcement.

Do I need a dashboard_sessions persistence layer for Hono auth?

Yes, a dashboard_sessions persistence layer is required for Hono auth. The audit ensures this SQLite persistence layer exists to support opaque session management, httpOnly session cookies, and proper login/logout state tracking for the single-operator dashboard.