Dalfox
$ dalfox Official High RiskDalfox (dalfox) is a Go-based parameter analysis and XSS vulnerability scanner supporting single URLs (dalfox url), URL lists (dalfox file), and stdin pipes (dalfox pipe). Offers --format json, --silence, --no-color, and --only-discovery to run headlessly in security pipelines.
brew install dalfox dalfox performs active HTTP parameter fuzzing and XSS verification locally against authorized web targets.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --format json, --silence, --no-color, and pipe-based input cleanly without interactive prompts.
- Native
--format jsonand--silenceflags - Supports stdin
dalfox pipeworkflows
Active DAST scanner that injects XSS payloads into remote forms/endpoints (stored XSS payloads can persist on targets), though --only-discovery limits aggressiveness.
- Sends active XSS payloads to target URLs
- Provides
--only-discoveryto limit to reflection checks
Single static Go binary available via brew, go install, Docker, and GitHub releases.
- Cross-platform Go binary for macOS, Linux, and Windows
Focused, fast XSS/parameter analyzer that replaces ad-hoc curl fuzzing scripts.
- Automated reflection, DOM, and blind XSS testing
Maintained by hahwul (hahwul/dalfox) under MIT license.
- Established open-source repository under MIT
Clear documentation site and subcommand --help examples.
- Docs site at dalfox.hahwul.com/docs/home/
Security, Auth & Guardrails
No local credential store; optional target session cookies or auth headers are passed via -C or -H.
MIT open-source CLI; free to run locally.
# Dalfox (dalfox) Agent Rules - Only run against staging or explicitly authorized targets. - Use `--only-discovery --silence --format json` first before running active XSS payload testing.
Agent-Ready Command Recipes
Safe Read-Only Queries
dalfox url "https://staging.example.com/search?q=test" --only-discovery --silence --format json
Checks reflected parameters on a staging URL using --only-discovery and emits JSON without injecting exploit payloads.
Controlled Writes & Previews
dalfox file urls.txt --silence --no-color --format json -o xss-findings.json
Tests URLs in urls.txt with XSS payloads and writes structured JSON findings to xss-findings.json.
Strengths for Agents
- + Clean
--format json --silence --no-colorpipeline support. - +
--only-discoverylets agents verify parameter reflection before launching active payloads.
Caveats & Pitfalls
- ! Active XSS probing can trigger WAF blocks or store persistent test scripts on stateful endpoints.
- ! Always check
--blindcallback URLs carefully so targets are not pointed at untrusted external listeners.