/descope-skills:auth-reviewfrom descope-skills
Static security review of authentication and authorization vulnerabilities. Enumerates endpoints, builds authorization matrix, applies vulnerability catalog, and writes triage report.
Ships in descope-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Perform a static, read-only security review of authentication and authorization in the current codebase. Framework- and vendor-agnostic. Output: a triage report in ./auth-review/ with findings ready to file as issues or PRs.
/auth-review.Run these phases in order. Do not skip ahead.
Identify every code path reachable by an external or semi-trusted caller. See references/enumeration.md for exhaustive patterns. A single repo often mixes HTTP, GraphQL, WebSocket, queue consumers, serverless handlers, and admin CLIs — list them all.
Deliverable: an Endpoint Inventory table: method, path / trigger, handler (file:line), auth required? (y/n/unknown), roles or scopes, notes.
Reconcile against router files, OpenAPI specs, and GraphQL schemas before moving on.
For each endpoint answer: who should reach this, and what does the code actually enforce? Use references/authz-matrix.md to infer the expected principal from conventions and classify gaps.
Deliverable: an Authorization Matrix table: endpoint, expected principal, enforced check (file:line), gap.
Walk references/vulnerability-catalog.md category by category. For each, run the detection heuristics, then read the matched files to confirm. Never flag from a grep hit alone.
Before calling a check missing, confirm no upstream middleware, decorator, guard, filter, interceptor, framework default, or reverse proxy enforces it. Trace at least one concrete caller path end-to-end for each finding. If a check is conditional, record the condition and whether an attacker controls it.
Create ./auth-review/ if absent. Write to ./auth-review/report-YYYY-MM-DD.md (append -HHMM if one already exists for today). Use the structure in references/report-template.md.
The report must include:
file:line, evidence, exploit reasoning, remediation.After writing, summarize severity counts to the user and point at the file path. Do not create issues or PRs.
| Level | Meaning |
|---|---|
| High | Exploitable by unauthenticated or low-privilege attacker; leads to account takeover, data breach, privilege escalation, or tenant crossing. |
| Medium | Requires specific conditions, partial impact, or defense-in-depth failure. |
| Low | Hardening recommendation; minor information disclosure; missing best practice. |
Always include a CWE ID (e.g., CWE-287, CWE-639, CWE-862, CWE-863). Use identifiers from references/vulnerability-catalog.md — do not invent IDs.
file.ext:line reference and evidence snippet.[REDACTED].references/enumeration.md — entrypoint patterns across HTTP, GraphQL, WebSocket, RPC, serverless, and background stacks.references/vulnerability-catalog.md — full taxonomy with detection heuristics, CWE IDs, and fixes.references/authz-matrix.md — matrix schema and expected-principal inference rules.references/report-template.md — exact report structure and issue-body format.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
auth-audit, access-control, idor, bola, vulnerability-scanner
14 skills in this plugin
/auth0-to-descopeUse this skill whenever anyone asks about migrating from Auth0 to Descope — whether they're a developer doing it themselves or a technical lead evaluating the move. Triggers on: "how do I migrate from Auth0", "replace Auth0 with Descope", "we're moving off Auth0", "Auth0 to Descope", "switch from Auth0", "our app uses express-openid-connect / nextjs-auth0 / auth0-fastapi / other Auth0 SDK and we want to use Descope instead", or any question about Auth0 features (Actions, FGA, Organizations, Token Vault, CIBA) in the context of Descope. Works for any language or framework with a Descope SDK. Always use this skill before producing migration guidance — do not rely on memory alone.
/azure-ad-b2c-to-descopeUse this skill whenever anyone asks about migrating from Azure AD B2C (Azure Active Directory B2C) to Descope — whether they're a developer doing it themselves or a technical lead evaluating the move. Triggers on: "migrate from Azure AD B2C", "replace Azure B2C with Descope", "we're moving off B2C", "B2C end of sale", "Azure AD B2C to Descope", "our app uses @azure/msal-browser / @azure/msal-react / @azure/msal-angular / @azure/msal-node / Microsoft.Identity.Web / passport-azure-ad with b2clogin.com and we want to use Descope instead", or any question about B2C features (user flows, custom policies / Identity Experience Framework, API connectors, b2c-extensions-app custom attributes, identity providers, ROPC, embedded sign-in, scp claim) in the context of Descope. Works for any language or framework with a Descope SDK. Always use this skill before producing migration guidance — do not rely on memory alone.
npx claudepluginhub descope/skills --plugin descope-skillsOther plugins' skills for the same job