check-auth · git:20261115.237aa7d · 2026-11-15 · sha256 286d68601a8e6446
check-auth git:20261115.237aa7dA
Immutable. This exact content never changes and is served at /api/v1/blob/286d68601a8e6446.
No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_f2u46ew7eljvx2zs/286d68601a8e64467fdfa4a998f1af892495889d3823bddde270e0b7ccb8476f.json
Then /plugin install check-auth@markdownregistry-f2u46ew7eljvx2zs in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.
--- name: check-auth description: Walks every route and handler in an area and confirms each one checks who the caller is and what they may do. argument-hint: "[route folder, controller or area name]" user-invocable: true disable-model-invocation: true --- Check authentication and authorization for: $ARGUMENTS (all routes if empty). 1. Find the route table or controllers for that area and list every handler with its method and path. 2. For each, record: how the caller is authenticated (middleware, decorator, guard, session check, none), and what authorization is applied (role check, permission, ownership check, none). 3. For handlers that load a record by id, read the query and confirm it is scoped to the caller or tenant. Flag any lookup that uses only the id from the request. 4. Look at the defaults: does a new route get protection automatically, or must someone remember to add it? Flag public routes that were clearly meant to be private (admin, export, internal, debug). 5. Check that checks happen on the server and not only in the UI, and that failures return 401 or 403 rather than empty data. Do not edit code. Report a matrix of route, auth, authz, ownership check, and verdict (ok, weak, missing), with the worst gaps first and a one-line fix each. Ask which gaps to patch.