Skip to main content
Glama
1mr0-tech

PwnBridge

Official
by 1mr0-tech

dast_scan

Run dynamic security scans against a live web app: OWASP ZAP spider/passive or active checks and Nuclei CVE detection run in parallel, with optional authentication, then save a consolidated report.

Instructions

Perform Dynamic Application Security Testing (DAST) against a running web application. Runs OWASP ZAP (spider + passive/active scan) and Nuclei (CVE/template detection) in parallel on the Kali machine. Supports unauthenticated and authenticated scans (HTTP Basic, Bearer token, Cookie injection, Form-based login). Generates a versioned consolidated report saved on Kali.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenNoBearer token (auth_type=bearer)
passwordNoPassword for basic or form auth
usernameNoUsername for basic or form auth
auth_typeNo"none" = unauthenticated. "basic" = HTTP Basic/Digest (username + password). "bearer" = Authorization: Bearer <token>. "cookie" = Cookie header injection. "form" = form-based login via ZAP Automation Framework.none
login_urlNoLogin page URL (auth_type=form)
scan_typeNo"baseline" = passive spider + passive scan (fast, non-intrusive). "full" = full active scan with attack payloads (thorough, slower). "api" = API-focused scan (uses zap-api-scan.py)baseline
run_nucleiNoRun Nuclei for CVE and template-based detection in parallel with ZAP.
target_urlYesTarget web application URL. Example: "http://192.168.1.10" or "https://app.example.com"
ajax_spiderNoEnable AJAX spider for Single Page Applications (React, Angular, Vue). Slower but finds more endpoints.
cookie_valueNoFull Cookie header value, e.g. "sessionid=abc123; csrftoken=xyz" (auth_type=cookie)
password_fieldNoForm field name for password (auth_type=form). Default: "password"
username_fieldNoForm field name for username (auth_type=form). Default: "username"
login_success_regexNoRegex to detect successful login in response body (auth_type=form). Default: "logout"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the parallel execution model (ZAP + Nuclei), the underlying machine (Kali), the auth support matrix, and the output as a 'versioned consolidated report saved on Kali.' It doesn't mention scan duration, rate limits, or whether it requires the target to be reachable from the Kali machine, but the operational profile is substantially richer than average.

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

Conciseness4/5

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

Four sentences, front-loaded with the core action, then engines, then auth, then output. No filler and each sentence adds incremental information. Slightly dense but well-organized.

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?

For a complex 13-param tool with no annotations and no output schema, the description covers what the tool does, its engines, auth options, and output location. It does not need to explain return values (report is saved, not returned) and the schema handles parameters. Minor gaps around sibling selection and failure modes remain.

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 all 13 parameters in detail, including enums and defaults. The description adds the auth-mode summary ('HTTP Basic, Bearer token, Cookie injection, Form-based login') and names the two engines, but this is largely redundant with the schema. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource: 'Perform Dynamic Application Security Testing (DAST) against a running web application.' It further distinguishes itself by naming the exact toolchain (OWASP ZAP spider + passive/active scan, Nuclei) and scope (running web app). Against siblings like nmap_scan, nikto_scan, or sqlmap_scan, the function is clearly differentiated.

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

Usage Guidelines3/5

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

The description implies usage for a running web application and lists supported auth modes, but never explicitly states when to choose this over siblings like nikto_scan or sqlmap_scan, nor when-not to use it. For an agent selecting among ten security scan tools, this is a meaningful gap.

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