Documentation Index
Fetch the complete documentation index at: https://mintlify.com/DevDonzo/warden/llms.txt
Use this file to discover all available pages before exploring further.
warden dast performs Dynamic Application Security Testing (DAST) against a live, pre-authorized target. Unlike warden scan, which performs static analysis of source code, DAST actively probes a running host for network-level vulnerabilities using Nmap for port and service discovery and Metasploit for exploit verification. Results are written to scan-results/dast/ and surfaced as advisory pull requests rather than auto-fix PRs — you remain in control of every remediation decision.
Synopsis
Arguments
The target URL or host to scan. This value must exactly match a
url entry inside the dast.targets array in .wardenrc.json, and that entry must have authorized: true. If the target is not found or not authorized, Warden exits immediately with code 1.Flags
Disable Metasploit and run only the Nmap port/service scan. Useful for initial reconnaissance or when Metasploit is not installed.
Disable Nmap and run only the Metasploit exploit-verification scan. Use when you already have port data and want to probe specific services.
Preview the DAST scan pipeline without actually sending probes to the target or creating advisory PRs. The target must still be configured and authorized.
Skip the interactive safety confirmation prompt. Not recommended for production use. Suitable only for non-interactive CI pipelines where the operator has independently verified authorization.
Enable verbose debug logging including scanner stdout, timing information, and orchestrator steps.
Prerequisites
Before runningwarden dast, ensure your .wardenrc.json contains a valid dast section:
If
dast.enabled is false in your configuration, the command exits immediately with an error and instructions to enable it. If no dast section exists at all, run warden config --create to generate a default configuration file and then add your targets.Examples
Output and artifacts
DAST results differ from SAST results in an important way: Warden does not attempt to auto-fix infrastructure-level vulnerabilities. Instead it:- Writes raw scanner output to
scan-results/dast/ - Generates a
SECURITY-ADVISORY.mdfile describing the findings - Opens an advisory pull request (branch prefix:
warden/dast-advisory) so the findings are visible to your team and actionable through your normal review process
Exit codes
| Code | Meaning |
|---|---|
0 | DAST scan completed successfully |
1 | Fatal error — misconfiguration, unauthorized target, or scanner failure |