2fa-multi-factor-bypass

2fa-multi-factor-bypass is a skill for Claude Code from akashrpatil/awesome-offensive-security-skills. It costs 54 tokens per session (1,596 once invoked), scanned A, a copy of 2fa-multi-factor-bypass, Apache-2.0.

A guide to weaknesses in two-factor or multi-factor authentication, the extra login check used after a password. It focuses on flaws such as reusable tokens, predictable backup codes, and incomplete login-state checks.

In plain words
What is it for?
Auditing SMS, authenticator-app, and email verification flows in web or mobile applications, including response handling, access control, token reuse, and rate limits.
Why use it?
It helps testers find cases where an application appears to require a second factor but accepts a request that skips or weakens it. Use it only within an authorised test scope.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - [`_shared/references/elite-chaining-strategy.md`](../_shared/references/elite-chaining-strategy.md) — Exploit chaining methodology and high-payout chain patte.

Part of the cyberskills-elite plugin — 191 skills shipped together

Good fit Auditing SMS, authenticator-app, and email verification flows in web or mobile applications, including response handling, access control, token reuse, and rate limits.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/akashrpatil/awesome-offensive-security-skills
agentmods
npx agentmods add skills/akashrpatil/awesome-offensive-security-skills/2fa-bypass

Made for: Claude Code.

Or install cyberskills-elite, the plugin that ships this one along with the rest of its 191 skills.

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 2fa-multi-factor-bypass

README.md
[![agentmods](https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/2fa-bypass/github.svg)](https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/2fa-bypass)
Your own site
<a href="https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/2fa-bypass"><img src="https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/2fa-bypass/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 2fa-multi-factor-bypass

Your own site · 80×15
<a href="https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/2fa-bypass"><img src="https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/2fa-bypass.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,596 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 100% copy Near-identical to another mod 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.00054 $0.01596
Opus 5.5 $0.00022 $0.00638
Sonnet 5.5 $0.00011 $0.00319
Haiku 4.5 $0.00005 $0.00160

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

Security

Grade A, and why

2fa-multi-factor-bypass 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/process.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.

Origin

This is a copy

100% identical to 2fa-multi-factor-bypass — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/bug-hunting/logic-flaws/2fa-bypass/SKILL.md · 155 lines

How it starts

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

2FA / MFA Bypass

When to Use

  • When auditing the authentication flow of a web or mobile application that implements SMS, Authenticator App (TOTP), or Email-based 2FA.
  • To demonstrate how an attacker with compromised primary credentials (username/password) might circumvent the secondary layer of defense due to faulty business logic or state management by the server.

Prerequisites

  • Authorized scope and target URLs from bug bounty program
  • Burp Suite Professional (or Community) configured with browser proxy
  • Familiarity with OWASP Top 10 and common web vulnerability classes
  • SecLists wordlists for fuzzing and enumeration

Workflow

Phase 1: Understanding 2FA Implementation Flaws

# Concept: 2FA should be an unbreakable mathematical barrier However, developers often 
# implement the logic Common Flaws :
# 1. Response Manipulation: Altering the server's boolean response .
# 2. Status Code Manipulation: Changing a 401 Unauthorized to a 200 OK 3. Direct Object Reference (Incomplete Auth): Navigating 4. Token Reuse/Predictability: 5. Rate Limit Missing: ```

### Phase 2: Exploitation via Response Manipulation

```http
# Concept: The server sends a boolean indicating if the 2FA code was correct 1. The Intercept (Attacker enters a wrong code: 000000) POST /api/v1/2fa/verify HTTP/1.1
Host: target.com
{"code": "000000"}

# 2. The Original Response HTTP/1.1 401 Unauthorized
{"success": false, "message": "Invalid code"}

# 3. The Manipulation (Using Burp Suite 'Match and Replace' or manual interception )
HTTP/1.1 200 OK
{"success": true, "message": "Authenticated"}

# Result If the frontend exclusively handles the 2FA state ```

### Phase 3: Exploitation via Direct Routing Bypass (State Mismatch)

```http
# Concept: Sometimes, after validating the password the server sets the primary session cookie BEFORE the required 2FA 1. Login POST /login HTTP/1.1
{"username": "victim", "password": "Password1!"}

# Response HTTP/1.1 302 Found
Set-Cookie: session_id=abc123validthing;
Location: /2fa-challenge

# 2. The Bypass Instead of following the redirect GET /dashboard HTTP/1.1
Host: target.com
Cookie: session_id=abc123validthing;

# Result ```

### Phase 4: Exploitation via Token Guessing / Brute Force

```text

Read the full file on GitHub · 155 lines

Files

What ships with it

2 files 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. 2mo ago First seen · 155 lines · 54 tokens per session scan A 76f20d964ae9

Subscribe to this mod's changes

2fa-multi-factor-bypass is a skill published in the GitHub repository akashrpatil/awesome-offensive-security-skills (16 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 54 tokens to every session and 1,596 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to 2fa-multi-factor-bypass, differing in 0 lines, and is treated as a copy.

Related

2fa-multi-factor-bypass compared with skills from other repositories

2fa-multi-factor-bypass next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
2fa-multi-factor-bypassakashrpatil/awesome-offensive-security-skillsSkill166mo agoApache-2.0A54Claude Code
2fa-multi-factor-bypassShulkwiSEC/bb-hugeSkill263mo agoMITA54Claude Code, Codex
cis-aws-foundations-2.10CyberStrikeus/CyberStrikeSkill3.4k4d agoAGPL-3.0A29Claude Code, Codex
cis-aws-foundations-2.5CyberStrikeus/CyberStrikeSkill3.4k4d agoAGPL-3.0A21Claude Code, Codex
cis-aws-foundations-2.6CyberStrikeus/CyberStrikeSkill3.4k4d agoAGPL-3.0A22Claude Code, Codex
cis-aws-database-10.4CyberStrikeus/CyberStrikeSkill3.4k4d agoAGPL-3.0A17Claude Code, Codex
configuring-multi-factor-authentication-with-duo26zl/cybersec-toolkitSkill894d agoMITA44Claude Code