# dirb_scan

Brute-force discover hidden directories and files on web servers with DIRB

Agent View of the PolicyLayer registry record for `dirb_scan`. HTML page: https://policylayer.com/tools/alessandroannini-kali-mcp-server/dirb-scan

## Facts

- Tool: `dirb_scan`
- Server: Kali Linux MCP Server (`alessandroannini/kali-mcp-server`) — https://policylayer.com/tools/alessandroannini-kali-mcp-server.md
- Homepage: https://github.com/AlessandroAnnini/kali-mcp-server
- Risk category: Execute (High risk)
- Registry record: grade D, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "dirb_scan",
    "arguments": {}
  }
}
```

## Why dirb_scan is rated High

DIRB performs active brute-force scanning against a target web server, sending large volumes of HTTP requests to enumerate hidden directories and files. This is an external operation whose effects depend on the target URL and wordlist arguments. It doesn't just read data passively — it actively probes a remote system, which could trigger alerts, cause load, or constitute unauthorized access if misused.

From the tool's own definition: "Brute-force discover hidden directories and files on web servers with DIRB"

## Use case

AI agents invoke dirb_scan to trigger actions in Kali Linux MCP Server. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Kali Linux MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "dirb_scan": {
      "limits": [
        {
          "counter": "dirb_scan_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Kali Linux MCP Server (13)

- `jwt_security_test` — Execute — https://policylayer.com/tools/alessandroannini-kali-mcp-server/jwt-security-test.md
- `nikto_scan` — Execute — https://policylayer.com/tools/alessandroannini-kali-mcp-server/nikto-scan.md
- `nmap_scan` — Execute — https://policylayer.com/tools/alessandroannini-kali-mcp-server/nmap-scan.md
- `nuclei_scan` — Execute — https://policylayer.com/tools/alessandroannini-kali-mcp-server/nuclei-scan.md
- `retirejs_scan` — Execute — https://policylayer.com/tools/alessandroannini-kali-mcp-server/retirejs-scan.md
- `sqlmap_scan` — Execute — https://policylayer.com/tools/alessandroannini-kali-mcp-server/sqlmap-scan.md
- `testssl_scan` — Execute — https://policylayer.com/tools/alessandroannini-kali-mcp-server/testssl-scan.md
- `vpn_connect` — Execute — https://policylayer.com/tools/alessandroannini-kali-mcp-server/vpn-connect.md
- `vpn_disconnect` — Execute — https://policylayer.com/tools/alessandroannini-kali-mcp-server/vpn-disconnect.md
- `zap_scan` — Execute — https://policylayer.com/tools/alessandroannini-kali-mcp-server/zap-scan.md
- `jwt_decode` — Read — https://policylayer.com/tools/alessandroannini-kali-mcp-server/jwt-decode.md
- `security_headers_check` — Read — https://policylayer.com/tools/alessandroannini-kali-mcp-server/security-headers-check.md
- `vpn_status` — Read — https://policylayer.com/tools/alessandroannini-kali-mcp-server/vpn-status.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=alessandroannini-kali-mcp-server · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/alessandroannini-kali-mcp-server
