What problem does it solve?
This Skill helps you identify common OAuth 2.0 and OpenID Connect misconfigurations that can lead to account takeover, authorization bypass, token misuse, and unsafe redirect handling.
Core Features & Use Cases
- Redirect URI & callback validation review: checks for prefix/path confusion, open redirect chaining, localhost leftovers, and improper redirect binding.
- State, nonce, and session binding testing: validates that
state and OIDC nonce are present, unpredictable, and correctly tied to the user session and ID token.
- PKCE, token exchange, and claim checks: verifies PKCE enforcement for public clients and ensures tokens are checked for correct issuer (
iss) and audience (aud), preventing cross-client reuse.
- Scope and account binding assessment: detects overly broad scopes and callback/account rebinding mistakes that connect attacker identities to victim sessions.
Quick Start
Ask an AI agent to use oauth-oidc-misconfiguration to audit the target’s login flow end to end by testing redirect URI handling, replaying callback parameters with modified state/nonce/redirect_uri, and validating PKCE plus token audience/issuer and account binding behavior.