hunt-oauth
Originally fromh-mmer/pentest-agents
Installation
SKILL.md
When to Use
- Hunting oauth on any target.
Prerequisites
- Explicit authorization, target boundaries, and rate limits for the target.
- Tooling:
curl,playwright,python3. - A writable evidence directory:
export OUTPUT_DIR="${OUTPUT_DIR:-./output}" && mkdir -p "$OUTPUT_DIR". - For any state-changing step (writes, uploads, credential attempts), obtain explicit confirmation immediately before the command.
How to Run
# Step 1: Initiate OAuth flow, capture state value
# Step 2: Drop request, use attacker account's link with victim's session
curl --max-time 30 --connect-timeout 10 -v "https://target.com/oauth/authorize?client_id=APP&redirect_uri=https://target.com/cb&response_type=code&state=FIXED_VALUE"