[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CBWD1V4KM7DBSRNXMKWD92":3,"skill-same:01M6CBWD1V4KM7DBSRNXMKWD92":82},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":14,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6CBWD1V4KM7DBSRNXMKWD92","Broken Authentication Testing",null,"This skill should be used when the user asks to \"test for broken authentication vulnerabilities\", \"assess session management security\", \"perform credential stuffing tests\", \"evaluate password policies\", \"test for session fixation\", or \"identify authentication bypass flaws\". It provides comprehensive techniques for identifying authentication and session management weaknesses in web applications.","Gabriellmaia01\u002Fneuro-dose-assist","Gabriellmaia01","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F135177180?v=4","01M6CBRZEZC8G5C400AG3SPFNH","Gabriel","01M6CBRZK8MB7DWW0B4C82TV2G",0,"MIT","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fbroken-authentication\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,5,28,29,30,31,32,33,34,35,36,37],"testing","authentication","broken authentication","broken","security","vulnerabilities","test","web","applications","password","management","user","session","credential","2026-11-10 10:12:30",false,"---\nname: Broken Authentication Testing\ndescription: This skill should be used when the user asks to \"test for broken authentication vulnerabilities\", \"assess session management security\", \"perform credential stuffing tests\", \"evaluate password policies\", \"test for session fixation\", or \"identify authentication bypass flaws\". It provides comprehensive techniques for identifying authentication and session management weaknesses in web applications.\nmetadata:\n  author: zebbern\n  version: \"1.1\"\n---\n\n# Broken Authentication Testing\n\n## Purpose\n\nIdentify 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.\n\n## Prerequisites\n\n### Required Knowledge\n- HTTP protocol and session mechanisms\n- Authentication types (SFA, 2FA, MFA)\n- Cookie and token handling\n- Common authentication frameworks\n\n### Required Tools\n- Burp Suite Professional or Community\n- Hydra or similar brute-force tools\n- Custom wordlists for credential testing\n- Browser developer tools\n\n### Required Access\n- Target application URL\n- Test account credentials\n- Written authorization for testing\n\n## Outputs and Deliverables\n\n1. **Authentication Assessment Report** - Document all identified vulnerabilities\n2. **Credential Testing Results** - Brute-force and dictionary attack outcomes\n3. **Session Security Analysis** - Token randomness and timeout evaluation\n4. **Remediation Recommendations** - Security hardening guidance\n\n## Core Workflow\n\n### Phase 1: Authentication Mechanism Analysis\n\nUnderstand the application's authentication architecture:\n\n```\n# Identify authentication type\n- Password-based (forms, basic auth, digest)\n- Token-based (JWT, OAuth, API keys)\n- Certificate-based (mutual TLS)\n- Multi-factor (SMS, TOTP, hardware tokens)\n\n# Map authentication endpoints\n\u002Flogin, \u002Fsignin, \u002Fauthenticate\n\u002Fregister, \u002Fsignup\n\u002Fforgot-password, \u002Freset-password\n\u002Flogout, \u002Fsignout\n\u002Fapi\u002Fauth\u002F*, \u002Foauth\u002F*\n```\n\nCapture and analyze authentication requests:\n\n```http\nPOST \u002Flogin HTTP\u002F1.1\nHost: target.com\nContent-Type: application\u002Fx-www-form-urlencoded\n\nusername=test&password=test123\n```\n\n### Phase 2: Password Policy Testing\n\nEvaluate password requirements and enforcement:\n\n```bash\n# Test minimum length (a, ab, abcdefgh)\n# Test complexity (password, password1, Password1!)\n# Test common weak passwords (123456, password, qwerty, admin)\n# Test username as password (admin\u002Fadmin, test\u002Ftest)\n```\n\nDocument policy gaps: Minimum length \u003C8, no complexity, common passwords allowed, username as password.\n\n### Phase 3: Credential Enumeration\n\nTest for username enumeration vulnerabilities:\n\n```bash\n# Compare responses for valid vs invalid usernames\n# Invalid: \"Invalid username\" vs Valid: \"Invalid password\"\n# Check timing differences, response codes, registration messages\n```\n\n# Password reset\n\"Email sent if account exists\" (secure)\n\"No account with that email\" (leaks info)\n\n# API responses\n{\"error\": \"user_not_found\"}\n{\"error\": \"invalid_password\"}\n```\n\n### Phase 4: Brute Force Testing\n\nTest account lockout and rate limiting:\n\n```bash\n# Using Hydra for form-based auth\nhydra -l admin -P \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt \\\n  target.com http-post-form \\\n  \"\u002Flogin:username=^USER^&password=^PASS^:Invalid credentials\"\n\n# Using Burp Intruder\n1. Capture login request\n2. Send to Intruder\n3. Set payload positions on password field\n4. Load wordlist\n5. Start attack\n6. Analyze response lengths\u002Fcodes\n```\n\nCheck for protections:\n\n```bash\n# Account lockout\n- After how many attempts?\n- Duration of lockout?\n- Lockout notification?\n\n# Rate limiting\n- Requests per minute limit?\n- IP-based or account-based?\n- Bypass via headers (X-Forwarded-For)?\n\n# CAPTCHA\n- After failed attempts?\n- Easily bypassable?\n```\n\n### Phase 5: Credential Stuffing\n\nTest with known breached credentials:\n\n```bash\n# Credential stuffing differs from brute force\n# Uses known email:password pairs from breaches\n\n# Using Burp Intruder with Pitchfork attack\n1. Set username and password as positions\n2. Load email list as payload 1\n3. Load password list as payload 2 (matched pairs)\n4. Analyze for successful logins\n\n# Detection evasion\n- Slow request rate\n- Rotate source IPs\n- Randomize user agents\n- Add delays between attempts\n```\n\n### Phase 6: Session Management Testing\n\nAnalyze session token security:\n\n```bash\n# Capture session cookie\nCookie: SESSIONID=abc123def456\n\n# Test token characteristics\n1. Entropy - Is it random enough?\n2. Length - Sufficient length (128+ bits)?\n3. Predictability - Sequential patterns?\n4. Secure flags - HttpOnly, Secure, SameSite?\n```\n\nSession token analysis:\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\nimport requests\nimport hashlib\n\n# Collect multiple session tokens\ntokens = []\nfor i in range(100):\n    response = requests.get(\"https:\u002F\u002Ftarget.com\u002Flogin\")\n    token = response.cookies.get(\"SESSIONID\")\n    tokens.append(token)\n\n# Analyze for patterns\n# Check for sequential increments\n# Calculate entropy\n# Look for timestamp components\n```\n\n### Phase 7: Session Fixation Testing\n\nTest if session is regenerated after authentication:\n\n```bash\n# Step 1: Get session before login\nGET \u002Flogin HTTP\u002F1.1\nResponse: Set-Cookie: SESSIONID=abc123\n\n# Step 2: Login with same session\nPOST \u002Flogin HTTP\u002F1.1\nCookie: SESSIONID=abc123\nusername=valid&password=valid\n\n# Step 3: Check if session changed\n# VULNERABLE if SESSIONID remains abc123\n# SECURE if new session assigned after login\n```\n\nAttack scenario:\n\n```bash\n# Attacker workflow:\n1. Attacker visits site, gets session: SESSIONID=attacker_session\n2. Attacker sends link to victim with fixed session:\n   https:\u002F\u002Ftarget.com\u002Flogin?SESSIONID=attacker_session\n3. Victim logs in with attacker's session\n4. Attacker now has authenticated session\n```\n\n### Phase 8: Session Timeout Testing\n\nVerify session expiration policies:\n\n```bash\n# Test idle timeout\n1. Login and note session cookie\n2. Wait without activity (15, 30, 60 minutes)\n3. Attempt to use session\n4. Check if session is still valid\n\n# Test absolute timeout\n1. Login and continuously use session\n2. Check if forced logout after set period (8 hours, 24 hours)\n\n# Test logout functionality\n1. Login and note session\n2. Click logout\n3. Attempt to reuse old session cookie\n4. Session should be invalidated server-side\n```\n\n### Phase 9: Multi-Factor Authentication Testing\n\nAssess MFA implementation security:\n\n```bash\n# OTP brute force\n- 4-digit OTP = 10,000 combinations\n- 6-digit OTP = 1,000,000 combinations\n- Test rate limiting on OTP endpoint\n\n# OTP bypass techniques\n- Skip MFA step by direct URL access\n- Modify response to indicate MFA passed\n- Null\u002Fempty OTP submission\n- Previous valid OTP reuse\n\n# API Version Downgrade Attack (crAPI example)\n# If \u002Fapi\u002Fv3\u002Fcheck-otp has rate limiting, try older versions:\nPOST \u002Fapi\u002Fv2\u002Fcheck-otp\n{\"otp\": \"1234\"}\n# Older API versions may lack security controls\n\n# Using Burp for OTP testing\n1. Capture OTP verification request\n2. Send to Intruder\n3. Set OTP field as payload position\n4. Use numbers payload (0000-9999)\n5. Check for successful bypass\n```\n\nTest MFA enrollment:\n\n```bash\n# Forced enrollment\n- Can MFA be skipped during setup?\n- Can backup codes be accessed without verification?\n\n# Recovery process\n- Can MFA be disabled via email alone?\n- Social engineering potential?\n```\n\n### Phase 10: Password Reset Testing\n\nAnalyze password reset security:\n\n```bash\n# Token security\n1. Request password reset\n2. Capture reset link\n3. Analyze token:\n   - Length and randomness\n   - Expiration time\n   - Single-use enforcement\n   - Account binding\n\n# Token manipulation\nhttps:\u002F\u002Ftarget.com\u002Freset?token=abc123&user=victim\n# Try changing user parameter while using valid token\n\n# Host header injection\nPOST \u002Fforgot-password HTTP\u002F1.1\nHost: attacker.com\nemail=victim@email.com\n# Reset email may contain attacker's domain\n```\n\n## Quick Reference\n\n### Common Vulnerability Types\n\n| Vulnerability | Risk | Test Method |\n|--------------|------|-------------|\n| Weak passwords | High | Policy testing, dictionary attack |\n| No lockout | High | Brute force testing |\n| Username enumeration | Medium | Differential response analysis |\n| Session fixation | High | Pre\u002Fpost-login session comparison |\n| Weak session tokens | High | Entropy analysis |\n| No session timeout | Medium | Long-duration session testing |\n| Insecure password reset | High | Token analysis, workflow bypass |\n| MFA bypass | Critical | Direct access, response manipulation |\n\n### Credential Testing Payloads\n\n```bash\n# Default credentials\nadmin:admin\nadmin:password\nadmin:123456\nroot:root\ntest:test\nuser:user\n\n# Common passwords\n123456\npassword\n12345678\nqwerty\nabc123\npassword1\nadmin123\n\n# Breached credential databases\n- Have I Been Pwned dataset\n- SecLists passwords\n- Custom targeted lists\n```\n\n### Session Cookie Flags\n\n| Flag | Purpose | Vulnerability if Missing |\n|------|---------|------------------------|\n| HttpOnly | Prevent JS access | XSS can steal session |\n| Secure | HTTPS only | Sent over HTTP |\n| SameSite | CSRF protection | Cross-site requests allowed |\n| Path | URL scope | Broader exposure |\n| Domain | Domain scope | Subdomain access |\n| Expires | Lifetime | Persistent sessions |\n\n### Rate Limiting Bypass Headers\n\n```http\nX-Forwarded-For: 127.0.0.1\nX-Real-IP: 127.0.0.1\nX-Originating-IP: 127.0.0.1\nX-Client-IP: 127.0.0.1\nX-Remote-IP: 127.0.0.1\nTrue-Client-IP: 127.0.0.1\n```\n\n## Constraints and Limitations\n\n### Legal Requirements\n- Only test with explicit written authorization\n- Avoid testing with real breached credentials\n- Do not access actual user accounts\n- Document all testing activities\n\n### Technical Limitations\n- CAPTCHA may prevent automated testing\n- Rate limiting affects brute force timing\n- MFA significantly increases attack difficulty\n- Some vulnerabilities require victim interaction\n\n### Scope Considerations\n- Test accounts may behave differently than production\n- Some features may be disabled in test environments\n- Third-party authentication may be out of scope\n- Production testing requires extra caution\n\n## Examples\n\n### Example 1: Account Lockout Bypass\n\n**Scenario:** Test if account lockout can be bypassed\n\n```bash\n# Step 1: Identify lockout threshold\n# Try 5 wrong passwords for admin account\n# Result: \"Account locked for 30 minutes\"\n\n# Step 2: Test bypass via IP rotation\n# Use X-Forwarded-For header\nPOST \u002Flogin HTTP\u002F1.1\nX-Forwarded-For: 192.168.1.1\nusername=admin&password=attempt1\n\n# Increment IP for each attempt\nX-Forwarded-For: 192.168.1.2\n# Continue until successful or confirmed blocked\n\n# Step 3: Test bypass via case manipulation\nusername=Admin (vs admin)\nusername=ADMIN\n# Some systems treat these as different accounts\n```\n\n### Example 2: JWT Token Attack\n\n**Scenario:** Exploit weak JWT implementation\n\n```bash\n# Step 1: Capture JWT token\nAuthorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoidGVzdCJ9.signature\n\n# Step 2: Decode and analyze\n# Header: {\"alg\":\"HS256\",\"typ\":\"JWT\"}\n# Payload: {\"user\":\"test\",\"role\":\"user\"}\n\n# Step 3: Try \"none\" algorithm attack\n# Change header to: {\"alg\":\"none\",\"typ\":\"JWT\"}\n# Remove signature\neyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJ1c2VyIjoiYWRtaW4iLCJyb2xlIjoiYWRtaW4ifQ.\n\n# Step 4: Submit modified token\nAuthorization: Bearer eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJ1c2VyIjoiYWRtaW4ifQ.\n```\n\n### Example 3: Password Reset Token Exploitation\n\n**Scenario:** Test password reset functionality\n\n```bash\n# Step 1: Request reset for test account\nPOST \u002Fforgot-password\nemail=test@example.com\n\n# Step 2: Capture reset link\nhttps:\u002F\u002Ftarget.com\u002Freset?token=a1b2c3d4e5f6\n\n# Step 3: Test token properties\n# Reuse: Try using same token twice\n# Expiration: Wait 24+ hours and retry\n# Modification: Change characters in token\n\n# Step 4: Test for user parameter manipulation\nhttps:\u002F\u002Ftarget.com\u002Freset?token=a1b2c3d4e5f6&email=admin@example.com\n# Check if admin's password can be reset with test user's token\n```\n\n## Troubleshooting\n\n| Issue | Solutions |\n|-------|-----------|\n| Brute force too slow | Identify rate limit scope; IP rotation; add delays; use targeted wordlists |\n| Session analysis inconclusive | Collect 1000+ tokens; use statistical tools; check for timestamps; compare accounts |\n| MFA cannot be bypassed | Document as secure; test backup\u002Frecovery mechanisms; check MFA fatigue; verify enrollment |\n| Account lockout prevents testing | Request multiple test accounts; test threshold first; use slower timing |\n","# Broken Authentication Testing\n\n## Purpose\n\nIdentify 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.\n\n## Prerequisites\n\n### Required Knowledge\n- HTTP protocol and session mechanisms\n- Authentication types (SFA, 2FA, MFA)\n- Cookie and token handling\n- Common authentication frameworks\n\n### Required Tools\n- Burp Suite Professional or Community\n- Hydra or similar brute-force tools\n- Custom wordlists for credential testing\n- Browser developer tools\n\n### Required Access\n- Target application URL\n- Test account credentials\n- Written authorization for testing\n\n## Outputs and Deliverables\n\n1. **Authentication Assessment Report** - Document all identified vulnerabilities\n2. **Credential Testing Results** - Brute-force and dictionary attack outcomes\n3. **Session Security Analysis** - Token randomness and timeout evaluation\n4. **Remediation Recommendations** - Security hardening guidance\n\n## Core Workflow\n\n### Phase 1: Authentication Mechanism Analysis\n\nUnderstand the application's authentication architecture:\n\n```\n# Identify authentication type\n- Password-based (forms, basic auth, digest)\n- Token-based (JWT, OAuth, API keys)\n- Certificate-based (mutual TLS)\n- Multi-factor (SMS, TOTP, hardware tokens)\n\n# Map authentication endpoints\n\u002Flogin, \u002Fsignin, \u002Fauthenticate\n\u002Fregister, \u002Fsignup\n\u002Fforgot-password, \u002Freset-password\n\u002Flogout, \u002Fsignout\n\u002Fapi\u002Fauth\u002F*, \u002Foauth\u002F*\n```\n\nCapture and analyze authentication requests:\n\n```http\nPOST \u002Flogin HTTP\u002F1.1\nHost: target.com\nContent-Type: application\u002Fx-www-form-urlencoded\n\nusername=test&password=test123\n```\n\n### Phase 2: Password Policy Testing\n\nEvaluate password requirements and enforcement:\n\n```bash\n# Test minimum length (a, ab, abcdefgh)\n# Test complexity (password, password1, Password1!)\n# Test common weak passwords (123456, password, qwerty, admin)\n# Test username as password (admin\u002Fadmin, test\u002Ftest)\n```\n\nDocument policy gaps: Minimum length \u003C8, no complexity, common passwords allowed, username as password.\n\n### Phase 3: Credential Enumeration\n\nTest for username enumeration vulnerabilities:\n\n```bash\n# Compare responses for valid vs invalid usernames\n# Invalid: \"Invalid username\" vs Valid: \"Invalid password\"\n# Check timing differences, response codes, registration messages\n```\n\n# Password reset\n\"Email sent if account exists\" (secure)\n\"No account with that email\" (leaks info)\n\n# API responses\n{\"error\": \"user_not_found\"}\n{\"error\": \"invalid_password\"}\n```\n\n### Phase 4: Brute Force Testing\n\nTest account lockout and rate limiting:\n\n```bash\n# Using Hydra for form-based auth\nhydra -l admin -P \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt \\\n  target.com http-post-form \\\n  \"\u002Flogin:username=^USER^&password=^PASS^:Invalid credentials\"\n\n# Using Burp Intruder\n1. Capture login request\n2. Send to Intruder\n3. Set payload positions on password field\n4. Load wordlist\n5. Start attack\n6. Analyze response lengths\u002Fcodes\n```\n\nCheck for protections:\n\n```bash\n# Account lockout\n- After how many attempts?\n- Duration of lockout?\n- Lockout notification?\n\n# Rate limiting\n- Requests per minute limit?\n- IP-based or account-based?\n- Bypass via headers (X-Forwarded-For)?\n\n# CAPTCHA\n- After failed attempts?\n- Easily bypassable?\n```\n\n### Phase 5: Credential Stuffing\n\nTest with known breached credentials:\n\n```bash\n# Credential stuffing differs from brute force\n# Uses known email:password pairs from breaches\n\n# Using Burp Intruder with Pitchfork attack\n1. Set username and password as positions\n2. Load email list as payload 1\n3. Load password list as payload 2 (matched pairs)\n4. Analyze for successful logins\n\n# Detection evasion\n- Slow request rate\n- Rotate source IPs\n- Randomize user agents\n- Add delays between attempts\n```\n\n### Phase 6: Session Management Testing\n\nAnalyze session token security:\n\n```bash\n# Capture session cookie\nCookie: SESSIONID=abc123def456\n\n# Test token characteristics\n1. Entropy - Is it random enough?\n2. Length - Sufficient length (128+ bits)?\n3. Predictability - Sequential patterns?\n4. Secure flags - HttpOnly, Secure, SameSite?\n```\n\nSession token analysis:\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\nimport requests\nimport hashlib\n\n# Collect multiple session tokens\ntokens = []\nfor i in range(100):\n    response = requests.get(\"https:\u002F\u002Ftarget.com\u002Flogin\")\n    token = response.cookies.get(\"SESSIONID\")\n    tokens.append(token)\n\n# Analyze for patterns\n# Check for sequential increments\n# Calculate entropy\n# Look for timestamp components\n```\n\n### Phase 7: Session Fixation Testing\n\nTest if session is regenerated after authentication:\n\n```bash\n# Step 1: Get session before login\nGET \u002Flogin HTTP\u002F1.1\nResponse: Set-Cookie: SESSIONID=abc123\n\n# Step 2: Login with same session\nPOST \u002Flogin HTTP\u002F1.1\nCookie: SESSIONID=abc123\nusername=valid&password=valid\n\n# Step 3: Check if session changed\n# VULNERABLE if SESSIONID remains abc123\n# SECURE if new session assigned after login\n```\n\nAttack scenario:\n\n```bash\n# Attacker workflow:\n1. Attacker visits site, gets session: SESSIONID=attacker_session\n2. Attacker sends link to victim with fixed session:\n   https:\u002F\u002Ftarget.com\u002Flogin?SESSIONID=attacker_session\n3. Victim logs in with attacker's session\n4. Attacker now has authenticated session\n```\n\n### Phase 8: Session Timeout Testing\n\nVerify session expiration policies:\n\n```bash\n# Test idle timeout\n1. Login and note session cookie\n2. Wait without activity (15, 30, 60 minutes)\n3. Attempt to use session\n4. Check if session is still valid\n\n# Test absolute timeout\n1. Login and continuously use session\n2. Check if forced logout after set period (8 hours, 24 hours)\n\n# Test logout functionality\n1. Login and note session\n2. Click logout\n3. Attempt to reuse old session cookie\n4. Session should be invalidated server-side\n```\n\n### Phase 9: Multi-Factor Authentication Testing\n\nAssess MFA implementation security:\n\n```bash\n# OTP brute force\n- 4-digit OTP = 10,000 combinations\n- 6-digit OTP = 1,000,000 combinations\n- Test rate limiting on OTP endpoint\n\n# OTP bypass techniques\n- Skip MFA step by direct URL access\n- Modify response to indicate MFA passed\n- Null\u002Fempty OTP submission\n- Previous valid OTP reuse\n\n# API Version Downgrade Attack (crAPI example)\n# If \u002Fapi\u002Fv3\u002Fcheck-otp has rate limiting, try older versions:\nPOST \u002Fapi\u002Fv2\u002Fcheck-otp\n{\"otp\": \"1234\"}\n# Older API versions may lack security controls\n\n# Using Burp for OTP testing\n1. Capture OTP verification request\n2. Send to Intruder\n3. Set OTP field as payload position\n4. Use numbers payload (0000-9999)\n5. Check for successful bypass\n```\n\nTest MFA enrollment:\n\n```bash\n# Forced enrollment\n- Can MFA be skipped during setup?\n- Can backup codes be accessed without verification?\n\n# Recovery process\n- Can MFA be disabled via email alone?\n- Social engineering potential?\n```\n\n### Phase 10: Password Reset Testing\n\nAnalyze password reset security:\n\n```bash\n# Token security\n1. Request password reset\n2. Capture reset link\n3. Analyze token:\n   - Length and randomness\n   - Expiration time\n   - Single-use enforcement\n   - Account binding\n\n# Token manipulation\nhttps:\u002F\u002Ftarget.com\u002Freset?token=abc123&user=victim\n# Try changing user parameter while using valid token\n\n# Host header injection\nPOST \u002Fforgot-password HTTP\u002F1.1\nHost: attacker.com\nemail=victim@email.com\n# Reset email may contain attacker's domain\n```\n\n## Quick Reference\n\n### Common Vulnerability Types\n\n| Vulnerability | Risk | Test Method |\n|--------------|------|-------------|\n| Weak passwords | High | Policy testing, dictionary attack |\n| No lockout | High | Brute force testing |\n| Username enumeration | Medium | Differential response analysis |\n| Session fixation | High | Pre\u002Fpost-login session comparison |\n| Weak session tokens | High | Entropy analysis |\n| No session timeout | Medium | Long-duration session testing |\n| Insecure password reset | High | Token analysis, workflow bypass |\n| MFA bypass | Critical | Direct access, response manipulation |\n\n### Credential Testing Payloads\n\n```bash\n# Default credentials\nadmin:admin\nadmin:password\nadmin:123456\nroot:root\ntest:test\nuser:user\n\n# Common passwords\n123456\npassword\n12345678\nqwerty\nabc123\npassword1\nadmin123\n\n# Breached credential databases\n- Have I Been Pwned dataset\n- SecLists passwords\n- Custom targeted lists\n```\n\n### Session Cookie Flags\n\n| Flag | Purpose | Vulnerability if Missing |\n|------|---------|------------------------|\n| HttpOnly | Prevent JS access | XSS can steal session |\n| Secure | HTTPS only | Sent over HTTP |\n| SameSite | CSRF protection | Cross-site requests allowed |\n| Path | URL scope | Broader exposure |\n| Domain | Domain scope | Subdomain access |\n| Expires | Lifetime | Persistent sessions |\n\n### Rate Limiting Bypass Headers\n\n```http\nX-Forwarded-For: 127.0.0.1\nX-Real-IP: 127.0.0.1\nX-Originating-IP: 127.0.0.1\nX-Client-IP: 127.0.0.1\nX-Remote-IP: 127.0.0.1\nTrue-Client-IP: 127.0.0.1\n```\n\n## Constraints and Limitations\n\n### Legal Requirements\n- Only test with explicit written authorization\n- Avoid testing with real breached credentials\n- Do not access actual user accounts\n- Document all testing activities\n\n### Technical Limitations\n- CAPTCHA may prevent automated testing\n- Rate limiting affects brute force timing\n- MFA significantly increases attack difficulty\n- Some vulnerabilities require victim interaction\n\n### Scope Considerations\n- Test accounts may behave differently than production\n- Some features may be disabled in test environments\n- Third-party authentication may be out of scope\n- Production testing requires extra caution\n\n## Examples\n\n### Example 1: Account Lockout Bypass\n\n**Scenario:** Test if account lockout can be bypassed\n\n```bash\n# Step 1: Identify lockout threshold\n# Try 5 wrong passwords for admin account\n# Result: \"Account locked for 30 minutes\"\n\n# Step 2: Test bypass via IP rotation\n# Use X-Forwarded-For header\nPOST \u002Flogin HTTP\u002F1.1\nX-Forwarded-For: 192.168.1.1\nusername=admin&password=attempt1\n\n# Increment IP for each attempt\nX-Forwarded-For: 192.168.1.2\n# Continue until successful or confirmed blocked\n\n# Step 3: Test bypass via case manipulation\nusername=Admin (vs admin)\nusername=ADMIN\n# Some systems treat these as different accounts\n```\n\n### Example 2: JWT Token Attack\n\n**Scenario:** Exploit weak JWT implementation\n\n```bash\n# Step 1: Capture JWT token\nAuthorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoidGVzdCJ9.signature\n\n# Step 2: Decode and analyze\n# Header: {\"alg\":\"HS256\",\"typ\":\"JWT\"}\n# Payload: {\"user\":\"test\",\"role\":\"user\"}\n\n# Step 3: Try \"none\" algorithm attack\n# Change header to: {\"alg\":\"none\",\"typ\":\"JWT\"}\n# Remove signature\neyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJ1c2VyIjoiYWRtaW4iLCJyb2xlIjoiYWRtaW4ifQ.\n\n# Step 4: Submit modified token\nAuthorization: Bearer eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJ1c2VyIjoiYWRtaW4ifQ.\n```\n\n### Example 3: Password Reset Token Exploitation\n\n**Scenario:** Test password reset functionality\n\n```bash\n# Step 1: Request reset for test account\nPOST \u002Fforgot-password\nemail=test@example.com\n\n# Step 2: Capture reset link\nhttps:\u002F\u002Ftarget.com\u002Freset?token=a1b2c3d4e5f6\n\n# Step 3: Test token properties\n# Reuse: Try using same token twice\n# Expiration: Wait 24+ hours and retry\n# Modification: Change characters in token\n\n# Step 4: Test for user parameter manipulation\nhttps:\u002F\u002Ftarget.com\u002Freset?token=a1b2c3d4e5f6&email=admin@example.com\n# Check if admin's password can be reset with test user's token\n```\n\n## Troubleshooting\n\n| Issue | Solutions |\n|-------|-----------|\n| Brute force too slow | Identify rate limit scope; IP rotation; add delays; use targeted wordlists |\n| Session analysis inconclusive | Collect 1000+ tokens; use statistical tools; check for timestamps; compare accounts |\n| MFA cannot be bypassed | Document as secure; test backup\u002Frecovery mechanisms; check MFA fatigue; verify enrollment |\n| Account lockout prevents testing | Request multiple test accounts; test threshold first; use slower timing |\n",{"name":5,"metadata":43,"description":7},{"author":44,"version":45},"zebbern","1.1","main","eac60cc6e0b6baa2a05a765a851fb10638f4e733",".agent\u002Fskills\u002Fskills\u002Fbroken-authentication","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist","https:\u002F\u002Fgithub.com\u002FGabriellmaia01","https:\u002F\u002Fportfolio-bice-theta-81.vercel.app\u002F","💻 Desenvolvimento De Software_\r\n\r\n⚙️ Engenharia De Software\r\n","2026-11-12 08:51:23",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add Gabriellmaia01\u002Fneuro-dose-assist --skill \"Broken Authentication Testing\"",{"tool":60,"command":61},"bunx","bunx skills add Gabriellmaia01\u002Fneuro-dose-assist --skill \"Broken Authentication Testing\"",{"tool":63,"command":64},"pnpm","pnpm dlx skills add Gabriellmaia01\u002Fneuro-dose-assist --skill \"Broken Authentication Testing\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fbroken-authentication\u002FSKILL.md",true,[68,74,78],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fliquidity-operations.md","REFERENCE","参考文档",12753,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdefi\u002Fgmx-official-liquidity\u002Freferences\u002Fliquidity-operations.md",{"path":75,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":76,"sourceHtmlUrl":77},"SOURCE.md",146,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdefi\u002Fgmx-official-liquidity\u002FSOURCE.md",{"path":79,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":80,"sourceHtmlUrl":81},"TRUST.auto.yaml",2198,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fdefi\u002Fgmx-official-liquidity\u002FTRUST.auto.yaml",[83,108,133,154,174,194],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":87,"licenseFileUrl":88,"sourceHtmlUrl":89,"categories":90,"keywords":95,"publishedAt":107},"01M6CCF29DKTVDQWVM0EJREXTV","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[91,92],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":93,"categoryName":94,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",[96,97,24,98,99,32,100,101,102,103,104,31,105,106],"webapp","webapp testing","playwright","behavior","logs","ui","browser","toolkit","debugging","screenshots","frontend","2026-11-11 15:11:14",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":87,"licenseFileUrl":112,"sourceHtmlUrl":113,"categories":114,"keywords":116,"publishedAt":107},"01M6CCET439J7JD6CP2VJ1GWP1","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[115],{"categoryNo":93,"categoryName":94,"taxonomyType":21,"taxonomyTypeDesc":22},[117,118,119,31,120,121,106,122,101,123,124,125,126,127,128,129,130,34,131,132],"builder","artifacts builder","artifacts","web artifacts builder","Tailwind","Tools","file","state","state management","routing","component","react","components","css","single-file","use",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":87,"licenseFileUrl":137,"sourceHtmlUrl":138,"categories":139,"keywords":143,"publishedAt":107},"01M6CCDCQNA65GZ5ZMWH5FQPB3","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Ftheme-factory\u002FSKILL.md",[140],{"categoryNo":141,"categoryName":142,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",[144,145,146,103,147,148,149,150,151,119,152,153],"factory","theme factory","styling","html","landing","slides","fly","SET","generate","docs",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":87,"licenseFileUrl":158,"sourceHtmlUrl":159,"categories":160,"keywords":167,"publishedAt":107},"01M6CCBRDWZJG6B82549AP9FNJ","slack-gif-creator","Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like \"make me a GIF of X doing Y for Slack.\"","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fslack-gif-creator\u002FSKILL.md",[161,164],{"categoryNo":162,"categoryName":163,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000005","邮件与沟通",{"categoryNo":165,"categoryName":166,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000016","图像与多媒体",[168,169,170,132,171,172,173,122],"slack","slack gif creator","validation","knowledge","Animation","constraints",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":87,"licenseFileUrl":178,"sourceHtmlUrl":179,"categories":180,"keywords":184,"publishedAt":107},"01M6CCBF73X6J4W7434Z6FWSX9","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fskill-creator\u002FSKILL.md",[181],{"categoryNo":182,"categoryName":183,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[185,186,187,188,189,190,171,191,192,193],"skill creator","update","guide","specialized","integrations","tool","capabilities","create","workflows",{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":87,"licenseFileUrl":198,"sourceHtmlUrl":199,"categories":200,"keywords":202,"publishedAt":107},"01M6CC58BZPCH6R5E46RME74TC","mcp-builder","Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node\u002FTypeScript (MCP SDK).","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fmcp-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FGabriellmaia01\u002Fneuro-dose-assist\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskills\u002Fmcp-builder\u002FSKILL.md",[201],{"categoryNo":182,"categoryName":183,"taxonomyType":21,"taxonomyTypeDesc":22},[203,117,204,205,206,207,208,209,210,211,122,212,213,214,215,132,187,216,217,218],"mcp builder","MCP","sdk","model context protocol","fastmcp","protocol","typescript","python","llms","model","quality","node","integrate","mcp servers","context","services"]