hunt-forgot-password
하는 일
이 도구는 웹사이트의 비밀번호 복구 기능이 안전한지 확인하도록 돕습니다. 공격자가 사용자의 계정 정보를 쉽게 알아내거나 비밀번호 복구를 통해 무단으로 접근할 수 있는지 테스트합니다.
사용하는 경우
- ✓허가를 받고 웹사이트 보안을 테스트할 때.
- ✓비밀번호 복구를 이용해 계정을 훔칠 수 있는지 확인할 때.
- ✓사이트가 비밀번호 분실을 처리하는 방식의 결함을 찾을 때.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hunt-forgot-password/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“example.com의 비밀번호 복구 보안을 확인해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
도구는 비밀번호 복구 페이지에 여러 유형의 요청을 보냅니다. 응답을 비교해 어떤 이메일이 존재하는지 알아낼 수 있는지, 또는 복구 코드를 재사용하거나 쉽게 얻을 수 있는지 확인합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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.
…
자주 묻는 질문
이 도구를 사용하려면 왜 허가가 필요한가요?
허가 없이 보안 테스트 도구를 사용하는 것은 불법입니다. 이 도구는 보안 약점을 테스트하며, 명시적으로 승인받은 시스템에서만 사용해야 합니다.
'사용자 이름 열거(username enumeration)'란 무엇인가요?
시스템에서 어떤 사용자 이름이나 이메일이 유효한지 알아내는 것입니다. 비밀번호 복구가 유효한 이메일과 그렇지 않은 이메일에 대해 다른 응답을 주면, 이를 이용해 사용자 목록을 만들 수 있습니다.
'재설정 토큰(reset token)'이란 무엇인가요?
비밀번호를 잊었을 때 이메일로 보내지는 임시 코드로, 새 비밀번호를 설정할 수 있게 합니다. 도구는 이 코드가 안전한지, 재사용하거나 추측할 수 있는지 확인합니다.
상세 정보
작성자의 원본 설명
Hunt Forgot Password / Account Recovery Authentication Flaws
인기도
- GitHub 스타
- 48k
- 순위
- #4873
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.