sickn33/antigravity-awesome-skills/broken-authentication
Claude Code and agent skill by sickn33/antigravity-awesome-skills
- community
Checking that the SKILL.md file is still in the repository.
Identify and exploit authentication and session management vulnerabilities in web applications. Broken authentication consistently ranks in the OWASP Top 10 and can lead to account takeover, identity theft, and unauthorized access to sensitive systems.
Install
npx vskill@latest install sickn33/antigravity-awesome-skills/broken-authenticationSKILL.md
⚠️ AUTHORIZED USE ONLYThis skill is for educational purposes or authorized security assessments only.You must have explicit, written permission from the system owner before using this tool.Misuse of this tool is illegal and strictly prohibited.
Mandatory confirmation gateBefore running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:1. Ask the user to state the exact target URL, IP, account, or resource.2. Ask the user to confirm written authorization and the permitted scope.3. Show the exact command(s) and explain their expected effect.4. Wait for explicit confirmation in the current conversation.Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.
Broken Authentication Testing
Purpose
Identify and exploit authentication and session management vulnerabilities in web applications. Broken authentication consistently ranks in the OWASP Top 10 and can lead to account takeover, identity theft, and unauthorized access to sensitive systems. This skill covers testing methodologies for password policies, session handling, multi-factor authentication, and credential management.
Prerequisites
Required Knowledge
- HTTP protocol and session mechanisms
- Authentication types (SFA, 2FA, MFA)
- Cookie and token handling
- Common authentication frameworks
Required Tools
- Burp Suite Professional or Community
- Hydra or similar brute-force tools
- Custom wordlists for credential testing
- Browser developer tools
Required Access
- Target application URL
- Test account credentials
- Written authorization for testing
Outputs and Deliverables
- Authentication Assessment Report - Document all identified vulnerabilities
- Credential Testing Results - Brute-force and dictionary attack outcomes
- Session Security Analysis - Token randomness and timeout evaluation
- Remediation Recommendations - Security hardening guidance
Core Workflow
Phase 1: Authentication Mechanism Analysis
Understand the application's authentication architecture:
Capture and analyze authentication requests:
Phase 2: Password Policy Testing
Evaluate password requirements and enforcement:
Assess the applicable policy and threat model. Lack of character-composition rules is not itself a defect; prioritize length, compromised-password blocklists and rate limits. See NIST SP800-63B-4.
Phase 3: Credential Enumeration
Test for username enumeration vulnerabilities:
Password reset
"Email sent if account exists" (secure) "No account with that email" (leaks info)
API responses
{"error": "user_not_found"} {"error": "invalid_password"}
Using Hydra for form-based auth
hydra -l admin -P /usr/share/wordlists/rockyou.txt \ target.invalid http-post-form \ "/login:username=^USER^&password=^PASS^:Invalid credentials"
Using Burp Intruder
- Capture login request
- Send to Intruder
- Set payload positions on password field
- Load wordlist
- Start attack
- Analyze response lengths/codes
Account lockout
- After how many attempts?
- Duration of lockout?
- Lockout notification?
Rate limiting
- Requests per minute limit?
- IP-based or account-based?
- Bypass via headers (X-Forwarded-For)?
CAPTCHA
- After failed attempts?
- Easily bypassable?
Credential stuffing differs from brute force
Uses known email:password pairs from breaches
Using Burp Intruder with Pitchfork attack
- Set username and password as positions
- Load email list as payload 1
- Load password list as payload 2 (matched pairs)
- Analyze for successful logins
Detection evasion
- Slow request rate
- Rotate source IPs
- Randomize user agents
- Add delays between attempts
Capture session cookie
Cookie: SESSIONID=abc123def456
Test token characteristics
- Entropy - Is it random enough?
- Length - Sufficient length (128+ bits)?
- Predictability - Sequential patterns?
- Secure flags - HttpOnly, Secure, SameSite?
#!/usr/bin/env python3 import requests import hashlib
Collect multiple session tokens
tokens = [] for i in range(100): response = requests.get("https://target.invalid/login") token = response.cookies.get("SESSIONID") tokens.append(token)
Analyze for patterns
Check for sequential increments
Calculate entropy
Look for timestamp components
Step 1: Get session before login
GET /login HTTP/1.1 Response: Set-Cookie: SESSIONID=abc123
Step 2: Login with same session
POST /login HTTP/1.1 Cookie: SESSIONID=abc123 username=valid&password=valid
Step 3: Check if session changed
Unchanged ID is a lead: verify attacker fixation and authenticated reuse.
A changed ID alone does not prove the old session was invalidated.
Attacker workflow:
- Attacker visits site, gets session: SESSIONID=attacker_session
- Attacker sends link to victim with fixed session:
https://target.invalid/login?SESSIONID=attacker_session
- Victim logs in with attacker's session
- Attacker now has authenticated session
Test idle timeout
- Login and note session cookie
- Wait without activity (15, 30, 60 minutes)
- Attempt to use session
- Check if session is still valid
Test absolute timeout
- Login and continuously use session
- Check if forced logout after set period (8 hours, 24 hours)
Test logout functionality
- Login and note session
- Click logout
- Attempt to reuse old session cookie
- Session should be invalidated server-side
OTP brute force
- 4-digit OTP = 10,000 combinations
- 6-digit OTP = 1,000,000 combinations
- Test rate limiting on OTP endpoint
OTP bypass techniques
- Skip MFA step by direct URL access
- Modify response to indicate MFA passed
- Null/empty OTP submission
- Previous valid OTP reuse
API Version Downgrade Attack (crAPI example)
If /api/v3/check-otp has rate limiting, try older versions:
POST /api/v2/check-otp {"otp": "1234"}
Older API versions may lack security controls
Using Burp for OTP testing
- Capture OTP verification request
- Send to Intruder
- Set OTP field as payload position
- Use numbers payload (0000-9999)
- Check for successful bypass
Forced enrollment
- Can MFA be skipped during setup?
- Can backup codes be accessed without verification?
Recovery process
- Can MFA be disabled via email alone?
- Social engineering potential?
Token security
- Request password reset
- Capture reset link
- Analyze token:
- Length and randomness
- Expiration time
- Single-use enforcement
- Account binding
Token manipulation
https://target.invalid/reset?token=abc123&user=victim
Try changing user parameter while using valid token
Host header injection
POST /forgot-password HTTP/1.1 Host: attacker.com email=victim@email.com
Reset email may contain attacker's domain
Default credentials
admin:admin admin:password admin:123456 root:root test:test user:user
Common passwords
123456 password 12345678 qwerty abc123 password1 admin123
Breached credential databases
- Have I Been Pwned dataset
- SecLists passwords
- Custom targeted lists
X-Forwarded-For: 127.0.0.1 X-Real-IP: 127.0.0.1 X-Originating-IP: 127.0.0.1 X-Client-IP: 127.0.0.1 X-Remote-IP: 127.0.0.1 True-Client-IP: 127.0.0.1
Step 1: Identify lockout threshold
Try 5 wrong passwords for admin account
Result: "Account locked for 30 minutes"
Step 2: Test bypass via IP rotation
Use X-Forwarded-For header
POST /login HTTP/1.1 X-Forwarded-For: 192.168.1.1 username=admin&password=attempt1
Increment IP for each attempt
X-Forwarded-For: 192.168.1.2
Continue until successful or confirmed blocked
Step 3: Test bypass via case manipulation
username=Admin (vs admin) username=ADMIN
Some systems treat these as different accounts
Step 1: Capture JWT token
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoidGVzdCJ9.signature
Step 2: Decode and analyze
Header: {"alg":"HS256","typ":"JWT"}
Payload: {"user":"test","role":"user"}
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/broken-authentication/SKILL.md
Popularity
- Repository stars
- 27,066
- Repository forks
- 4,580
- Repository npm downloads, 7 days
- 9,936
- 7-day trend score
- 73
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 24 Mar 2026, 7 months ago.
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/sickn33/antigravity-awesome-skills/broken-authentication)