This is a routing skill that helps you figure out which authentication or authorization testing path to take before diving deep. It covers the decision tree between login mechanics, object-level access controls, browser trust boundaries, and identity protocols like OAuth, JWT, and SAML. You'd reach for this when facing a login page, API with tokens, or SSO flow and need to triage whether you're dealing with broken authentication, IDOR issues, CSRF problems, or protocol misconfigurations. The skill map links out to seven specialized auth topics, so it's really about making the right first move rather than doing the actual testing. Honest take: it's metacognition as a skill, which is useful if you're new to auth testing or working with a complex surface.

skills.sh installs
3.9K
GitHub stars
2.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add yaklang/hack-skills --skill auth-sec --agent claude-code

Installs into .claude/skills of the current project.

Files

Authentication and Authorization Router

This is the routing entry point for authentication, sessions, and authorization boundaries.

Use it to decide whether the issue is mainly login mechanics, object-level authorization, browser trust boundaries, or identity protocols such as OAuth/JWT/SAML before going deeper.

When to Use

  • The target includes login, registration, password reset, 2FA, sessions, JWT, OAuth, or SSO
  • You suspect object authorization flaws, cross-tenant access, cross-origin reads, CSRF, or protocol misconfiguration
  • You need to decide whether to test authentication or authorization first

Skill Map

Sponsors

Details

Repository
github.com/yaklang/hack-skills
Categories
Backend & APIs, Testing & QA, Security
First seen
May 16, 2026

More from yaklang/hack-skills

All 102
1dotnet avatarconfigure-authdotnet/skillsAdd authentication and authorization to a Blazor Web App, accounting for the app's render mode. USE WHEN the user needs [Authorize] on pages, AuthorizeView, rol3.9Kskills.sh installs
2inngest avatarinngest-middlewareinngest/inngest-skillsUse when adding cross-cutting concerns to durable functions — structured logging or tracing across all functions, error tracking with Sentry, payload encryption3.8Kskills.sh installs
3apollographql avatarapollo-mcp-serverapollographql/skillsGuide for using Apollo MCP Server to connect AI agents with GraphQL APIs. Use this skill when: (1) setting up or configuring Apollo MCP Server, (2) defining MCP3.3Kskills.sh installs
4redis avatarredis-securityredis/agent-skillsRedis security guidance covering authentication (requirepass and ACL users), TLS, ACL-based least-privilege access control, restricting network exposure via bin2.6Kskills.sh installs
5langgenius avatarbackend-code-reviewlanggenius/difyUse only when the user explicitly requests a review or audit of backend code under `api/`. Supports pending-change, file-focused, and pasted-diff reviews. Do no2.1Kskills.sh installs
6onmax avatarnuxt-better-authonmax/nuxt-skillsUse when implementing auth in Nuxt apps with @onmax/nuxt-better-auth - provides useUserSession composable, server auth helpers, route protection, and Better Aut2.1Kskills.sh installs