$npx -y skills add ShulkwiSEC/bb-huge --skill auth-secEntry P1 category router for authentication and authorization. Use when testing login flows, sessions, object authorization, JWT, OAuth, CORS, CSRF, and enterprise SSO weaknesses before any deeper auth topic skill.
| 1 | # Authentication and Authorization Router |
| 2 | |
| 3 | This is the routing entry point for authentication, sessions, and authorization boundaries. |
| 4 | |
| 5 | 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. |
| 6 | |
| 7 | ## When to Use |
| 8 | |
| 9 | - The target includes login, registration, password reset, 2FA, sessions, JWT, OAuth, or SSO |
| 10 | - You suspect object authorization flaws, cross-tenant access, cross-origin reads, CSRF, or protocol misconfiguration |
| 11 | - You need to decide whether to test authentication or authorization first |
| 12 | |
| 13 | ## Skill Map |
| 14 | |
| 15 | - [Authentication Bypass](../authbypass-authentication-flaws/SKILL.md): login bypass, password reset, 2FA, enumeration, brute-force protections |
| 16 | - [IDOR Broken Object Authorization](../idor-broken-object-authorization/SKILL.md): IDOR, BOLA, BFLA, missing object permissions |
| 17 | - [JWT OAuth Token Attacks](../jwt-oauth-token-attacks/SKILL.md): algorithm confusion, key trust issues, claim abuse, token forgery |
| 18 | - [OAuth OIDC Misconfiguration](../oauth-oidc-misconfiguration/SKILL.md): redirect URI, state, nonce, PKCE, account binding |
| 19 | - [CSRF Cross Site Request Forgery](../csrf-cross-site-request-forgery/SKILL.md): CSRF tokens, SameSite, JSON CSRF, login CSRF |
| 20 | - [CORS Cross Origin Misconfiguration](../cors-cross-origin-misconfiguration/SKILL.md): reflected Origin, credentialed cross-origin reads, allowlist bypass |
| 21 | - [SAML SSO Assertion Attacks](../saml-sso-assertion-attacks/SKILL.md): assertion wrapping, signature validation, audience, ACS boundaries |
| 22 | |
| 23 | ## Recommended Flow |
| 24 | |
| 25 | 1. First confirm the authentication model and session boundaries |
| 26 | 2. Then confirm object-level and function-level authorization |
| 27 | 3. Then move to token, cross-origin, and protocol details |
| 28 | 4. If enterprise federation exists, continue with OAuth, OIDC, or SAML topics |
| 29 | |
| 30 | ## Related Categories |
| 31 | |
| 32 | - [api-sec](../api-sec/SKILL.md) |
| 33 | - Default credentials, username variants, wordlist sizing, and port focus are consolidated in [authbypass-authentication-flaws](../authbypass-authentication-flaws/SKILL.md) |