Hunt every XSS
before it hunts you.

Dalfox is a powerful open-source XSS scanner and automation utility. Reflected, Stored, DOM-based — discovered, verified, and reported with AST-level precision across every parameter in your app.

$ brew install dalfox
dalfox — scan
$dalfox scan https://target.app/search?q=test
INFO Parameter analysis · mining 24 params
INFO Static/BAV · charset, WAF, reflection
INFO Launching XSS payloads · 2,318 tests
VERIFY[V] param=q · html-context
↳ <svg/onload=alert(1)>
REFLECT[R] param=callback · js-context
↳ ";alert(1);//
✓ 2 vulnerabilities verified in 4.12s
6 Scan Modes
AST DOM Verification
MCP AI Ready
OSS MIT Licensed

// Capabilities

Everything you need to catch cross-site scripting

From a single URL to full pipelines, Dalfox adapts to how you work — CLI, file batch, pipe, server mode, or MCP. Every finding is parsed, verified, and reported with context you can act on.

Deep XSS discovery

Reflected, Stored, and DOM-based XSS with payload optimization. AST-backed DOM verification means no more false positives from blind reflections.

reflected stored dom ast-verify

Parameter intelligence

Mining, static analysis, BAV testing, and context-aware charset probing — every parameter gets a full attack profile.

WAF aware

Fingerprints popular WAFs and mutates payloads with encoding, casing, and polyglot tactics to slip through.

Built for pipelines

Pipe, file-batch, and server modes drop into CI/CD. Pair with your proxy, crawler, or recon stack without friction.

REST API & MCP

Run Dalfox as a long-lived server with REST control, or expose it as an MCP tool to agents and IDEs.

Reports you can ship

Export to the format your workflow speaks — from terse CLI output to SARIF for GitHub code scanning.

JSON JSONL Markdown SARIF TOML Plain Silence

// Modes

Six ways to run Dalfox

Pick the shape that fits your target. Every mode shares the same discovery and verification engine.

URL
Single target scan
FILE
Batch from list
PIPE
stdin pipeline
SXSS
Stored XSS
SERVER
REST + daemon
MCP
Agent-native

// Workflow

From install to verified finding in three steps

Dalfox is designed to drop into whatever you already have — no fancy setup, no heavy orchestration.

Install

Grab Dalfox through Homebrew, Snap, Nix, cargo, or a prebuilt binary. One command, no runtime to manage.

brew install dalfox

Point at a target

Give it a URL, a file, or pipe in a crawl. Dalfox mines parameters, probes contexts, and adapts.

dalfox scan https://target.app

Ship the findings

Export to SARIF, JSON, or Markdown, or proxy results to your pipeline. Findings come verified, not guessed.

dalfox scan urls.txt -o report.sarif

Ready to hunt?

Thousands of scans, zero fuss. Star the repo, read the docs, or drop Dalfox in your next recon loop.

Thanks to our contributors

Contributors
ESC