codediag

CodeDiag / Guides

Where auth actually runs

Short guides, each checked against the framework's own docs

Some auth checks look like they protect a route and don't, because the framework runs the route before, or without, the code that checks. Each guide answers one question, shows the failing setup and the fix, and cites the docs that explain why.

Check your own routes

CodeDiag finds the routes in a Next.js, SvelteKit, React Router, Express, Fastify, Hono, Elysia, NestJS, or tRPC app that have no recognizable auth check or input validation. It runs locally and needs no account.

$ npx @sabahattink/codediag scan .