Command Palette

Search for a command to run...

Назад к скиллам
скилл № 26733

MFA / 2FA Bypass Vulnerabilities

Detects insecure multi-factor authentication implementations that can be bypassed.

БесплатноБез исполняемых скриптов
zakirkunот zakirkun★ 40 звёзд на GitHub

Установить MFA / 2FA Bypass Vulnerabilities в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

MFA / 2FA Bypass Vulnerabilities

Overview

Poorly implemented MFA can be bypassed through various techniques:

  1. Client-side MFA check: MFA validation happens in JavaScript that can be disabled
  2. Predictable OTP: TOTP/OTP generated with Math.random() instead of cryptographically secure RNG
  3. Missing MFA enforcement: Endpoints that allow direct access skipping the MFA step
  4. Long-lived OTP: OTP codes valid for too long (> 5 minutes)
  5. No attempt limit on OTP: Brute-forceable OTP codes

Detection Strategy

  • OTP generation using Math.random() or rand() instead of CSPRNG
  • MFA verification that can be bypassed by manipulating the mfa_verified session variable
  • Hardcoded backup codes in source

Remediation

  • Use TOTP (RFC 6238) with a cryptographically secure library like speakeasy or pyotp
  • Validate MFA server-side, never client-side
  • Limit OTP attempts (max 3-5 before requiring restart)
  • Keep OTP validity window to 30-60 seconds

Vulnerable (Node.js):

const otp = Math.floor(Math.random() * 1000000);

Safe (Node.js):

const speakeasy = require('speakeasy');
const token = speakeasy.totp({ secret: user.mfa_secret, encoding: 'base32' });

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • patterns.yaml

FAQ

Что делает скилл MFA / 2FA Bypass Vulnerabilities?

Detects insecure multi-factor authentication implementations that can be bypassed.

Как установить скилл MFA / 2FA Bypass Vulnerabilities?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл MFA / 2FA Bypass Vulnerabilities запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить MFA / 2FA Bypass Vulnerabilities с