dragonked2/alphacode/hunt-otp
Claude Code and agent skill by dragonked2/alphacode
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
OTP / MFA bypass — response tampering, code brute force, race conditions, null/123456 codes, weak entropy, response leakage, account linking, OTT flows. Pairs with hunt-auth-bypass, hunt-race, credential-attack.
Install
npx vskill@latest install dragonked2/alphacode/hunt-otpSKILL.md
OTP & MFA BYPASS — Advanced Guide
Core: OTP/MFA is only as strong as the verification decision. Every bypass in the wild reduces to four attack surfaces: (1) the code value, (2) the comparison, (3) the delivery/flow state, (4) the rate limit. Test all four before concluding MFA is solid.
1. CODE VALUE ATTACKS
Null / Predictable / Default Values
- Some backends initialize the pending-OTP field as empty/
0000. If verification is implemented as "input matches stored", an unset field matches empty input. - Sequential generation: request several OTPs to yourself with different accounts; check for incrementing or timestamp-derived codes (e.g. TOTP-style 30s windows, or
hash(user+minute)).
Weak Entropy
2. COMPARISON / RESPONSE ATTACKS
Response Manipulation (client-side gate)
- Works when the next page is rendered client-side from the response. Confirm server-side: replay the authenticated request directly — if you keep the session and can call
/api/profile, only the UI was enforcing MFA.
Code Leakage in Response
- Also check: password-reset endpoint with
?debug=1, response to your own flow after changingX-Forwarded-For,User-Agent, or the request body's user id — some templates leak the OTP when the "session" doesn't match a strict server-side check.
Brute Force (when they removed the limit)
- Watch for
X-Rate-Limitheaders only counting windows, not attempts, and rate limits keyed on IP (rotate viaX-Forwarded-Forwhen the backend trusts it).
3. FLOW / STATE ATTACKS
Skipping the Second Step
- Variants: response of step 1 contains the final token; login sets
authenticated=1; OTP verify only renders a second screen.
OTP Caching Across Accounts / Flows
Reset vs Login Flow Confusion
4. RATE-LIMIT & VERIFICATION-BYPASS HEADERS
- When a per-account limit exists but per-IP limits are keyed on these headers, rotate them.
- Also try verify endpoint method change (GET/POST/PATCH), content-type flip (json→xml→form), or duplicate body params (
{"otp":"111111","otp":"159753"}) — some stacks parse the last/first only, while the limiter saw the first.
5. RACE CONDITION (single-attempt OTP)
- Single-use OTPs defeated by sending 5-10 verify requests simultaneously (race window on "mark as used"). Use Turbo Intruder gate mode; pair with
hunt-race.
REPORTING CHECKLIST
- Reproduce with curl (no client manipulation required for server-side bugs; client-side gates also count but must show server impact).
- Reset ALL artifacts between tests (new email address, fresh session) so the fix can be differentiated from caching.
- State precisely which layer was bypassed: code generation, code validation, flow control, or rate limiting.
- Show evidence notes: exact code/response pairs — these must be reproduced in report writing; no inferred "should work".
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/alphacode_base/bundled_skills/bugbounty/hunt-otp/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dragonked2/alphacode/hunt-otp)