analyze_access_control
Detect BOLA/IDOR by comparing responses from privileged and unprivileged tokens, flagging suspicious successes when both return similar 200 responses.
Instructions
Executes the same HTTP request with two different tokens (privileged vs unprivileged) and compares responses to detect authorization failures (BOLA/IDOR). Automatically cleans volatile fields (timestamps, session_ids, etc.) and calculates structural similarity. Marks as 'is_suspicious_success' if both return 200 OK with >85% similarity. When stealth mode is enabled, uses random delay to evade WAF detection patterns. Supports multiple auth types: bearer, basic, api_key_header, api_key_query, cookie.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| method | No | GET | |
| stealth | No | ||
| auth_type | No | bearer | |
| body_json | No | ||
| auth_key_name | No | ||
| delay_seconds | No | ||
| privileged_token | Yes | ||
| unprivileged_token | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |