wstg-authentication

Tests web application authentication mechanisms using the OWASP WSTG methodology.

Updated Jul 29, 2026
One-click install
npx skills add https://github.com/MaiconGambini/opencode-harness-guide --skill wstg-authentication-maicongambini
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wstg-authentication
Source: https://github.com/MaiconGambini/opencode-harness-guide/tree/main/skills/wstg-authentication
Command: npx skills add https://github.com/MaiconGambini/opencode-harness-guide --skill wstg-authentication-maicongambini

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Web application authentication flaws like cleartext credential transport, default passwords, weak lockout, and predictable reset tokens are common but easy to miss without a systematic checklist. This Skill provides the complete OWASP WSTG v4.2 authentication testing methodology so penetration testers and security assessors cover every authentication failure mode. ## Core Features & Use Cases - Ten Structured Test Cases: Covers WSTG-ATHN-01 through WSTG-ATHN-10, including encrypted credential transport, default credentials, lockout mechanisms, authentication bypass, remember-password tokens, browser cache weaknesses, password policy, security questions, password reset, and alternative channels. - Actionable Test Procedures: Each test includes objectives, step-by-step instructions, what to look for, and remediation guidance. - Bug-Finding Efficiency Tips: Prioritization guidance such as testing transport security first, trying default credentials early, and checking alternative channels like mobile APIs. - Use Case: During a bug bounty engagement, use this Skill to systematically test a target's login, registration, and password reset flows, identifying issues like missing Secure cookie flags, username enumeration via verbose errors, and predictable reset tokens. ## Quick Start Use the wstg-authentication skill to test the login and password reset flows of my target application for authentication weaknesses.

Frequently Asked Questions about wstg-authentication

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

FAQPage Schema
How do I test web application authentication during a penetration test?

Follow the OWASP WSTG authentication testing methodology, which covers ten test cases from credential transport encryption to alternative channel weaknesses. Test each area systematically: HTTPS enforcement, default credentials, lockout thresholds, bypass techniques, and password reset token randomness.

What tests are included in OWASP WSTG authentication testing?

WSTG-ATHN includes ten tests: encrypted credential transport, default credentials, weak lockout, authentication schema bypass, vulnerable remember password, browser cache weaknesses, weak password policy, weak security questions, weak password change or reset, and weaker authentication in alternative channels.

How do I test for authentication bypass vulnerabilities?

Test forced browsing to protected pages without a session, modify client-supplied parameters like authenticated=yes or role=admin, analyze session IDs for predictability, and try SQL injection payloads such as ' OR '1'='1 on login forms. Gray-box review can reveal type-juggling flaws in authentication logic.

How do I check if a password reset mechanism is secure?

Verify reset tokens are cryptographically random and time-limited, confirm the old password is required for changes, check that user identifiers cannot be modified to target other accounts, and ensure CSRF protection exists on password change endpoints. Tokens that are sequential or never expire are exploitable.

What are common authentication vulnerabilities in web applications?

Common patterns include HTTPS only on login pages while session cookies leak over HTTP, client-side authentication decisions, verbose error messages enabling username enumeration, sequential session or reset tokens, and staging environments with weaker security than production.