scope_set
Restrict security testing to an allowlist of hosts, preventing traffic tools from accessing out-of-scope targets. Supports wildcard domains.
Instructions
Set the authorized testing scope — an allowlist of hosts. Once set, the traffic tools (http_send, recon, hunt, secrets_hunt, param_discover) refuse anything out of scope. Supports wildcards, e.g. ["*.example.com","api.foo.io"]. Args: hosts_json: a JSON array of hostnames/domains (or a plain comma list)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hosts_json": "<hosts_json>"
},
"name": "scope_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hosts_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |