Dotnet aspnetcore identity authz review

From VincentChuWaiChow/vanguard-frontier-agentic · View interactive version

Dotnet aspnetcore identity authz review is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. Use this skill when reviewing how an ASP.NET Core application authenticates and authorizes requests — authentication schemes, JWT TokenValidationParameters, cookie and session security, policy-based authorization, authorization handlers, claims trust, role-versus-resource authorization, multi-tenant

How to use this skill

Skill file

.NET ASP.NET Core Identity & AuthZ Review

Purpose

This skill reviews how an ASP.NET Core application authenticates and authorizes requests — the boundary that decides who a caller is and what they may do. An auth boundary is only sound if tokens are fully validated, state-changing endpoints are not anonymous, tenant and organization identity is verified server-side against the authenticated principal rather than trusted from client input, cookies carry the right security flags, authorization on owned resources checks ownership and not just role, and negative tests prove that unauthorized requests are actually rejected. The review catches disabled token validation, anonymous mutating endpoints, client-supplied tenant claims, weak cookie flags, role-only authorization on owned resources, missing negative tests, and hand-rolled token validation. It reads source and sanitized configuration only — it never runs the application, mints or inspects tokens, or contacts an identity provider. Generic middleware order is out of scope (the API agent owns that), and EF Core query-level tenant filters are out of scope (the EF Core agent owns those).

Trigger conditions

Lean operating rules

References

Load these only when needed:

Response minimum

Return, at minimum:

  1. Verdict (pass / pass-with-conditions / block)
  2. Evidence level
  3. Findings (severity-labelled: critical / high / medium / low, each with an evidence-basis label)
  4. Safe next actions
  5. Open questions
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.