# proof: admin-gate date: 2026-11-07T23:28:28Z commit: a39b63bf1620862b8e145b537deede01fc8f48bf command: npm run build && npm run proof:admin-gate node: v26.13.0 target: local production build (next start -H localhost) built from this commit, not the live Vercel site limit: proves the gate; the review actions on a real database are covered by mocked tests only. The forged POSTs use a made-up action id, so they show the proxy refuses them; the second check inside each action (requireAdmin) is not reached by this run server: next start on http://localhost:3226 (local production build), DATABASE_URL at db.invalid node: v26.13.0 passwords: random per run, not printed (lengths 11 and 24) ## FORUM_ADMIN_PASSWORD blank (one space) GET /admin, no password -> 401 refused, ok GET /admin, a 24-char password -> 401 refused, ok POST /admin server action, no password -> 401 refused, ok ## FORUM_ADMIN_PASSWORD 11 characters (under the 12 minimum) GET /admin, the right 11-char password -> 401 refused, ok POST /admin server action, right password -> 401 refused, ok ## FORUM_ADMIN_PASSWORD 24 characters GET /admin, no Authorization header -> 401 refused, ok GET /admin, wrong password -> 401 refused, ok GET /admin, right password with one char dropped -> 401 refused, ok GET /admin, right password plus one char -> 401 refused, ok GET /admin, empty password -> 401 refused, ok GET /admin, not base64 -> 401 refused, ok GET /admin, Bearer scheme with the password -> 401 refused, ok GET /admin/anything, no password -> 401 refused, ok POST /admin server action, no password -> 401 refused, ok POST /admin server action, wrong password -> 401 refused, ok GET /admin, right password, user robert -> 500 past the gate, ok (the page ran; its database call failed, as expected) GET /admin, right password, any other user -> 500 past the gate, ok (the page ran; its database call failed, as expected) ## Result PASS: every check above held. exit: 0