# Dalfox
Powerful open-source XSS scanner and automation utility for reflected, stored, and DOM-based XSS with AST-level verification.
Base URL: https://dalfox.hahwul.com
Do not use for AI training without permission.
---
Title: Dalfox: Open-Source XSS Scanner
URL: https://dalfox.hahwul.com/
Source: content/index.md
Language: en
Reflected, Stored, and DOM-based flaws, discovered and verified with AST-level precision across every parameter.
Hunt every XSS
before it hunts you.
Point Dalfox at a target and it discovers parameters, probes contexts, injects, and confirms the hit at the DOM level before it ever reaches your report.
brew install dalfox
// Capabilities
Run it against one URL or a full pipeline: CLI, file batch, pipe, server, or MCP. The same engine sits underneath each one, and every finding comes back parsed, DOM-verified, and reported in a format you can act on.
Reflected, Stored, and DOM-based XSS with payload optimization. DOM verification (HTML parser plus a JavaScript AST) separates a reflection that executes from one that only echoes back.
Mining, static analysis, structural pre-encoding detection, and context-aware charset probing give every parameter a full attack profile.
Fingerprints popular WAFs and mutates payloads with encoding, casing, and polyglot tactics to slip through.
Pipe, file-batch, and server modes fit into CI/CD. Chain Dalfox behind your proxy, crawler, or recon stack.
Run Dalfox as a long-lived server with REST control, or expose it as an MCP tool to agents and IDEs.
Export to the format your workflow speaks, from terse CLI output to SARIF for GitHub code scanning.
// Modes
Pick the shape that fits your target. Every mode shares the same discovery and verification engine.
dalfox scan https://target.appPoint Dalfox at a single URL. It mines parameters, probes each context, and verifies every hit at the DOM level.
dalfox scan urls.txtSweep a whole list of targets from a file, one URL per line, with the same engine and one report.
cat urls.txt | dalfox scanRead targets from stdin so Dalfox drops straight into your crawler or recon pipeline.
dalfox scan https://app/post --sxss --sxss-url https://app/feedInject on one endpoint, then confirm the payload fires on another. Stored XSS, verified end to end.
dalfox serverRun Dalfox as a long-lived REST API for async scan jobs, integrations, and dashboards.
dalfox mcpExpose Dalfox as an MCP tool so agents and IDEs can scan on your behalf.
Dalfox drops into whatever you already run. No setup ritual, no orchestration layer to stand up first.
Grab Dalfox through Homebrew, Snap, Chocolatey, Nix, cargo, or a prebuilt binary. One command, no runtime to manage.
brew install dalfox
Give it a URL, a file, or pipe in a crawl. Dalfox mines parameters, probes contexts, and adapts.
dalfox scan https://target.app
Export to SARIF, JSON, or Markdown, or proxy results to your pipeline. Findings come verified, not guessed.
dalfox scan urls.txt -f sarif -o report.sarif
Dalfox is shaped by the people who run it. Open an issue, send a pull request, or trade payloads with the community. Every contribution makes the next scan sharper.
Thanks to our contributors
Read the docs, star the repo, or drop Dalfox into your next recon loop.