Looking for the Go (v2.x) version? Dalfox v3 is a complete rewrite in Rust. The Go codebase is preserved on the
v2branch and continues to receive security backports. See SECURITY.md for the support policy.
Dalfox is a powerful open-source tool that focuses on automation, making it ideal for quickly scanning for XSS flaws and analyzing parameters. Its advanced testing engine and niche features are designed to streamline the process of detecting and verifying vulnerabilities.
- Subcommands:
scan(URL / file / pipe / raw-HTTP, auto-detected),server,payload,mcp - Discovery: Parameter analysis, static analysis, BAV testing, parameter mining
- XSS Scanning: Reflected, Stored (SXSS), DOM-based, with optimization and DOM/AST verification
- WAF: Fingerprinting with confidence scoring, bypass tracking, and tunable
--waf-min-confidence - HTTP Options: Custom headers, cookies, methods, proxy, and more
- Output: JSON/JSONL/Plain/Markdown/SARIF/TOML formats, silence mode, detailed reports
- Extensibility: REST API, MCP stdio server, custom payloads, remote wordlists
And the various options required for the testing :D
brew install dalfox
# https://formulae.brew.sh/formula/dalfoxsudo snap install dalfoxA package is available for Nix or NixOS users. Keep in mind that the latest releases might only
be present in the unstable channel.
nix-shell -p dalfoxFor Nix users with flakes enabled:
# Run directly
nix run github:hahwul/dalfox -- scan https://example.com
# Install
nix profile install github:hahwul/dalfox
# Development environment
nix develop github:hahwul/dalfoxSee Installation guide for details.
dalfox [mode] [target] [flags]- Single URL:
dalfox url http://example.com -b https://callback - File Mode:
dalfox file urls.txt --custom-payload mypayloads.txt - Pipeline:
cat urls.txt | dalfox pipe -H "AuthToken: xxx"
Check the Usage and Running documents for more examples.
if you want to contribute to this project, please see CONTRIBUTING.md and Pull-Request with cool your contents.
As for the name, Dal(λ¬) is the Korean word for "moon," while "Fox" stands for "Finder Of XSS" or π¦