hunt-oauth

Validates OAuth 2.0 and OIDC flows against owned test clients with evidence-gated checks.

10|3|Updated Aug 10, 2026
One-click install
npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill hunt-oauth-baiqigo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-oauth
Source: https://github.com/baiqigo/baiqi-redteam-lab/tree/main/.agents/skills/hunt-oauth
Command: npx skills add https://github.com/baiqigo/baiqi-redteam-lab --skill hunt-oauth-baiqigo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? OAuth and OIDC implementations often hide subtle flaws in redirect URI validation, state/nonce binding, PKCE enforcement, and token audience checks, and unstructured testing produces false positives or inconclusive results. This Skill provides a disciplined, evidence-gated workflow for verifying these controls on your own authorized clients and callback domains. ## Core Features & Use Cases - Protocol Modeling: Builds a baseline model of issuer, client_id, grant type, redirect URI allowlist, state/nonce, PKCE, and token audience by capturing a real authorization flow via Chrome or Burp. - Minimal Single-Variable Verification: Tests registered callback path/encoding/fragment variants, cross-session state/nonce/PKCE binding, and audience/issuer/account-linking rejection logic using only owned test clients. - Evidence and Triage Discipline: Records sanitized authorization timelines, per-parameter differential evidence, and routes related findings to SAML, session, or open-redirect specialist flows. - Use Case: During an authorized assessment of your own web application's social login, use this Skill to verify whether a modified callback path is strictly rejected and whether the state parameter is correctly bound to the initiating session. ## Quick Start Ask the agent to run the hunt-oauth flow against your own registered OAuth test client and callback domain to verify redirect URI, state, and PKCE enforcement.

Frequently Asked Questions about hunt-oauth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test OAuth redirect URI validation securely?

Test redirect URI validation by modifying one registered callback's path, encoding, or fragment variant at a time and checking whether the server strictly rejects unregistered variants. Only use your own registered test clients and callback domains, never third-party clients or phishing redirects.

How to verify PKCE and state parameter binding in OAuth flows?

Verify PKCE and state binding by running two independent sessions you own and confirming the state, nonce, and code challenge are bound to the initiating session and authorization code. Cross-session completion of code or token exchange indicates a real flaw.

What counts as a valid OAuth vulnerability versus a false positive?

A valid finding is an unregistered controlled callback being accepted or code/token/account binding completing across separate owned sessions, reproducibly. Public client_ids, generic login errors, CAPTCHAs, WAF blocks, and exact allowed redirect URIs are not vulnerabilities.

Can I use this OAuth testing approach on third-party identity providers?

No, this workflow strictly requires owned or explicitly authorized test clients, callback domains, and test accounts. Testing that requires external victim authorization, token exfiltration, or out-of-scope identity providers is an explicit stop condition.

Why does OAuth testing return inconclusive results behind a WAF or login wall?

CAPTCHAs, WAF rules, rate limiting, and login walls block observation of the underlying authorization logic, so results are marked inconclusive rather than treated as vulnerabilities. Establish a clean baseline of host, identity state, and path before drawing conclusions.