Dalfox automates finding reflected, stored, and DOM XSS issues. It discovers parameters, probes contexts, verifies execution in parsed HTML and JavaScript, and ships as a CLI, REST server, or MCP tool.
Overview
Dalfox v3 reimplements the earlier Go tool in Rust with a focus on automation for bug bounty and security testing workflows. The scan subcommand accepts URLs, file lists, piped input, raw HTTP, or HAR captures and runs discovery, probing, and graded reporting in one pass.
Discovery covers query, body, path, header, cookie, form, and fragment parameters plus mining from the DOM, wordlists, and JSON keys. Verification uses HTML parsing and a JavaScript AST so reflections that actually execute are distinguished from benign echoes, with WAF fingerprinting and mutation options.
Output formats include plain text, JSON, JSONL, Markdown, TOML, and SARIF for CI and code scanning integrations. Additional modes expose a REST daemon and an MCP stdio server for agent-driven runs, alongside custom payload and remote wordlist support.
Prebuilt binaries are published for macOS, Linux, and Windows with install paths via Homebrew, Snap, AUR, Chocolatey, Nix, Cargo, and Docker documented in the installation guide.
Key features
- Reflected stored and DOM XSS scans
- Parameter discovery and mining
- AST-based hit verification
- WAF fingerprint and bypass tactics
- CLI REST server and MCP modes
- SARIF and JSON reporting
- Pipeline and batch URL input
- Custom payloads and wordlists
Use cases
- Automated XSS regression tests
- Bug bounty parameter fuzzing
- CI security gates on URLs
- Pentest evidence collection
- Agent-driven security tooling