otp-bruteforce-testing

otp-bruteforce-testing is a skill for Claude Code, Codex from SecurityTalent/bugskill-ai. It costs 103 tokens per session (1,948 once invoked), scanned A, original, MIT.

A security test for whether numeric one-time passwords, or OTPs, can be guessed through repeated attempts. OTPs are short codes sent by phone or email for verification, sign-in, password recovery, or transaction approval.

In plain words
What is it for?
Use it in authorized tests of phone and email verification, multi-factor authentication, account recovery, and transaction-confirmation endpoints.
Why use it?
It finds missing protections such as attempt limits, lockouts, short code lifetimes, or responses that reveal when a guess is correct.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it in authorized tests of phone and email verification, multi-factor authentication, account recovery, and transaction-confirmation endpoints.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/securitytalent/bugskill-ai/otp-bruteforce-testing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SecurityTalent/bugskill-ai --skill otp-bruteforce-testing
Clone the repo
git clone --depth 1 https://github.com/SecurityTalent/bugskill-ai

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for otp-bruteforce-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/otp-bruteforce-testing/github.svg)](https://agentmods.dev/skills/securitytalent/bugskill-ai/otp-bruteforce-testing)
Your own site
<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/otp-bruteforce-testing"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/otp-bruteforce-testing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for otp-bruteforce-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/otp-bruteforce-testing"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/otp-bruteforce-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,948 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00103 $0.01948
Opus 5.5 $0.00041 $0.00779
Sonnet 5.5 $0.00021 $0.00390
Haiku 4.5 $0.00010 $0.00195

Measured 3mo ago against content hash f662d38517b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

otp-bruteforce-testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/otp_bruteforce.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Personal-Claude-Code-Agent-Skills/otp-bruteforce-testing/SKILL.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OTP Brute-Force Testing

Validate whether an OTP verification endpoint can be brute-forced: unlimited attempts, no lockout, long TTL, weak entropy, or a response oracle that reveals the correct code. Targets must be within the scope of the engagement you are authorized to test.

When to use

  • Phone/email verification flows (e.g., "add phone number to profile")
  • MFA / 2FA challenge steps and login-by-OTP
  • Password reset and account recovery
  • Transaction confirmation (payments, withdrawals, admin actions)
  • Any endpoint that accepts a 4-8 digit numeric code and returns success/failure

Core attack pattern (reference: HackerOne #3265780, CoinMate.io)

  1. Trigger an OTP challenge, submit any code, and intercept the verification request (Burp proxy).
  2. Brute-force the OTP space (100000–999999) with Burp Intruder or the bundled script.
  3. Detect the valid OTP via a response oracle — in the CoinMate case, the response containing a valid OTP had a Content-Length of 961 bytes vs. ~150 for failures.
  4. Replay the original intercepted request with the recovered OTP to complete the operation (the phone number is added to the profile).
  5. Chain the impact: attacker-controlled phone number on the account → the number receives login/reset OTPs → account takeover.

Phase 0 — Recon the OTP flow

  • Map all OTP-issuing and OTP-verifying endpoints; note parameter names (otp, code, token, verificationCode), length (4/6/8 digits), format.
  • Check whether the code is ever returned in responses, logs, or debug headers.
  • Check OTP entropy: sequential, timestamp-derived, or weak-PRNG codes have a much smaller candidate space than the nominal digit range.
  • Note whether the same OTP is reusable across accounts or across flows (verify vs. reset vs. login).

Phase 1 — Baseline and response-oracle discovery

Send 10–20 wrong OTPs plus 1 valid OTP and diff the responses. Use the script's probe mode to inspect a single attempt:

Read the full file on GitHub · 153 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 153 lines · 103 tokens per session scan A f662d38517b3

Subscribe to this mod's changes

otp-bruteforce-testing is a skill published in the GitHub repository SecurityTalent/bugskill-ai (13 stars, last pushed 2mo ago), licensed MIT. It adds 103 tokens to every session and 1,948 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

otp-bruteforce-testing compared with skills from other repositories

otp-bruteforce-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
otp-bruteforce-testingSecurityTalent/bugskill-aiSkill132mo agoMITA103Claude Code, Codex
user-research-cookiycookiy-ai/user-research-skillSkill1.6k21d agoMITA154Claude Code, Codex
playwright-best-practicescurrents-dev/playwright-best-practices-skillSkill44825d agoMITA214Claude Code, Codex
email-marketing-bibleCosmoBlk/email-marketing-bibleSkill39221d agoMITA195Claude Code
globalpercentsimonlin1212/globalpercentSkill791mo agoApache-2.0A134Claude Code, Codex
ui-ux-design-prosaifyxpro/ui-ux-design-pro-skillSkill1112mo agoMITA117Claude Code
distribution-patternsgarrettw/php-arch-skillsSkill172d agoMPL-2.0A91Claude Code, Codex