Authentication Bypass

Detects authentication and session management vulnerabilities in application source code.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/kaminocorp/hermes-alpha-hunter --skill authentication-bypass-kaminocorp
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Authentication Bypass
Source: https://github.com/kaminocorp/hermes-alpha-hunter/tree/main/hunter/skills/security/auth-bypass
Command: npx skills add https://github.com/kaminocorp/hermes-alpha-hunter --skill authentication-bypass-kaminocorp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Security reviews of login flows, JWT handling, sessions, password resets, OAuth, and 2FA are easy to do incompletely, leaving exploitable authentication flaws undetected in application code. ## Core Features & Use Cases - Auth System Mapping: Uses grep patterns to locate login flows, auth middleware, and the underlying strategy (JWT, session, OAuth, SAML, LDAP) across JavaScript, TypeScript, Python, Ruby, and Java codebases. - Vulnerability Checklists: Covers JWT algorithm confusion, weak secrets, missing expiration, session fixation, insecure cookies, predictable password reset tokens, OAuth redirect_uri abuse, and 2FA bypass techniques. - Use Case: While auditing a Node.js API, run the JWT checks to discover that jwt.verify accepts the 'none' algorithm and that logout never invalidates tokens, then report both as exploitable findings. ## Quick Start Audit this repository for authentication and session management vulnerabilities, focusing on JWT verification, password reset tokens, and OAuth callback validation.

Frequently Asked Questions about Authentication Bypass

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find JWT vulnerabilities in source code?▼

Search for jwt.verify and jwt.decode calls, then check whether algorithms are explicitly restricted, secrets are hardcoded or weak, and tokens have expiration set. Accepting the 'none' algorithm or omitting the algorithms option allows algorithm confusion attacks.

How to audit password reset functionality for security flaws?▼

Locate reset token generation and check for predictability, reuse, expiry, rate limiting, and email enumeration. Tokens derived from user data like MD5 of an email are predictable; use cryptographically random tokens such as secrets.token_urlsafe.

What OAuth misconfigurations should a security review check?▼

Check redirect_uri validation for open redirect injection, presence of the state parameter to prevent CSRF, client secrets exposed in frontend code, token leakage via URL fragments, and scope escalation beyond intended permissions.

Does this approach work on Python and Ruby codebases?▼

Yes, the grep patterns target JavaScript, TypeScript, Python, Ruby, and Java files. The checks for JWT, sessions, cookies, and reset tokens apply across frameworks since they search for common library and pattern names.

What are common ways 2FA implementations get bypassed?▼

Common bypasses include missing rate limiting on OTP attempts enabling brute force, predictable backup codes, race conditions submitting login and 2FA simultaneously, and accessing post-login endpoints directly to skip the 2FA step.