hunt-oauth

Guide enumeration and testing of OAuth authorization, callback, token, and mobile deep link surfaces.

1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/jellaharshith/SWIFT --skill hunt-oauth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-oauth
Source: https://github.com/jellaharshith/SWIFT/tree/main/swift/skills/cbh/skills/hunt-oauth
Command: npx skills add https://github.com/jellaharshith/SWIFT --skill hunt-oauth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you systematically hunt OAuth vulnerabilities that can lead to OAuth-based account takeover, session theft, and authentication bypass.

Core Features & Use Cases

  • End-to-end OAuth flow mapping: Identify authorization endpoints, token exchange behavior, callback handling, and state/nonce usage across browser and mobile surfaces.
  • High-yield vulnerability testing: Validate redirect_uri, test state CSRF weaknesses, check nonce replay/verification, and verify token endpoint completeness for prerequisite auth steps.
  • Token/code exfiltration hunting: Detect referrer leakage and mobile deep link paths that redirect OAuth flows into attacker-controlled destinations.
  • Built for real-world bug bounty hunting: Prioritize common OAuth/OIDC endpoints, common JS/APK signals, and frequent misconfiguration root causes.

Quick Start

Use hunt-oauth to produce an OAuth hunting plan for a target domain by instructing the AI to test redirect URI validation, state binding, and callback token leakage while focusing on the app’s browser and mobile deep link handlers.

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 weaknesses for account takeover?

To test OAuth redirect_uri validation weaknesses, map the authorization and callback endpoints to identify weak validation, then validate if attacker-controlled destinations can intercept token or code exfiltration flows.

What is state CSRF in OAuth and how does it enable session theft?

State CSRF in OAuth occurs when the state parameter is missing or unvalidated, allowing attackers to forge authorization requests and hijack victim sessions through forced callback authentication.

How do I hunt OAuth vulnerabilities across mobile deep link surfaces?

Hunting OAuth vulnerabilities across mobile deep links requires enumerating deep link handlers to detect paths that redirect OAuth flows into attacker-controlled destinations, verifying token and code exfiltration risks.

How do I check for nonce replay and referrer leakage in OIDC flows?

Checking for nonce replay and referrer leakage in OIDC flows involves testing callback pages for header leakage and verifying if the token endpoint fails to reject reused nonce values during authentication.

Does this OAuth hunting methodology apply to prerequisite-auth bypass at token endpoints?

Yes, this OAuth hunting methodology applies to prerequisite-auth bypass by verifying token endpoint completeness and checking if required authentication steps can be skipped during the token exchange process.

When should I not use a stepwise OAuth vulnerability testing approach?

You should not use a stepwise OAuth vulnerability testing approach when concrete validation gates cannot confirm exploitability before reporting, as deterministic discovery inputs and explicit attack-surface signals are required.