wstg-identity-management

Tests identity management controls including registration, provisioning, role definitions, and account enumeration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Identity management flaws like account enumeration, weak role enforcement, and insecure provisioning are subtle and often missed by automated scanners, leaving privilege escalation and account takeover paths open during security assessments. ## Core Features & Use Cases - Role Definition Testing: Identify all application roles, attempt unauthorized role switching, and review permission granularity for excessive privileges. - Registration & Provisioning Testing: Validate identity verification requirements, test for registration forgery, and check provisioning/de-provisioning controls including session revocation. - Account Enumeration Detection: Detect username leaks through differential response analysis, timing side channels, recovery flows, and predictable naming conventions. - Use Case: During a web application penetration test, use this Skill to systematically work through WSTG-IDNT-01 to WSTG-IDNT-05, comparing authentication responses for valid and invalid usernames to confirm an enumeration vulnerability before attempting privilege escalation. ## Quick Start Use the wstg-identity-management skill to test the target application's login and registration flows for account enumeration and weak role enforcement.

Frequently Asked Questions about wstg-identity-management

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

FAQPage Schema
How do I test for account enumeration vulnerabilities?

Account enumeration testing compares application responses across three scenarios: valid username with valid password, valid username with invalid password, and invalid username. Differences in error messages, status codes, response lengths, page titles, or timing reveal valid accounts.

How to test role-based access control during a penetration test?

Test RBAC by identifying all roles, then manipulating role-bearing parameters in cookies, JWTs, and hidden fields to attempt unauthorized role switching. Use two concurrent sessions with different privilege levels to diff accessible endpoints and detect missing server-side authorization checks.

What does OWASP WSTG identity management testing cover?

WSTG v4.2 Identity Management Testing covers five areas: role definitions (IDNT-01), user registration (IDNT-02), account provisioning (IDNT-03), account enumeration and guessable accounts (IDNT-04), and weak username policies (IDNT-05).

Can timing attacks reveal valid usernames?

Yes, timing side channels reveal valid usernames when the application performs extra backend work only for existing accounts, such as database lookups or email dispatch in password reset flows. A delay exceeding roughly 100ms between valid and invalid inputs is a reliable enumeration signal.

Why is de-provisioning testing important in identity management?

De-provisioning testing verifies that disabled accounts lose all access, including active sessions, API keys, and JWTs. Many applications disable the account record but fail to revoke existing tokens, leaving backdoor access paths and orphaned resources.