Skip to main content
Glama
IAZENT

HuntX

Official
by IAZENT

idor_fuzz_roles

Replay a request under multiple auth roles and compare responses to identify cross-role access control bypass and vertical BOLA vulnerabilities.

Instructions

Test the same resource with different auth contexts (role-based BOLA).

Sends the same request with each auth context and compares responses to detect cross-role access control bypass. This is the vertical BOLA / privilege-escalation test: can a lower- privilege user access a higher-privilege resource?

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesResource URL with ID to test (e.g. "/api/basket/3").
methodYesHTTP method (GET, POST, etc.).
target_idYesIdentifier for the target.
auth_contextsYesList of auth contexts, each with: - "role": Human-readable label ("admin", "user", "guest") - "headers": Dict of HTTP headers (Authorization, Cookie, etc.)
candidate_idsNoOptional explicit IDs to test in the URL.
scope_excludeNoScope denylist patterns.
scope_includeNoScope allowlist patterns.
role_hierarchyNoOrdered list from lowest to highest privilege (e.g. ["guest", "user", "admin"]). Default: assumes list order.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden. It does disclose that the tool sends the same request with each auth context and compares responses to detect bypass, which is core behavior. However, it does not describe output format, response-comparison criteria, side effects such as request volume, or any rate-limiting or scoping behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences, front-loaded with the primary behavior, and every sentence contributes value. It names the class, explains the mechanism, and identifies the vulnerability being tested without unnecessary filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The core use case and mechanism are clear, and an output schema exists so return-value documentation is not needed. Optional parameters like candidate_ids, scope_exclude, scope_include, and role_hierarchy are schema-documented but not tied into the narrative, so the description is complete for the main workflow but not exhaustive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents most parameters. The description adds context about role-based comparison and privilege escalation, but it does not add meaningful syntax or usage details beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action: test the same resource with different auth contexts and compare responses to detect cross-role access control bypass. It explicitly labels this as the 'vertical BOLA / privilege-escalation test,' which clearly distinguishes it from horizontal BOLA fuzzing siblings like idor_fuzz.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly frames when to use this tool: when you want to verify whether a lower-privilege user can access a higher-privilege resource. It does not explicitly name idor_fuzz or idor_fuzz_url as alternatives, but the vertical-vs-horizontal distinction implies the appropriate usage boundary.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IAZENT/HuntX'

If you have feedback or need assistance with the MCP directory API, please join our Discord server