hunt-forgot-password
Fungsinya
Tool ini membantu memeriksa apakah fitur pemulihan kata sandi sebuah website sudah aman. Tool ini menguji apakah penyerang dapat dengan mudah menemukan informasi akun pengguna atau mendapatkan akses tidak sah melalui fitur pemulihan kata sandi.
Kapan dipakai
- βSaat menguji keamanan website dengan izin.
- βUntuk memeriksa apakah fitur pemulihan kata sandi bisa dimanfaatkan untuk mencuri akun.
- βUntuk menemukan celah dalam cara situs menangani kata sandi yang terlupakan.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-forgot-password/SKILL.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βPeriksa keamanan fitur pemulihan kata sandi di example.comβ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Tool ini mengirimkan berbagai jenis permintaan ke halaman pemulihan kata sandi. Respons yang diterima kemudian dibandingkan untuk melihat apakah tool dapat mengetahui email mana yang terdaftar, atau apakah kode pemulihan bisa digunakan ulang atau mudah didapatkan.
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:
- Ask the user to state the exact target URL, IP, account, or resource.
- Ask the user to confirm written authorization and the permitted scope.
- Show the exact command(s) and explain their expected effect.
- 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.
Autonomous Testing Priority
Start with username enumeration β it's the fastest win and gates the rest.
Pattern 1 β Username enumeration (response difference for valid vs invalid email):
- POST to the forgot-password endpoint with a clearly invalid email (e.g.
nonexistent@fakedomain12345.com) β record the response body, status code, and length - POST with an email you know exists (or try common patterns like
admin@target.com,test@target.com,user@target.com) - Compare responses: different message ("Email sent" vs "Email not found"), different HTTP status, or meaningfully different body length = username enumeration confirmed
- Proof: enumeration is confirmed when the two responses differ measurably (baseline vs probe) in message text, status code, or body length
Pattern 2 β Reset token exposed in the API response: Some APIs return the reset token directly in the response body (instead of only emailing it). POST to the forgot-password endpoint and look for a token, link, or code in the JSON/HTML response. If a token appears that lets you reset the password, that's an immediate account-takeover vector.
Pattern 3 β Reset token replay (reuse after use):
- Complete a full password reset cycle: request token β use it to reset password
- Immediately try submitting the same token again to the reset-password endpoint
- If the second submission returns 200 or "success" β token not invalidated after use
Pattern 4 β No rate limit on reset requests: Submit the forgot-password endpoint 10-20 times rapidly with the same email. If all succeed without a 429, lockout, or CAPTCHA β no rate limit (enumeration + token flooding is possible).
Content-type: Forgot-password endpoints are often JSON-based REST APIs. Use application/x-www-form-urlencoded only if the endpoint is a traditional HTML form (check the login page's HTML to determine form encoding).
Proof: Username enumeration = measurably different response (body/status/length). Token exposure = token in response body. Token replay = second successful use of a consumed token.
Vulnerability Classes in This Skill
1. Username Enumeration via Password Reset
Different error messages for valid vs invalid accounts leaks the user list without authentication. Even timing differences (fast "no user found" vs slow "email queued") count.
High-value targets: admin accounts, employee email patterns, API keys derived from usernames.
2. Weak / Predictable Reset Tokens
A reset token derived from timestamp, username, or sequential IDs can be brute-forced:
base64(email + timestamp)β decodable- 4-6 digit numeric code β 10K guesses, easily feasible with no rate limit
- Sequential
token=1234,token=1235β trivially enumerable
3. Token Not Bound to Session or IP
Most apps generate a token, email it, and accept it from any browser. A truly bound token should only work from the same IP or require the original session cookie. If neither is enforced β link forwarding = account takeover.
Token leak via Referer / third-party resources. When the token rides in the reset-page URL (/reset?token=β¦) and that page loads any cross-origin resource (analytics, ads, fonts, a CDN image), the full URL β token included β leaks to that third party in the Referer header. Check the reset page's outbound requests: if the token appears in any cross-origin Referer, it's harvestable without the victim's inbox. Same leak via a <meta name=referrer> misconfig or an outbound link the victim clicks from the reset page. Disclosed token-leakβATO class: https://hackerone.com/reports/173551.
β¦
Pertanyaan umum
Mengapa saya perlu izin untuk menggunakan ini?
Menggunakan tool pengujian keamanan tanpa izin adalah tindakan ilegal. Tool ini menguji celah keamanan dan hanya boleh digunakan pada sistem yang Anda miliki izin eksplisit untuk mengujinya.
Apa itu 'username enumeration'?
Itu adalah cara mengetahui username atau email mana saja yang valid di suatu sistem. Jika fitur pemulihan memberikan respons yang berbeda untuk email yang valid dan tidak valid, celah ini bisa dimanfaatkan untuk membuat daftar pengguna.
Apa itu 'reset token'?
Reset token adalah kode sementara yang dikirim ke email Anda saat lupa kata sandi. Kode ini memungkinkan Anda membuat kata sandi baru. Tool ini memeriksa apakah kode tersebut aman dan apakah bisa digunakan ulang atau ditebak.
Detail
Deskripsi asli dari pembuat
Hunt Forgot Password / Account Recovery Authentication Flaws
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #4873
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
reverse-engineer-anything
422kMembantu agent Anda memeriksa aplikasi dan paket yang sudah dirilis untuk menjelaskan fitur, membandingkan versi, atau memandu pembangunan ulang dengan alat REA.
1password
394kMembantu agent Anda mengatur CLI 1Password, masuk, serta membaca atau menyisipkan rahasia tanpa menampilkan nilainya di chat.
healthcheck
394kMembantu agent Anda mengaudit komputer atau server OpenClaw dari risiko keamanan seperti SSH, firewall, pembaruan, dan cadangan, lalu menyarankan perbaikan aman.