Skip to content
Back to skills

Check Auth

ASecurity

Walks every route and handler in an area and confirms each one checks who the caller is and what they may do.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 15, 2026
ai-agents

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add workspace-templates/ai-agent-templates --skill check-auth --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Check Auth?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Check Auth
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/workspace-templates-check-auth/badge)](https://www.skillsdirectory.com/skills/workspace-templates-check-auth)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.