Langsung ke konten
Skillpedia
Keamanan48k Β· #4892

hunt-oauth

Fungsinya

Alat ini membantu menemukan celah keamanan pada sistem login yang menggunakan OAuth. Alat ini mencari cara untuk mengakses akun pengguna lain atau melewati proses login.

Kapan dipakai

  • βœ“Saat menguji keamanan website atau aplikasi yang memakai login media sosial (Google, Facebook, dan lainnya).
  • βœ“Saat Anda memiliki izin untuk mencari celah keamanan pada sistem autentikasi.
  • βœ“Untuk memahami bagaimana celah pada sistem login bisa dieksploitasi.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-oauth/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-oauth/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œCari celah keamanan login di example.com yang menggunakan OAuth.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Alat ini memeriksa jalur kode dan respons server yang menangani proses login OAuth. Alat ini mencari pola error yang diketahui dan bisa dieksploitasi.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.

Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:

  1. Ask the user to state the exact target URL, IP, account, or resource.
  2. Ask the user to confirm written authorization and the permitted scope.
  3. Show the exact command(s) and explain their expected effect.
  4. Wait for explicit confirmation in the current conversation.

Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.

Crown Jewel Targets

OAuth vulnerabilities are among the highest-value bug classes in web security because they directly enable account takeover, session theft, and authentication bypass β€” the trifecta that programs pay most for.

Highest-value targets:

  • Consumer identity providers (Google, Facebook, PayPal, Apple SSO integrations) β€” any compromise cascades across all relying parties
  • Mobile apps with custom deep link OAuth handlers β€” Android/iOS intent handling is notoriously loose
  • Multi-tenant SaaS platforms (GitLab, Reddit-scale apps) where one OAuth flaw hits millions of accounts
  • Gaming/entertainment platforms with federated login (Rockstar, Oculus) β€” often security-immature teams
  • Enterprise SSO connectors β€” critical infrastructure, high severity payouts

Asset types that pay most:

  • OAuth authorization endpoints (/oauth/authorize, /connect/authorize)
  • Token exchange endpoints (/oauth/token)
  • Mobile deep link handlers (push_notification_webview, custom scheme URIs)
  • Social login callback handlers (/auth/callback, /oauth/callback)

Typical payouts: $500–$20,000+ depending on program; account takeover findings often hit max bounty.


Attack Surface Signals

URL Patterns to Hunt

/oauth/authorize
/oauth/token
/connect/authorize
/auth/callback
/oauth/callback
/login?redirect_uri=
/signin?next=
/auth?return_to=
/oauth/redirect
/push_notification_webview

Response Headers That Signal OAuth

Location: https://accounts.example.com/oauth/...
Set-Cookie: oauth_state=
WWW-Authenticate: Bearer
Content-Type: application/json (with access_token in body)

JavaScript Patterns (grep in JS bundles)

redirect_uri
client_id
response_type=code
response_type=token
state=
nonce=
oauth_token
access_token
push_notification_webview
deeplink
intent://

Tech Stack Signals

  • Android apps with intent-filter in AndroidManifest.xml handling http:// or custom scheme URIs
  • Apps using Doorkeeper, OmniAuth, Devise (Ruby), Passport.js (Node), Spring Security OAuth
  • Social login buttons (Google, Facebook, Apple) = OAuth surface guaranteed
  • .well-known/openid-configuration present = full OIDC surface available

Step-by-Step Hunting Methodology

  1. Enumerate all OAuth entry points

    • Spider the app for /oauth, /connect, /auth, /login paths
    • Check .well-known/openid-configuration and .well-known/oauth-authorization-server
    • Decompile mobile APKs: apktool d app.apk and grep for redirect_uri, intent://, deep link schemes
  2. Map the full OAuth flow

    • Capture the authorization request: note client_id, redirect_uri, state, nonce, response_type
    • Capture the callback: note where tokens/codes land, what validates state/nonce
  3. Test redirect_uri validation (highest yield)

    • Try exact host bypass: redirect_uri=https://legit.com.evil.com
    • Try path traversal: redirect_uri=https://legit.com/callback/../../../evil
    • Try open redirects on the legitimate domain first, then chain into OAuth
    • Try parameter pollution: redirect_uri=https://legit.com&redirect_uri=https://evil.com
    • Try encoded characters: %2F, %40, %23 to confuse parsers
  4. Test state parameter (CSRF)

    • Remove state entirely β€” does the flow complete?
    • Reuse a fixed state value across sessions
    • Check if state is validated server-side or only client-side
  5. Test nonce parameter (replay/bypass)

    • Capture a nonce from one flow, attempt to replay it in another
    • Check if nonce is validated after token exchange

…

Pertanyaan umum

Apa itu OAuth?

OAuth adalah standar yang memungkinkan aplikasi mengakses informasi dari aplikasi lain atas nama Anda, tanpa perlu membagikan kata sandi Anda. Ibaratnya seperti memberi kunci sementara untuk layanan tertentu, bukan kunci utama.

Apa itu celah keamanan OAuth?

Celah ini adalah kelemahan dalam sistem OAuth yang bisa memungkinkan penyerang mengakses akun Anda, mencuri sesi Anda, atau melewati login sepenuhnya.

Apakah saya perlu izin untuk menggunakan alat ini?

Ya, sangat penting untuk memiliki izin tertulis yang jelas dari pemilik sistem sebelum menggunakan alat ini. Menggunakannya tanpa izin adalah tindakan ilegal.

Detail

Deskripsi asli dari pembuat

Hunting skill for oauth vulnerabilities. Built from 19 public bug bounty reports. Use when hunting oauth on any target.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#4892
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa