| ID | Control | Status | Evidence | Required action |
|---|---|---|---|---|
| SEC-1 | Authenticate users with unique credentials | Demo only | DemoAuthService accepts one fixed account. | Supply a production validator and session store. |
| SEC-2 | Protect session values | Gap | The cookie value is the constant demo-admin. | Issue unpredictable, server-verified session tokens. |
| SEC-3 | Enforce plugin permissions | Gap | The web runtime returns true for every permission. | Check requiredPermissions with the kernel’s PermissionService. |
| SEC-4 | Mark session cookies httpOnly, sameSite, and secure in production | Met | Login server action. | None. |
| SEC-5 | Keep secrets out of source control | Met | No credentials in the repository. | Keep reviewing pull requests for secrets. |
| SEC-6 | Verify changes in CI | Met | verify job runs lint, typecheck, and test. | Add pnpm build. |
| SEC-7 | Use least-privilege workflow tokens | Met | CI uses contents: read. Release Please uses contents: write and pull-requests: write. | None. |
| SEC-8 | Dependency vulnerability scanning | Gap | No scanning workflow or Dependabot configuration is committed. | Enable dependency alerts and updates. |
| SEC-9 | Private disclosure of vulnerabilities | Gap | No security policy file is committed. | Add a SECURITY.md. |
Resolve SEC-1 to SEC-3 before the application is reachable by anyone other than its developer.
