What problem does it solve?
OAuth and OIDC implementations frequently ship with subtle protocol flaws—missing PKCE enforcement, redirect URI mismatches, mix-up attacks, and improper ID Token validation—that lead to account takeover and token theft. This Skill provides a rigorous, standards-grounded workflow for designing, reviewing, and testing OAuth/OIDC systems against RFC 9700 / BCP 240.
Core Features & Use Cases
- Security design and migration: Establish a security profile, build a transaction ledger of artifact bindings, and migrate away from implicit and resource-owner-password grants.
- Adversarial review and testing: Apply an attack-to-control matrix covering mix-up, code injection, CSRF, token replay, and proxy-header spoofing, with concrete negative test suites for authorization servers, clients, and resource servers.
- OIDC validation: Enforce atomic ID Token validation, exact issuer binding, discovery trust chains, and UserInfo subject matching.
- Use Case: Audit a multi-issuer login system by tracing each flow's state, nonce, and PKCE bindings, then produce a findings report with severity-calibrated attack paths, remediation steps, and closure tests.
Quick Start
Use the secure-oauth-oidc skill to review my OAuth authorization-code flow implementation for RFC 9700 compliance and identify exploitable weaknesses.